mirror of
https://github.com/liabru/matter-js.git
synced 2024-11-24 09:36:48 -05:00
3001 lines
No EOL
38 KiB
JSON
3001 lines
No EOL
38 KiB
JSON
[
|
|
{
|
|
"bodies": {
|
|
"#": 1
|
|
},
|
|
"bounds": {
|
|
"#": 182
|
|
},
|
|
"composites": {
|
|
"#": 185
|
|
},
|
|
"constraints": {
|
|
"#": 316
|
|
},
|
|
"gravity": {
|
|
"#": 329
|
|
},
|
|
"id": 19,
|
|
"isModified": true,
|
|
"label": "World",
|
|
"parent": "",
|
|
"type": "composite"
|
|
},
|
|
[
|
|
{
|
|
"#": 2
|
|
},
|
|
{
|
|
"#": 23
|
|
},
|
|
{
|
|
"#": 44
|
|
},
|
|
{
|
|
"#": 65
|
|
},
|
|
{
|
|
"#": 86
|
|
},
|
|
{
|
|
"#": 107
|
|
},
|
|
{
|
|
"#": 128
|
|
}
|
|
],
|
|
{
|
|
"angle": 0,
|
|
"anglePrev": 0,
|
|
"angularSpeed": 0,
|
|
"angularVelocity": 0,
|
|
"area": 40930.25,
|
|
"axes": {
|
|
"#": 3
|
|
},
|
|
"bounds": {
|
|
"#": 6
|
|
},
|
|
"collisionFilter": {
|
|
"#": 9
|
|
},
|
|
"constraintImpulse": {
|
|
"#": 10
|
|
},
|
|
"density": {
|
|
"#.": "Number",
|
|
"#v": [
|
|
"Infinity"
|
|
]
|
|
},
|
|
"force": {
|
|
"#": 11
|
|
},
|
|
"friction": 1,
|
|
"frictionAir": 0.01,
|
|
"frictionStatic": 0.5,
|
|
"id": 0,
|
|
"inertia": {
|
|
"#.": "Number",
|
|
"#v": [
|
|
"Infinity"
|
|
]
|
|
},
|
|
"inverseInertia": 0,
|
|
"inverseMass": 0,
|
|
"isSensor": false,
|
|
"isSleeping": false,
|
|
"isStatic": true,
|
|
"label": "Rectangle Body",
|
|
"mass": {
|
|
"#.": "Number",
|
|
"#v": [
|
|
"Infinity"
|
|
]
|
|
},
|
|
"motion": 0,
|
|
"parent": null,
|
|
"position": {
|
|
"#": 12
|
|
},
|
|
"positionImpulse": {
|
|
"#": 13
|
|
},
|
|
"positionPrev": {
|
|
"#": 14
|
|
},
|
|
"render": {
|
|
"#": 15
|
|
},
|
|
"restitution": 0,
|
|
"sleepCounter": 0,
|
|
"sleepThreshold": 60,
|
|
"slop": 0.05,
|
|
"speed": 0,
|
|
"timeScale": 1,
|
|
"torque": 0,
|
|
"totalContacts": 0,
|
|
"type": "body",
|
|
"velocity": {
|
|
"#": 17
|
|
},
|
|
"vertices": {
|
|
"#": 18
|
|
}
|
|
},
|
|
[
|
|
{
|
|
"#": 4
|
|
},
|
|
{
|
|
"#": 5
|
|
}
|
|
],
|
|
{
|
|
"x": 0,
|
|
"y": 1
|
|
},
|
|
{
|
|
"x": -1,
|
|
"y": 0
|
|
},
|
|
{
|
|
"max": {
|
|
"#": 7
|
|
},
|
|
"min": {
|
|
"#": 8
|
|
}
|
|
},
|
|
{
|
|
"x": 805.25,
|
|
"y": 20.25
|
|
},
|
|
{
|
|
"x": -5.25,
|
|
"y": -30.25
|
|
},
|
|
{
|
|
"category": 1,
|
|
"group": 0,
|
|
"mask": 4294967295
|
|
},
|
|
{
|
|
"angle": 0,
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
{
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
{
|
|
"x": 400,
|
|
"y": -5
|
|
},
|
|
{
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
{
|
|
"x": 400,
|
|
"y": -5
|
|
},
|
|
{
|
|
"fillStyle": "#eeeeee",
|
|
"lineWidth": 1.5,
|
|
"opacity": 1,
|
|
"sprite": {
|
|
"#": 16
|
|
},
|
|
"strokeStyle": "#bbbbbb",
|
|
"visible": true
|
|
},
|
|
{
|
|
"xOffset": 0.5,
|
|
"xScale": 1,
|
|
"yOffset": 0.5,
|
|
"yScale": 1
|
|
},
|
|
{
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
[
|
|
{
|
|
"#": 19
|
|
},
|
|
{
|
|
"#": 20
|
|
},
|
|
{
|
|
"#": 21
|
|
},
|
|
{
|
|
"#": 22
|
|
}
|
|
],
|
|
{
|
|
"body": null,
|
|
"index": 0,
|
|
"isInternal": false,
|
|
"x": -5.25,
|
|
"y": -30.25
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 1,
|
|
"isInternal": false,
|
|
"x": 805.25,
|
|
"y": -30.25
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 2,
|
|
"isInternal": false,
|
|
"x": 805.25,
|
|
"y": 20.25
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 3,
|
|
"isInternal": false,
|
|
"x": -5.25,
|
|
"y": 20.25
|
|
},
|
|
{
|
|
"angle": 0,
|
|
"anglePrev": 0,
|
|
"angularSpeed": 0,
|
|
"angularVelocity": 0,
|
|
"area": 40930.25,
|
|
"axes": {
|
|
"#": 24
|
|
},
|
|
"bounds": {
|
|
"#": 27
|
|
},
|
|
"collisionFilter": {
|
|
"#": 30
|
|
},
|
|
"constraintImpulse": {
|
|
"#": 31
|
|
},
|
|
"density": {
|
|
"#.": "Number",
|
|
"#v": [
|
|
"Infinity"
|
|
]
|
|
},
|
|
"force": {
|
|
"#": 32
|
|
},
|
|
"friction": 1,
|
|
"frictionAir": 0.01,
|
|
"frictionStatic": 0.5,
|
|
"id": 1,
|
|
"inertia": {
|
|
"#.": "Number",
|
|
"#v": [
|
|
"Infinity"
|
|
]
|
|
},
|
|
"inverseInertia": 0,
|
|
"inverseMass": 0,
|
|
"isSensor": false,
|
|
"isSleeping": false,
|
|
"isStatic": true,
|
|
"label": "Rectangle Body",
|
|
"mass": {
|
|
"#.": "Number",
|
|
"#v": [
|
|
"Infinity"
|
|
]
|
|
},
|
|
"motion": 0,
|
|
"parent": null,
|
|
"position": {
|
|
"#": 33
|
|
},
|
|
"positionImpulse": {
|
|
"#": 34
|
|
},
|
|
"positionPrev": {
|
|
"#": 35
|
|
},
|
|
"render": {
|
|
"#": 36
|
|
},
|
|
"restitution": 0,
|
|
"sleepCounter": 0,
|
|
"sleepThreshold": 60,
|
|
"slop": 0.05,
|
|
"speed": 0,
|
|
"timeScale": 1,
|
|
"torque": 0,
|
|
"totalContacts": 0,
|
|
"type": "body",
|
|
"velocity": {
|
|
"#": 38
|
|
},
|
|
"vertices": {
|
|
"#": 39
|
|
}
|
|
},
|
|
[
|
|
{
|
|
"#": 25
|
|
},
|
|
{
|
|
"#": 26
|
|
}
|
|
],
|
|
{
|
|
"x": 0,
|
|
"y": 1
|
|
},
|
|
{
|
|
"x": -1,
|
|
"y": 0
|
|
},
|
|
{
|
|
"max": {
|
|
"#": 28
|
|
},
|
|
"min": {
|
|
"#": 29
|
|
}
|
|
},
|
|
{
|
|
"x": 805.25,
|
|
"y": 630.25
|
|
},
|
|
{
|
|
"x": -5.25,
|
|
"y": 579.75
|
|
},
|
|
{
|
|
"category": 1,
|
|
"group": 0,
|
|
"mask": 4294967295
|
|
},
|
|
{
|
|
"angle": 0,
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
{
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
{
|
|
"x": 400,
|
|
"y": 605
|
|
},
|
|
{
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
{
|
|
"x": 400,
|
|
"y": 605
|
|
},
|
|
{
|
|
"fillStyle": "#eeeeee",
|
|
"lineWidth": 1.5,
|
|
"opacity": 1,
|
|
"sprite": {
|
|
"#": 37
|
|
},
|
|
"strokeStyle": "#bbbbbb",
|
|
"visible": true
|
|
},
|
|
{
|
|
"xOffset": 0.5,
|
|
"xScale": 1,
|
|
"yOffset": 0.5,
|
|
"yScale": 1
|
|
},
|
|
{
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
[
|
|
{
|
|
"#": 40
|
|
},
|
|
{
|
|
"#": 41
|
|
},
|
|
{
|
|
"#": 42
|
|
},
|
|
{
|
|
"#": 43
|
|
}
|
|
],
|
|
{
|
|
"body": null,
|
|
"index": 0,
|
|
"isInternal": false,
|
|
"x": -5.25,
|
|
"y": 579.75
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 1,
|
|
"isInternal": false,
|
|
"x": 805.25,
|
|
"y": 579.75
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 2,
|
|
"isInternal": false,
|
|
"x": 805.25,
|
|
"y": 630.25
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 3,
|
|
"isInternal": false,
|
|
"x": -5.25,
|
|
"y": 630.25
|
|
},
|
|
{
|
|
"angle": 0,
|
|
"anglePrev": 0,
|
|
"angularSpeed": 0,
|
|
"angularVelocity": 0,
|
|
"area": 30830.25,
|
|
"axes": {
|
|
"#": 45
|
|
},
|
|
"bounds": {
|
|
"#": 48
|
|
},
|
|
"collisionFilter": {
|
|
"#": 51
|
|
},
|
|
"constraintImpulse": {
|
|
"#": 52
|
|
},
|
|
"density": {
|
|
"#.": "Number",
|
|
"#v": [
|
|
"Infinity"
|
|
]
|
|
},
|
|
"force": {
|
|
"#": 53
|
|
},
|
|
"friction": 1,
|
|
"frictionAir": 0.01,
|
|
"frictionStatic": 0.5,
|
|
"id": 2,
|
|
"inertia": {
|
|
"#.": "Number",
|
|
"#v": [
|
|
"Infinity"
|
|
]
|
|
},
|
|
"inverseInertia": 0,
|
|
"inverseMass": 0,
|
|
"isSensor": false,
|
|
"isSleeping": false,
|
|
"isStatic": true,
|
|
"label": "Rectangle Body",
|
|
"mass": {
|
|
"#.": "Number",
|
|
"#v": [
|
|
"Infinity"
|
|
]
|
|
},
|
|
"motion": 0,
|
|
"parent": null,
|
|
"position": {
|
|
"#": 54
|
|
},
|
|
"positionImpulse": {
|
|
"#": 55
|
|
},
|
|
"positionPrev": {
|
|
"#": 56
|
|
},
|
|
"render": {
|
|
"#": 57
|
|
},
|
|
"restitution": 0,
|
|
"sleepCounter": 0,
|
|
"sleepThreshold": 60,
|
|
"slop": 0.05,
|
|
"speed": 0,
|
|
"timeScale": 1,
|
|
"torque": 0,
|
|
"totalContacts": 0,
|
|
"type": "body",
|
|
"velocity": {
|
|
"#": 59
|
|
},
|
|
"vertices": {
|
|
"#": 60
|
|
}
|
|
},
|
|
[
|
|
{
|
|
"#": 46
|
|
},
|
|
{
|
|
"#": 47
|
|
}
|
|
],
|
|
{
|
|
"x": 0,
|
|
"y": 1
|
|
},
|
|
{
|
|
"x": -1,
|
|
"y": 0
|
|
},
|
|
{
|
|
"max": {
|
|
"#": 49
|
|
},
|
|
"min": {
|
|
"#": 50
|
|
}
|
|
},
|
|
{
|
|
"x": 830.25,
|
|
"y": 605.25
|
|
},
|
|
{
|
|
"x": 779.75,
|
|
"y": -5.25
|
|
},
|
|
{
|
|
"category": 1,
|
|
"group": 0,
|
|
"mask": 4294967295
|
|
},
|
|
{
|
|
"angle": 0,
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
{
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
{
|
|
"x": 805,
|
|
"y": 300
|
|
},
|
|
{
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
{
|
|
"x": 805,
|
|
"y": 300
|
|
},
|
|
{
|
|
"fillStyle": "#eeeeee",
|
|
"lineWidth": 1.5,
|
|
"opacity": 1,
|
|
"sprite": {
|
|
"#": 58
|
|
},
|
|
"strokeStyle": "#bbbbbb",
|
|
"visible": true
|
|
},
|
|
{
|
|
"xOffset": 0.5,
|
|
"xScale": 1,
|
|
"yOffset": 0.5,
|
|
"yScale": 1
|
|
},
|
|
{
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
[
|
|
{
|
|
"#": 61
|
|
},
|
|
{
|
|
"#": 62
|
|
},
|
|
{
|
|
"#": 63
|
|
},
|
|
{
|
|
"#": 64
|
|
}
|
|
],
|
|
{
|
|
"body": null,
|
|
"index": 0,
|
|
"isInternal": false,
|
|
"x": 779.75,
|
|
"y": -5.25
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 1,
|
|
"isInternal": false,
|
|
"x": 830.25,
|
|
"y": -5.25
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 2,
|
|
"isInternal": false,
|
|
"x": 830.25,
|
|
"y": 605.25
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 3,
|
|
"isInternal": false,
|
|
"x": 779.75,
|
|
"y": 605.25
|
|
},
|
|
{
|
|
"angle": 0,
|
|
"anglePrev": 0,
|
|
"angularSpeed": 0,
|
|
"angularVelocity": 0,
|
|
"area": 30830.25,
|
|
"axes": {
|
|
"#": 66
|
|
},
|
|
"bounds": {
|
|
"#": 69
|
|
},
|
|
"collisionFilter": {
|
|
"#": 72
|
|
},
|
|
"constraintImpulse": {
|
|
"#": 73
|
|
},
|
|
"density": {
|
|
"#.": "Number",
|
|
"#v": [
|
|
"Infinity"
|
|
]
|
|
},
|
|
"force": {
|
|
"#": 74
|
|
},
|
|
"friction": 1,
|
|
"frictionAir": 0.01,
|
|
"frictionStatic": 0.5,
|
|
"id": 3,
|
|
"inertia": {
|
|
"#.": "Number",
|
|
"#v": [
|
|
"Infinity"
|
|
]
|
|
},
|
|
"inverseInertia": 0,
|
|
"inverseMass": 0,
|
|
"isSensor": false,
|
|
"isSleeping": false,
|
|
"isStatic": true,
|
|
"label": "Rectangle Body",
|
|
"mass": {
|
|
"#.": "Number",
|
|
"#v": [
|
|
"Infinity"
|
|
]
|
|
},
|
|
"motion": 0,
|
|
"parent": null,
|
|
"position": {
|
|
"#": 75
|
|
},
|
|
"positionImpulse": {
|
|
"#": 76
|
|
},
|
|
"positionPrev": {
|
|
"#": 77
|
|
},
|
|
"render": {
|
|
"#": 78
|
|
},
|
|
"restitution": 0,
|
|
"sleepCounter": 0,
|
|
"sleepThreshold": 60,
|
|
"slop": 0.05,
|
|
"speed": 0,
|
|
"timeScale": 1,
|
|
"torque": 0,
|
|
"totalContacts": 0,
|
|
"type": "body",
|
|
"velocity": {
|
|
"#": 80
|
|
},
|
|
"vertices": {
|
|
"#": 81
|
|
}
|
|
},
|
|
[
|
|
{
|
|
"#": 67
|
|
},
|
|
{
|
|
"#": 68
|
|
}
|
|
],
|
|
{
|
|
"x": 0,
|
|
"y": 1
|
|
},
|
|
{
|
|
"x": -1,
|
|
"y": 0
|
|
},
|
|
{
|
|
"max": {
|
|
"#": 70
|
|
},
|
|
"min": {
|
|
"#": 71
|
|
}
|
|
},
|
|
{
|
|
"x": 20.25,
|
|
"y": 605.25
|
|
},
|
|
{
|
|
"x": -30.25,
|
|
"y": -5.25
|
|
},
|
|
{
|
|
"category": 1,
|
|
"group": 0,
|
|
"mask": 4294967295
|
|
},
|
|
{
|
|
"angle": 0,
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
{
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
{
|
|
"x": -5,
|
|
"y": 300
|
|
},
|
|
{
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
{
|
|
"x": -5,
|
|
"y": 300
|
|
},
|
|
{
|
|
"fillStyle": "#eeeeee",
|
|
"lineWidth": 1.5,
|
|
"opacity": 1,
|
|
"sprite": {
|
|
"#": 79
|
|
},
|
|
"strokeStyle": "#bbbbbb",
|
|
"visible": true
|
|
},
|
|
{
|
|
"xOffset": 0.5,
|
|
"xScale": 1,
|
|
"yOffset": 0.5,
|
|
"yScale": 1
|
|
},
|
|
{
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
[
|
|
{
|
|
"#": 82
|
|
},
|
|
{
|
|
"#": 83
|
|
},
|
|
{
|
|
"#": 84
|
|
},
|
|
{
|
|
"#": 85
|
|
}
|
|
],
|
|
{
|
|
"body": null,
|
|
"index": 0,
|
|
"isInternal": false,
|
|
"x": -30.25,
|
|
"y": -5.25
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 1,
|
|
"isInternal": false,
|
|
"x": 20.25,
|
|
"y": -5.25
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 2,
|
|
"isInternal": false,
|
|
"x": 20.25,
|
|
"y": 605.25
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 3,
|
|
"isInternal": false,
|
|
"x": -30.25,
|
|
"y": 605.25
|
|
},
|
|
{
|
|
"angle": 0,
|
|
"anglePrev": 0,
|
|
"angularSpeed": 0,
|
|
"angularVelocity": 0,
|
|
"area": 6400,
|
|
"axes": {
|
|
"#": 87
|
|
},
|
|
"bounds": {
|
|
"#": 90
|
|
},
|
|
"collisionFilter": {
|
|
"#": 93
|
|
},
|
|
"constraintImpulse": {
|
|
"#": 94
|
|
},
|
|
"density": 0.001,
|
|
"force": {
|
|
"#": 95
|
|
},
|
|
"friction": 0.1,
|
|
"frictionAir": 0.01,
|
|
"frictionStatic": 0.5,
|
|
"id": 11,
|
|
"inertia": 219306.66667,
|
|
"inverseInertia": 0,
|
|
"inverseMass": 0.15625,
|
|
"isSensor": false,
|
|
"isSleeping": false,
|
|
"isStatic": false,
|
|
"label": "Rectangle Body",
|
|
"mass": 6.4,
|
|
"motion": 0,
|
|
"parent": null,
|
|
"position": {
|
|
"#": 96
|
|
},
|
|
"positionImpulse": {
|
|
"#": 97
|
|
},
|
|
"positionPrev": {
|
|
"#": 98
|
|
},
|
|
"render": {
|
|
"#": 99
|
|
},
|
|
"restitution": 0,
|
|
"sleepCounter": 0,
|
|
"sleepThreshold": 60,
|
|
"slop": 0.05,
|
|
"speed": 0,
|
|
"timeScale": 1,
|
|
"torque": 0,
|
|
"totalContacts": 0,
|
|
"type": "body",
|
|
"velocity": {
|
|
"#": 101
|
|
},
|
|
"vertices": {
|
|
"#": 102
|
|
}
|
|
},
|
|
[
|
|
{
|
|
"#": 88
|
|
},
|
|
{
|
|
"#": 89
|
|
}
|
|
],
|
|
{
|
|
"x": 0,
|
|
"y": 1
|
|
},
|
|
{
|
|
"x": -1,
|
|
"y": 0
|
|
},
|
|
{
|
|
"max": {
|
|
"#": 91
|
|
},
|
|
"min": {
|
|
"#": 92
|
|
}
|
|
},
|
|
{
|
|
"x": 560,
|
|
"y": 530
|
|
},
|
|
{
|
|
"x": 240,
|
|
"y": 510
|
|
},
|
|
{
|
|
"category": 1,
|
|
"group": 0,
|
|
"mask": 4294967295
|
|
},
|
|
{
|
|
"angle": 0,
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
{
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
{
|
|
"x": 400,
|
|
"y": 520
|
|
},
|
|
{
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
{
|
|
"x": 400,
|
|
"y": 520
|
|
},
|
|
{
|
|
"fillStyle": "#4ECDC4",
|
|
"lineWidth": 1.5,
|
|
"opacity": 1,
|
|
"sprite": {
|
|
"#": 100
|
|
},
|
|
"strokeStyle": "#1b9a91",
|
|
"visible": true
|
|
},
|
|
{
|
|
"xOffset": 0.5,
|
|
"xScale": 1,
|
|
"yOffset": 0.5,
|
|
"yScale": 1
|
|
},
|
|
{
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
[
|
|
{
|
|
"#": 103
|
|
},
|
|
{
|
|
"#": 104
|
|
},
|
|
{
|
|
"#": 105
|
|
},
|
|
{
|
|
"#": 106
|
|
}
|
|
],
|
|
{
|
|
"body": null,
|
|
"index": 0,
|
|
"isInternal": false,
|
|
"x": 240,
|
|
"y": 510
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 1,
|
|
"isInternal": false,
|
|
"x": 560,
|
|
"y": 510
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 2,
|
|
"isInternal": false,
|
|
"x": 560,
|
|
"y": 530
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 3,
|
|
"isInternal": false,
|
|
"x": 240,
|
|
"y": 530
|
|
},
|
|
{
|
|
"angle": 0,
|
|
"anglePrev": 0,
|
|
"angularSpeed": 0,
|
|
"angularVelocity": 0,
|
|
"area": 1000,
|
|
"axes": {
|
|
"#": 108
|
|
},
|
|
"bounds": {
|
|
"#": 111
|
|
},
|
|
"collisionFilter": {
|
|
"#": 114
|
|
},
|
|
"constraintImpulse": {
|
|
"#": 115
|
|
},
|
|
"density": {
|
|
"#.": "Number",
|
|
"#v": [
|
|
"Infinity"
|
|
]
|
|
},
|
|
"force": {
|
|
"#": 116
|
|
},
|
|
"friction": 1,
|
|
"frictionAir": 0.01,
|
|
"frictionStatic": 0.5,
|
|
"id": 12,
|
|
"inertia": {
|
|
"#.": "Number",
|
|
"#v": [
|
|
"Infinity"
|
|
]
|
|
},
|
|
"inverseInertia": 0,
|
|
"inverseMass": 0,
|
|
"isSensor": false,
|
|
"isSleeping": false,
|
|
"isStatic": true,
|
|
"label": "Rectangle Body",
|
|
"mass": {
|
|
"#.": "Number",
|
|
"#v": [
|
|
"Infinity"
|
|
]
|
|
},
|
|
"motion": 0,
|
|
"parent": null,
|
|
"position": {
|
|
"#": 117
|
|
},
|
|
"positionImpulse": {
|
|
"#": 118
|
|
},
|
|
"positionPrev": {
|
|
"#": 119
|
|
},
|
|
"render": {
|
|
"#": 120
|
|
},
|
|
"restitution": 0,
|
|
"sleepCounter": 0,
|
|
"sleepThreshold": 60,
|
|
"slop": 0.05,
|
|
"speed": 0,
|
|
"timeScale": 1,
|
|
"torque": 0,
|
|
"totalContacts": 0,
|
|
"type": "body",
|
|
"velocity": {
|
|
"#": 122
|
|
},
|
|
"vertices": {
|
|
"#": 123
|
|
}
|
|
},
|
|
[
|
|
{
|
|
"#": 109
|
|
},
|
|
{
|
|
"#": 110
|
|
}
|
|
],
|
|
{
|
|
"x": 0,
|
|
"y": 1
|
|
},
|
|
{
|
|
"x": -1,
|
|
"y": 0
|
|
},
|
|
{
|
|
"max": {
|
|
"#": 112
|
|
},
|
|
"min": {
|
|
"#": 113
|
|
}
|
|
},
|
|
{
|
|
"x": 260,
|
|
"y": 580
|
|
},
|
|
{
|
|
"x": 240,
|
|
"y": 530
|
|
},
|
|
{
|
|
"category": 1,
|
|
"group": 0,
|
|
"mask": 4294967295
|
|
},
|
|
{
|
|
"angle": 0,
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
{
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
{
|
|
"x": 250,
|
|
"y": 555
|
|
},
|
|
{
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
{
|
|
"x": 250,
|
|
"y": 555
|
|
},
|
|
{
|
|
"fillStyle": "#eeeeee",
|
|
"lineWidth": 1.5,
|
|
"opacity": 1,
|
|
"sprite": {
|
|
"#": 121
|
|
},
|
|
"strokeStyle": "#bbbbbb",
|
|
"visible": true
|
|
},
|
|
{
|
|
"xOffset": 0.5,
|
|
"xScale": 1,
|
|
"yOffset": 0.5,
|
|
"yScale": 1
|
|
},
|
|
{
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
[
|
|
{
|
|
"#": 124
|
|
},
|
|
{
|
|
"#": 125
|
|
},
|
|
{
|
|
"#": 126
|
|
},
|
|
{
|
|
"#": 127
|
|
}
|
|
],
|
|
{
|
|
"body": null,
|
|
"index": 0,
|
|
"isInternal": false,
|
|
"x": 240,
|
|
"y": 530
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 1,
|
|
"isInternal": false,
|
|
"x": 260,
|
|
"y": 530
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 2,
|
|
"isInternal": false,
|
|
"x": 260,
|
|
"y": 580
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 3,
|
|
"isInternal": false,
|
|
"x": 240,
|
|
"y": 580
|
|
},
|
|
{
|
|
"angle": 0,
|
|
"anglePrev": 0,
|
|
"angularSpeed": 0,
|
|
"angularVelocity": 0,
|
|
"area": 7777.74467,
|
|
"axes": {
|
|
"#": 129
|
|
},
|
|
"bounds": {
|
|
"#": 143
|
|
},
|
|
"circleRadius": 50,
|
|
"collisionFilter": {
|
|
"#": 146
|
|
},
|
|
"constraintImpulse": {
|
|
"#": 147
|
|
},
|
|
"density": 0.005,
|
|
"force": {
|
|
"#": 148
|
|
},
|
|
"friction": 0.1,
|
|
"frictionAir": 0.01,
|
|
"frictionStatic": 0.5,
|
|
"id": 13,
|
|
"inertia": 192559.86687,
|
|
"inverseInertia": 0.00001,
|
|
"inverseMass": 0.02571,
|
|
"isSensor": false,
|
|
"isSleeping": false,
|
|
"isStatic": false,
|
|
"label": "Circle Body",
|
|
"mass": 38.88872,
|
|
"motion": 0,
|
|
"parent": null,
|
|
"position": {
|
|
"#": 149
|
|
},
|
|
"positionImpulse": {
|
|
"#": 150
|
|
},
|
|
"positionPrev": {
|
|
"#": 151
|
|
},
|
|
"render": {
|
|
"#": 152
|
|
},
|
|
"restitution": 0,
|
|
"sleepCounter": 0,
|
|
"sleepThreshold": 60,
|
|
"slop": 0.05,
|
|
"speed": 0,
|
|
"timeScale": 1,
|
|
"torque": 0,
|
|
"totalContacts": 0,
|
|
"type": "body",
|
|
"velocity": {
|
|
"#": 154
|
|
},
|
|
"vertices": {
|
|
"#": 155
|
|
}
|
|
},
|
|
[
|
|
{
|
|
"#": 130
|
|
},
|
|
{
|
|
"#": 131
|
|
},
|
|
{
|
|
"#": 132
|
|
},
|
|
{
|
|
"#": 133
|
|
},
|
|
{
|
|
"#": 134
|
|
},
|
|
{
|
|
"#": 135
|
|
},
|
|
{
|
|
"#": 136
|
|
},
|
|
{
|
|
"#": 137
|
|
},
|
|
{
|
|
"#": 138
|
|
},
|
|
{
|
|
"#": 139
|
|
},
|
|
{
|
|
"#": 140
|
|
},
|
|
{
|
|
"#": 141
|
|
},
|
|
{
|
|
"#": 142
|
|
}
|
|
],
|
|
{
|
|
"x": -0.97095,
|
|
"y": -0.23927
|
|
},
|
|
{
|
|
"x": -0.88544,
|
|
"y": -0.46475
|
|
},
|
|
{
|
|
"x": -0.74854,
|
|
"y": -0.66309
|
|
},
|
|
{
|
|
"x": -0.56805,
|
|
"y": -0.82299
|
|
},
|
|
{
|
|
"x": -0.35459,
|
|
"y": -0.93502
|
|
},
|
|
{
|
|
"x": -0.12054,
|
|
"y": -0.99271
|
|
},
|
|
{
|
|
"x": 0.12054,
|
|
"y": -0.99271
|
|
},
|
|
{
|
|
"x": 0.35459,
|
|
"y": -0.93502
|
|
},
|
|
{
|
|
"x": 0.56805,
|
|
"y": -0.82299
|
|
},
|
|
{
|
|
"x": 0.74854,
|
|
"y": -0.66309
|
|
},
|
|
{
|
|
"x": 0.88544,
|
|
"y": -0.46475
|
|
},
|
|
{
|
|
"x": 0.97095,
|
|
"y": -0.23927
|
|
},
|
|
{
|
|
"x": 1,
|
|
"y": 0
|
|
},
|
|
{
|
|
"max": {
|
|
"#": 144
|
|
},
|
|
"min": {
|
|
"#": 145
|
|
}
|
|
},
|
|
{
|
|
"x": 609.635,
|
|
"y": 150
|
|
},
|
|
{
|
|
"x": 510.365,
|
|
"y": 50
|
|
},
|
|
{
|
|
"category": 1,
|
|
"group": 0,
|
|
"mask": 4294967295
|
|
},
|
|
{
|
|
"angle": 0,
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
{
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
{
|
|
"x": 560,
|
|
"y": 100
|
|
},
|
|
{
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
{
|
|
"x": 560,
|
|
"y": 100
|
|
},
|
|
{
|
|
"fillStyle": "#C44D58",
|
|
"lineWidth": 1.5,
|
|
"opacity": 1,
|
|
"sprite": {
|
|
"#": 153
|
|
},
|
|
"strokeStyle": "#911a25",
|
|
"visible": true
|
|
},
|
|
{
|
|
"xOffset": 0.5,
|
|
"xScale": 1,
|
|
"yOffset": 0.5,
|
|
"yScale": 1
|
|
},
|
|
{
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
[
|
|
{
|
|
"#": 156
|
|
},
|
|
{
|
|
"#": 157
|
|
},
|
|
{
|
|
"#": 158
|
|
},
|
|
{
|
|
"#": 159
|
|
},
|
|
{
|
|
"#": 160
|
|
},
|
|
{
|
|
"#": 161
|
|
},
|
|
{
|
|
"#": 162
|
|
},
|
|
{
|
|
"#": 163
|
|
},
|
|
{
|
|
"#": 164
|
|
},
|
|
{
|
|
"#": 165
|
|
},
|
|
{
|
|
"#": 166
|
|
},
|
|
{
|
|
"#": 167
|
|
},
|
|
{
|
|
"#": 168
|
|
},
|
|
{
|
|
"#": 169
|
|
},
|
|
{
|
|
"#": 170
|
|
},
|
|
{
|
|
"#": 171
|
|
},
|
|
{
|
|
"#": 172
|
|
},
|
|
{
|
|
"#": 173
|
|
},
|
|
{
|
|
"#": 174
|
|
},
|
|
{
|
|
"#": 175
|
|
},
|
|
{
|
|
"#": 176
|
|
},
|
|
{
|
|
"#": 177
|
|
},
|
|
{
|
|
"#": 178
|
|
},
|
|
{
|
|
"#": 179
|
|
},
|
|
{
|
|
"#": 180
|
|
},
|
|
{
|
|
"#": 181
|
|
}
|
|
],
|
|
{
|
|
"body": null,
|
|
"index": 0,
|
|
"isInternal": false,
|
|
"x": 609.635,
|
|
"y": 106.027
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 1,
|
|
"isInternal": false,
|
|
"x": 606.751,
|
|
"y": 117.73
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 2,
|
|
"isInternal": false,
|
|
"x": 601.149,
|
|
"y": 128.403
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 3,
|
|
"isInternal": false,
|
|
"x": 593.156,
|
|
"y": 137.426
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 4,
|
|
"isInternal": false,
|
|
"x": 583.236,
|
|
"y": 144.273
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 5,
|
|
"isInternal": false,
|
|
"x": 571.966,
|
|
"y": 148.547
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 6,
|
|
"isInternal": false,
|
|
"x": 560,
|
|
"y": 150
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 7,
|
|
"isInternal": false,
|
|
"x": 548.034,
|
|
"y": 148.547
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 8,
|
|
"isInternal": false,
|
|
"x": 536.764,
|
|
"y": 144.273
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 9,
|
|
"isInternal": false,
|
|
"x": 526.844,
|
|
"y": 137.426
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 10,
|
|
"isInternal": false,
|
|
"x": 518.851,
|
|
"y": 128.403
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 11,
|
|
"isInternal": false,
|
|
"x": 513.249,
|
|
"y": 117.73
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 12,
|
|
"isInternal": false,
|
|
"x": 510.365,
|
|
"y": 106.027
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 13,
|
|
"isInternal": false,
|
|
"x": 510.365,
|
|
"y": 93.973
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 14,
|
|
"isInternal": false,
|
|
"x": 513.249,
|
|
"y": 82.27
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 15,
|
|
"isInternal": false,
|
|
"x": 518.851,
|
|
"y": 71.597
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 16,
|
|
"isInternal": false,
|
|
"x": 526.844,
|
|
"y": 62.574
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 17,
|
|
"isInternal": false,
|
|
"x": 536.764,
|
|
"y": 55.727
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 18,
|
|
"isInternal": false,
|
|
"x": 548.034,
|
|
"y": 51.453
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 19,
|
|
"isInternal": false,
|
|
"x": 560,
|
|
"y": 50
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 20,
|
|
"isInternal": false,
|
|
"x": 571.966,
|
|
"y": 51.453
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 21,
|
|
"isInternal": false,
|
|
"x": 583.236,
|
|
"y": 55.727
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 22,
|
|
"isInternal": false,
|
|
"x": 593.156,
|
|
"y": 62.574
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 23,
|
|
"isInternal": false,
|
|
"x": 601.149,
|
|
"y": 71.597
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 24,
|
|
"isInternal": false,
|
|
"x": 606.751,
|
|
"y": 82.27
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 25,
|
|
"isInternal": false,
|
|
"x": 609.635,
|
|
"y": 93.973
|
|
},
|
|
{
|
|
"max": {
|
|
"#": 183
|
|
},
|
|
"min": {
|
|
"#": 184
|
|
}
|
|
},
|
|
{
|
|
"x": {
|
|
"#.": "Number",
|
|
"#v": [
|
|
"Infinity"
|
|
]
|
|
},
|
|
"y": {
|
|
"#.": "Number",
|
|
"#v": [
|
|
"Infinity"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"x": {
|
|
"#.": "Number",
|
|
"#v": [
|
|
"-Infinity"
|
|
]
|
|
},
|
|
"y": {
|
|
"#.": "Number",
|
|
"#v": [
|
|
"-Infinity"
|
|
]
|
|
}
|
|
},
|
|
[
|
|
{
|
|
"#": 186
|
|
}
|
|
],
|
|
{
|
|
"bodies": {
|
|
"#": 187
|
|
},
|
|
"composites": {
|
|
"#": 314
|
|
},
|
|
"constraints": {
|
|
"#": 315
|
|
},
|
|
"id": 4,
|
|
"isModified": true,
|
|
"label": "Stack",
|
|
"parent": null,
|
|
"type": "composite"
|
|
},
|
|
[
|
|
{
|
|
"#": 188
|
|
},
|
|
{
|
|
"#": 209
|
|
},
|
|
{
|
|
"#": 230
|
|
},
|
|
{
|
|
"#": 251
|
|
},
|
|
{
|
|
"#": 272
|
|
},
|
|
{
|
|
"#": 293
|
|
}
|
|
],
|
|
{
|
|
"angle": 0,
|
|
"anglePrev": 0,
|
|
"angularSpeed": 0,
|
|
"angularVelocity": 0,
|
|
"area": 900,
|
|
"axes": {
|
|
"#": 189
|
|
},
|
|
"bounds": {
|
|
"#": 192
|
|
},
|
|
"collisionFilter": {
|
|
"#": 195
|
|
},
|
|
"constraintImpulse": {
|
|
"#": 196
|
|
},
|
|
"density": 0.001,
|
|
"force": {
|
|
"#": 197
|
|
},
|
|
"friction": 0.1,
|
|
"frictionAir": 0.01,
|
|
"frictionStatic": 0.5,
|
|
"id": 5,
|
|
"inertia": 540,
|
|
"inverseInertia": 0.00185,
|
|
"inverseMass": 1.11111,
|
|
"isSensor": false,
|
|
"isSleeping": false,
|
|
"isStatic": false,
|
|
"label": "Rectangle Body",
|
|
"mass": 0.9,
|
|
"motion": 0,
|
|
"parent": null,
|
|
"position": {
|
|
"#": 198
|
|
},
|
|
"positionImpulse": {
|
|
"#": 199
|
|
},
|
|
"positionPrev": {
|
|
"#": 200
|
|
},
|
|
"render": {
|
|
"#": 201
|
|
},
|
|
"restitution": 0,
|
|
"sleepCounter": 0,
|
|
"sleepThreshold": 60,
|
|
"slop": 0.05,
|
|
"speed": 0,
|
|
"timeScale": 1,
|
|
"torque": 0,
|
|
"totalContacts": 0,
|
|
"type": "body",
|
|
"velocity": {
|
|
"#": 203
|
|
},
|
|
"vertices": {
|
|
"#": 204
|
|
}
|
|
},
|
|
[
|
|
{
|
|
"#": 190
|
|
},
|
|
{
|
|
"#": 191
|
|
}
|
|
],
|
|
{
|
|
"x": 0,
|
|
"y": 1
|
|
},
|
|
{
|
|
"x": -1,
|
|
"y": 0
|
|
},
|
|
{
|
|
"max": {
|
|
"#": 193
|
|
},
|
|
"min": {
|
|
"#": 194
|
|
}
|
|
},
|
|
{
|
|
"x": 280,
|
|
"y": 285
|
|
},
|
|
{
|
|
"x": 250,
|
|
"y": 255
|
|
},
|
|
{
|
|
"category": 1,
|
|
"group": 0,
|
|
"mask": 4294967295
|
|
},
|
|
{
|
|
"angle": 0,
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
{
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
{
|
|
"x": 265,
|
|
"y": 270
|
|
},
|
|
{
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
{
|
|
"x": 265,
|
|
"y": 270
|
|
},
|
|
{
|
|
"fillStyle": "#4ECDC4",
|
|
"lineWidth": 1.5,
|
|
"opacity": 1,
|
|
"sprite": {
|
|
"#": 202
|
|
},
|
|
"strokeStyle": "#1b9a91",
|
|
"visible": true
|
|
},
|
|
{
|
|
"xOffset": 0.5,
|
|
"xScale": 1,
|
|
"yOffset": 0.5,
|
|
"yScale": 1
|
|
},
|
|
{
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
[
|
|
{
|
|
"#": 205
|
|
},
|
|
{
|
|
"#": 206
|
|
},
|
|
{
|
|
"#": 207
|
|
},
|
|
{
|
|
"#": 208
|
|
}
|
|
],
|
|
{
|
|
"body": null,
|
|
"index": 0,
|
|
"isInternal": false,
|
|
"x": 250,
|
|
"y": 255
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 1,
|
|
"isInternal": false,
|
|
"x": 280,
|
|
"y": 255
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 2,
|
|
"isInternal": false,
|
|
"x": 280,
|
|
"y": 285
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 3,
|
|
"isInternal": false,
|
|
"x": 250,
|
|
"y": 285
|
|
},
|
|
{
|
|
"angle": 0,
|
|
"anglePrev": 0,
|
|
"angularSpeed": 0,
|
|
"angularVelocity": 0,
|
|
"area": 900,
|
|
"axes": {
|
|
"#": 210
|
|
},
|
|
"bounds": {
|
|
"#": 213
|
|
},
|
|
"collisionFilter": {
|
|
"#": 216
|
|
},
|
|
"constraintImpulse": {
|
|
"#": 217
|
|
},
|
|
"density": 0.001,
|
|
"force": {
|
|
"#": 218
|
|
},
|
|
"friction": 0.1,
|
|
"frictionAir": 0.01,
|
|
"frictionStatic": 0.5,
|
|
"id": 6,
|
|
"inertia": 540,
|
|
"inverseInertia": 0.00185,
|
|
"inverseMass": 1.11111,
|
|
"isSensor": false,
|
|
"isSleeping": false,
|
|
"isStatic": false,
|
|
"label": "Rectangle Body",
|
|
"mass": 0.9,
|
|
"motion": 0,
|
|
"parent": null,
|
|
"position": {
|
|
"#": 219
|
|
},
|
|
"positionImpulse": {
|
|
"#": 220
|
|
},
|
|
"positionPrev": {
|
|
"#": 221
|
|
},
|
|
"render": {
|
|
"#": 222
|
|
},
|
|
"restitution": 0,
|
|
"sleepCounter": 0,
|
|
"sleepThreshold": 60,
|
|
"slop": 0.05,
|
|
"speed": 0,
|
|
"timeScale": 1,
|
|
"torque": 0,
|
|
"totalContacts": 0,
|
|
"type": "body",
|
|
"velocity": {
|
|
"#": 224
|
|
},
|
|
"vertices": {
|
|
"#": 225
|
|
}
|
|
},
|
|
[
|
|
{
|
|
"#": 211
|
|
},
|
|
{
|
|
"#": 212
|
|
}
|
|
],
|
|
{
|
|
"x": 0,
|
|
"y": 1
|
|
},
|
|
{
|
|
"x": -1,
|
|
"y": 0
|
|
},
|
|
{
|
|
"max": {
|
|
"#": 214
|
|
},
|
|
"min": {
|
|
"#": 215
|
|
}
|
|
},
|
|
{
|
|
"x": 280,
|
|
"y": 315
|
|
},
|
|
{
|
|
"x": 250,
|
|
"y": 285
|
|
},
|
|
{
|
|
"category": 1,
|
|
"group": 0,
|
|
"mask": 4294967295
|
|
},
|
|
{
|
|
"angle": 0,
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
{
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
{
|
|
"x": 265,
|
|
"y": 300
|
|
},
|
|
{
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
{
|
|
"x": 265,
|
|
"y": 300
|
|
},
|
|
{
|
|
"fillStyle": "#FF6B6B",
|
|
"lineWidth": 1.5,
|
|
"opacity": 1,
|
|
"sprite": {
|
|
"#": 223
|
|
},
|
|
"strokeStyle": "#cc3838",
|
|
"visible": true
|
|
},
|
|
{
|
|
"xOffset": 0.5,
|
|
"xScale": 1,
|
|
"yOffset": 0.5,
|
|
"yScale": 1
|
|
},
|
|
{
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
[
|
|
{
|
|
"#": 226
|
|
},
|
|
{
|
|
"#": 227
|
|
},
|
|
{
|
|
"#": 228
|
|
},
|
|
{
|
|
"#": 229
|
|
}
|
|
],
|
|
{
|
|
"body": null,
|
|
"index": 0,
|
|
"isInternal": false,
|
|
"x": 250,
|
|
"y": 285
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 1,
|
|
"isInternal": false,
|
|
"x": 280,
|
|
"y": 285
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 2,
|
|
"isInternal": false,
|
|
"x": 280,
|
|
"y": 315
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 3,
|
|
"isInternal": false,
|
|
"x": 250,
|
|
"y": 315
|
|
},
|
|
{
|
|
"angle": 0,
|
|
"anglePrev": 0,
|
|
"angularSpeed": 0,
|
|
"angularVelocity": 0,
|
|
"area": 900,
|
|
"axes": {
|
|
"#": 231
|
|
},
|
|
"bounds": {
|
|
"#": 234
|
|
},
|
|
"collisionFilter": {
|
|
"#": 237
|
|
},
|
|
"constraintImpulse": {
|
|
"#": 238
|
|
},
|
|
"density": 0.001,
|
|
"force": {
|
|
"#": 239
|
|
},
|
|
"friction": 0.1,
|
|
"frictionAir": 0.01,
|
|
"frictionStatic": 0.5,
|
|
"id": 7,
|
|
"inertia": 540,
|
|
"inverseInertia": 0.00185,
|
|
"inverseMass": 1.11111,
|
|
"isSensor": false,
|
|
"isSleeping": false,
|
|
"isStatic": false,
|
|
"label": "Rectangle Body",
|
|
"mass": 0.9,
|
|
"motion": 0,
|
|
"parent": null,
|
|
"position": {
|
|
"#": 240
|
|
},
|
|
"positionImpulse": {
|
|
"#": 241
|
|
},
|
|
"positionPrev": {
|
|
"#": 242
|
|
},
|
|
"render": {
|
|
"#": 243
|
|
},
|
|
"restitution": 0,
|
|
"sleepCounter": 0,
|
|
"sleepThreshold": 60,
|
|
"slop": 0.05,
|
|
"speed": 0,
|
|
"timeScale": 1,
|
|
"torque": 0,
|
|
"totalContacts": 0,
|
|
"type": "body",
|
|
"velocity": {
|
|
"#": 245
|
|
},
|
|
"vertices": {
|
|
"#": 246
|
|
}
|
|
},
|
|
[
|
|
{
|
|
"#": 232
|
|
},
|
|
{
|
|
"#": 233
|
|
}
|
|
],
|
|
{
|
|
"x": 0,
|
|
"y": 1
|
|
},
|
|
{
|
|
"x": -1,
|
|
"y": 0
|
|
},
|
|
{
|
|
"max": {
|
|
"#": 235
|
|
},
|
|
"min": {
|
|
"#": 236
|
|
}
|
|
},
|
|
{
|
|
"x": 280,
|
|
"y": 345
|
|
},
|
|
{
|
|
"x": 250,
|
|
"y": 315
|
|
},
|
|
{
|
|
"category": 1,
|
|
"group": 0,
|
|
"mask": 4294967295
|
|
},
|
|
{
|
|
"angle": 0,
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
{
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
{
|
|
"x": 265,
|
|
"y": 330
|
|
},
|
|
{
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
{
|
|
"x": 265,
|
|
"y": 330
|
|
},
|
|
{
|
|
"fillStyle": "#C7F464",
|
|
"lineWidth": 1.5,
|
|
"opacity": 1,
|
|
"sprite": {
|
|
"#": 244
|
|
},
|
|
"strokeStyle": "#94c131",
|
|
"visible": true
|
|
},
|
|
{
|
|
"xOffset": 0.5,
|
|
"xScale": 1,
|
|
"yOffset": 0.5,
|
|
"yScale": 1
|
|
},
|
|
{
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
[
|
|
{
|
|
"#": 247
|
|
},
|
|
{
|
|
"#": 248
|
|
},
|
|
{
|
|
"#": 249
|
|
},
|
|
{
|
|
"#": 250
|
|
}
|
|
],
|
|
{
|
|
"body": null,
|
|
"index": 0,
|
|
"isInternal": false,
|
|
"x": 250,
|
|
"y": 315
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 1,
|
|
"isInternal": false,
|
|
"x": 280,
|
|
"y": 315
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 2,
|
|
"isInternal": false,
|
|
"x": 280,
|
|
"y": 345
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 3,
|
|
"isInternal": false,
|
|
"x": 250,
|
|
"y": 345
|
|
},
|
|
{
|
|
"angle": 0,
|
|
"anglePrev": 0,
|
|
"angularSpeed": 0,
|
|
"angularVelocity": 0,
|
|
"area": 900,
|
|
"axes": {
|
|
"#": 252
|
|
},
|
|
"bounds": {
|
|
"#": 255
|
|
},
|
|
"collisionFilter": {
|
|
"#": 258
|
|
},
|
|
"constraintImpulse": {
|
|
"#": 259
|
|
},
|
|
"density": 0.001,
|
|
"force": {
|
|
"#": 260
|
|
},
|
|
"friction": 0.1,
|
|
"frictionAir": 0.01,
|
|
"frictionStatic": 0.5,
|
|
"id": 8,
|
|
"inertia": 540,
|
|
"inverseInertia": 0.00185,
|
|
"inverseMass": 1.11111,
|
|
"isSensor": false,
|
|
"isSleeping": false,
|
|
"isStatic": false,
|
|
"label": "Rectangle Body",
|
|
"mass": 0.9,
|
|
"motion": 0,
|
|
"parent": null,
|
|
"position": {
|
|
"#": 261
|
|
},
|
|
"positionImpulse": {
|
|
"#": 262
|
|
},
|
|
"positionPrev": {
|
|
"#": 263
|
|
},
|
|
"render": {
|
|
"#": 264
|
|
},
|
|
"restitution": 0,
|
|
"sleepCounter": 0,
|
|
"sleepThreshold": 60,
|
|
"slop": 0.05,
|
|
"speed": 0,
|
|
"timeScale": 1,
|
|
"torque": 0,
|
|
"totalContacts": 0,
|
|
"type": "body",
|
|
"velocity": {
|
|
"#": 266
|
|
},
|
|
"vertices": {
|
|
"#": 267
|
|
}
|
|
},
|
|
[
|
|
{
|
|
"#": 253
|
|
},
|
|
{
|
|
"#": 254
|
|
}
|
|
],
|
|
{
|
|
"x": 0,
|
|
"y": 1
|
|
},
|
|
{
|
|
"x": -1,
|
|
"y": 0
|
|
},
|
|
{
|
|
"max": {
|
|
"#": 256
|
|
},
|
|
"min": {
|
|
"#": 257
|
|
}
|
|
},
|
|
{
|
|
"x": 280,
|
|
"y": 375
|
|
},
|
|
{
|
|
"x": 250,
|
|
"y": 345
|
|
},
|
|
{
|
|
"category": 1,
|
|
"group": 0,
|
|
"mask": 4294967295
|
|
},
|
|
{
|
|
"angle": 0,
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
{
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
{
|
|
"x": 265,
|
|
"y": 360
|
|
},
|
|
{
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
{
|
|
"x": 265,
|
|
"y": 360
|
|
},
|
|
{
|
|
"fillStyle": "#FF6B6B",
|
|
"lineWidth": 1.5,
|
|
"opacity": 1,
|
|
"sprite": {
|
|
"#": 265
|
|
},
|
|
"strokeStyle": "#cc3838",
|
|
"visible": true
|
|
},
|
|
{
|
|
"xOffset": 0.5,
|
|
"xScale": 1,
|
|
"yOffset": 0.5,
|
|
"yScale": 1
|
|
},
|
|
{
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
[
|
|
{
|
|
"#": 268
|
|
},
|
|
{
|
|
"#": 269
|
|
},
|
|
{
|
|
"#": 270
|
|
},
|
|
{
|
|
"#": 271
|
|
}
|
|
],
|
|
{
|
|
"body": null,
|
|
"index": 0,
|
|
"isInternal": false,
|
|
"x": 250,
|
|
"y": 345
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 1,
|
|
"isInternal": false,
|
|
"x": 280,
|
|
"y": 345
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 2,
|
|
"isInternal": false,
|
|
"x": 280,
|
|
"y": 375
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 3,
|
|
"isInternal": false,
|
|
"x": 250,
|
|
"y": 375
|
|
},
|
|
{
|
|
"angle": 0,
|
|
"anglePrev": 0,
|
|
"angularSpeed": 0,
|
|
"angularVelocity": 0,
|
|
"area": 900,
|
|
"axes": {
|
|
"#": 273
|
|
},
|
|
"bounds": {
|
|
"#": 276
|
|
},
|
|
"collisionFilter": {
|
|
"#": 279
|
|
},
|
|
"constraintImpulse": {
|
|
"#": 280
|
|
},
|
|
"density": 0.001,
|
|
"force": {
|
|
"#": 281
|
|
},
|
|
"friction": 0.1,
|
|
"frictionAir": 0.01,
|
|
"frictionStatic": 0.5,
|
|
"id": 9,
|
|
"inertia": 540,
|
|
"inverseInertia": 0.00185,
|
|
"inverseMass": 1.11111,
|
|
"isSensor": false,
|
|
"isSleeping": false,
|
|
"isStatic": false,
|
|
"label": "Rectangle Body",
|
|
"mass": 0.9,
|
|
"motion": 0,
|
|
"parent": null,
|
|
"position": {
|
|
"#": 282
|
|
},
|
|
"positionImpulse": {
|
|
"#": 283
|
|
},
|
|
"positionPrev": {
|
|
"#": 284
|
|
},
|
|
"render": {
|
|
"#": 285
|
|
},
|
|
"restitution": 0,
|
|
"sleepCounter": 0,
|
|
"sleepThreshold": 60,
|
|
"slop": 0.05,
|
|
"speed": 0,
|
|
"timeScale": 1,
|
|
"torque": 0,
|
|
"totalContacts": 0,
|
|
"type": "body",
|
|
"velocity": {
|
|
"#": 287
|
|
},
|
|
"vertices": {
|
|
"#": 288
|
|
}
|
|
},
|
|
[
|
|
{
|
|
"#": 274
|
|
},
|
|
{
|
|
"#": 275
|
|
}
|
|
],
|
|
{
|
|
"x": 0,
|
|
"y": 1
|
|
},
|
|
{
|
|
"x": -1,
|
|
"y": 0
|
|
},
|
|
{
|
|
"max": {
|
|
"#": 277
|
|
},
|
|
"min": {
|
|
"#": 278
|
|
}
|
|
},
|
|
{
|
|
"x": 280,
|
|
"y": 405
|
|
},
|
|
{
|
|
"x": 250,
|
|
"y": 375
|
|
},
|
|
{
|
|
"category": 1,
|
|
"group": 0,
|
|
"mask": 4294967295
|
|
},
|
|
{
|
|
"angle": 0,
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
{
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
{
|
|
"x": 265,
|
|
"y": 390
|
|
},
|
|
{
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
{
|
|
"x": 265,
|
|
"y": 390
|
|
},
|
|
{
|
|
"fillStyle": "#C44D58",
|
|
"lineWidth": 1.5,
|
|
"opacity": 1,
|
|
"sprite": {
|
|
"#": 286
|
|
},
|
|
"strokeStyle": "#911a25",
|
|
"visible": true
|
|
},
|
|
{
|
|
"xOffset": 0.5,
|
|
"xScale": 1,
|
|
"yOffset": 0.5,
|
|
"yScale": 1
|
|
},
|
|
{
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
[
|
|
{
|
|
"#": 289
|
|
},
|
|
{
|
|
"#": 290
|
|
},
|
|
{
|
|
"#": 291
|
|
},
|
|
{
|
|
"#": 292
|
|
}
|
|
],
|
|
{
|
|
"body": null,
|
|
"index": 0,
|
|
"isInternal": false,
|
|
"x": 250,
|
|
"y": 375
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 1,
|
|
"isInternal": false,
|
|
"x": 280,
|
|
"y": 375
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 2,
|
|
"isInternal": false,
|
|
"x": 280,
|
|
"y": 405
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 3,
|
|
"isInternal": false,
|
|
"x": 250,
|
|
"y": 405
|
|
},
|
|
{
|
|
"angle": 0,
|
|
"anglePrev": 0,
|
|
"angularSpeed": 0,
|
|
"angularVelocity": 0,
|
|
"area": 900,
|
|
"axes": {
|
|
"#": 294
|
|
},
|
|
"bounds": {
|
|
"#": 297
|
|
},
|
|
"collisionFilter": {
|
|
"#": 300
|
|
},
|
|
"constraintImpulse": {
|
|
"#": 301
|
|
},
|
|
"density": 0.001,
|
|
"force": {
|
|
"#": 302
|
|
},
|
|
"friction": 0.1,
|
|
"frictionAir": 0.01,
|
|
"frictionStatic": 0.5,
|
|
"id": 10,
|
|
"inertia": 540,
|
|
"inverseInertia": 0.00185,
|
|
"inverseMass": 1.11111,
|
|
"isSensor": false,
|
|
"isSleeping": false,
|
|
"isStatic": false,
|
|
"label": "Rectangle Body",
|
|
"mass": 0.9,
|
|
"motion": 0,
|
|
"parent": null,
|
|
"position": {
|
|
"#": 303
|
|
},
|
|
"positionImpulse": {
|
|
"#": 304
|
|
},
|
|
"positionPrev": {
|
|
"#": 305
|
|
},
|
|
"render": {
|
|
"#": 306
|
|
},
|
|
"restitution": 0,
|
|
"sleepCounter": 0,
|
|
"sleepThreshold": 60,
|
|
"slop": 0.05,
|
|
"speed": 0,
|
|
"timeScale": 1,
|
|
"torque": 0,
|
|
"totalContacts": 0,
|
|
"type": "body",
|
|
"velocity": {
|
|
"#": 308
|
|
},
|
|
"vertices": {
|
|
"#": 309
|
|
}
|
|
},
|
|
[
|
|
{
|
|
"#": 295
|
|
},
|
|
{
|
|
"#": 296
|
|
}
|
|
],
|
|
{
|
|
"x": 0,
|
|
"y": 1
|
|
},
|
|
{
|
|
"x": -1,
|
|
"y": 0
|
|
},
|
|
{
|
|
"max": {
|
|
"#": 298
|
|
},
|
|
"min": {
|
|
"#": 299
|
|
}
|
|
},
|
|
{
|
|
"x": 280,
|
|
"y": 435
|
|
},
|
|
{
|
|
"x": 250,
|
|
"y": 405
|
|
},
|
|
{
|
|
"category": 1,
|
|
"group": 0,
|
|
"mask": 4294967295
|
|
},
|
|
{
|
|
"angle": 0,
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
{
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
{
|
|
"x": 265,
|
|
"y": 420
|
|
},
|
|
{
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
{
|
|
"x": 265,
|
|
"y": 420
|
|
},
|
|
{
|
|
"fillStyle": "#556270",
|
|
"lineWidth": 1.5,
|
|
"opacity": 1,
|
|
"sprite": {
|
|
"#": 307
|
|
},
|
|
"strokeStyle": "#222f3d",
|
|
"visible": true
|
|
},
|
|
{
|
|
"xOffset": 0.5,
|
|
"xScale": 1,
|
|
"yOffset": 0.5,
|
|
"yScale": 1
|
|
},
|
|
{
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
[
|
|
{
|
|
"#": 310
|
|
},
|
|
{
|
|
"#": 311
|
|
},
|
|
{
|
|
"#": 312
|
|
},
|
|
{
|
|
"#": 313
|
|
}
|
|
],
|
|
{
|
|
"body": null,
|
|
"index": 0,
|
|
"isInternal": false,
|
|
"x": 250,
|
|
"y": 405
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 1,
|
|
"isInternal": false,
|
|
"x": 280,
|
|
"y": 405
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 2,
|
|
"isInternal": false,
|
|
"x": 280,
|
|
"y": 435
|
|
},
|
|
{
|
|
"body": null,
|
|
"index": 3,
|
|
"isInternal": false,
|
|
"x": 250,
|
|
"y": 435
|
|
},
|
|
[],
|
|
[],
|
|
[
|
|
{
|
|
"#": 317
|
|
},
|
|
{
|
|
"#": 321
|
|
},
|
|
{
|
|
"#": 325
|
|
}
|
|
],
|
|
{
|
|
"angularStiffness": 1,
|
|
"id": 20,
|
|
"label": "Mouse Constraint",
|
|
"length": 0.01,
|
|
"pointA": {
|
|
"#": 318
|
|
},
|
|
"pointB": {
|
|
"#": 319
|
|
},
|
|
"render": {
|
|
"#": 320
|
|
},
|
|
"stiffness": 0.1,
|
|
"type": "constraint"
|
|
},
|
|
{
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
{
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
{
|
|
"lineWidth": 3,
|
|
"strokeStyle": "#90EE90",
|
|
"visible": true
|
|
},
|
|
{
|
|
"angleA": 0,
|
|
"angularStiffness": 0,
|
|
"bodyA": null,
|
|
"id": 14,
|
|
"label": "Constraint",
|
|
"length": 60.82763,
|
|
"pointA": {
|
|
"#": 322
|
|
},
|
|
"pointB": {
|
|
"#": 323
|
|
},
|
|
"render": {
|
|
"#": 324
|
|
},
|
|
"stiffness": 1,
|
|
"type": "constraint"
|
|
},
|
|
{
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
{
|
|
"x": 390,
|
|
"y": 580
|
|
},
|
|
{
|
|
"lineWidth": 2,
|
|
"strokeStyle": "#666",
|
|
"visible": true
|
|
},
|
|
{
|
|
"angleA": 0,
|
|
"angularStiffness": 0,
|
|
"bodyA": null,
|
|
"id": 15,
|
|
"label": "Constraint",
|
|
"length": 60.82763,
|
|
"pointA": {
|
|
"#": 326
|
|
},
|
|
"pointB": {
|
|
"#": 327
|
|
},
|
|
"render": {
|
|
"#": 328
|
|
},
|
|
"stiffness": 1,
|
|
"type": "constraint"
|
|
},
|
|
{
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
{
|
|
"x": 410,
|
|
"y": 580
|
|
},
|
|
{
|
|
"lineWidth": 2,
|
|
"strokeStyle": "#666",
|
|
"visible": true
|
|
},
|
|
{
|
|
"scale": 0.001,
|
|
"x": 0,
|
|
"y": 1
|
|
}
|
|
] |