Created
January 12, 2014 21:42
-
-
Save monteslu/8390950 to your computer and use it in GitHub Desktop.
Cat physics
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "entities": [ | |
| { | |
| "x": 264, | |
| "y": 279, | |
| "halfWidth": 6, | |
| "halfHeight": 23, | |
| "staticBody": false, | |
| "sensor": false, | |
| "type": "Rectangle", | |
| "fillStyle": "rgba(200,0,0,0.8)", | |
| "id": "lbleg" | |
| }, | |
| { | |
| "x": 334, | |
| "y": 279, | |
| "halfWidth": 6, | |
| "halfHeight": 23, | |
| "staticBody": false, | |
| "sensor": false, | |
| "type": "Rectangle", | |
| "fillStyle": "rgba(200,0,0,0.8)", | |
| "id": "rbleg" | |
| }, | |
| { | |
| "x": 300.5, | |
| "y": 244.5, | |
| "halfWidth": 46.5, | |
| "halfHeight": 20.5, | |
| "staticBody": false, | |
| "sensor": false, | |
| "type": "Rectangle", | |
| "fillStyle": "rgba(0,255,0, 1.0)", | |
| "id": "torso" | |
| }, | |
| { | |
| "x": 345, | |
| "y": 211, | |
| "radius": 25, | |
| "staticBody": false, | |
| "sensor": false, | |
| "type": "Circle", | |
| "fillStyle": "rgba(0,255,0,0.8)", | |
| "id": "head" | |
| }, | |
| { | |
| "x": 258, | |
| "y": 213, | |
| "halfWidth": 4.5, | |
| "halfHeight": 19, | |
| "staticBody": false, | |
| "sensor": false, | |
| "type": "Rectangle", | |
| "fillStyle": "rgba(0,255,0,0.8)", | |
| "id": "tail" | |
| }, | |
| { | |
| "x": 264, | |
| "y": 279, | |
| "halfWidth": 6, | |
| "halfHeight": 23, | |
| "staticBody": false, | |
| "sensor": false, | |
| "type": "Rectangle", | |
| "fillStyle": "rgba(200,0,0,0.8)", | |
| "id": "lfleg" | |
| }, | |
| { | |
| "x": 334, | |
| "y": 279, | |
| "halfWidth": 6, | |
| "halfHeight": 23, | |
| "staticBody": false, | |
| "sensor": false, | |
| "type": "Rectangle", | |
| "fillStyle": "rgba(200,0,0,0.8)", | |
| "id": "rfleg" | |
| }, | |
| { | |
| "x": 349, | |
| "y": 430.5, | |
| "halfWidth": 340, | |
| "halfHeight": 7.5, | |
| "staticBody": true, | |
| "sensor": false, | |
| "type": "Rectangle", | |
| "id": 3, | |
| "restitution": 2 | |
| }, | |
| { | |
| "x": 11, | |
| "y": 219, | |
| "halfWidth": 9, | |
| "halfHeight": 215, | |
| "staticBody": true, | |
| "sensor": false, | |
| "type": "Rectangle", | |
| "id": 4, | |
| "restitution": 2 | |
| }, | |
| { | |
| "x": 687.5, | |
| "y": 222.5, | |
| "halfWidth": 7.5, | |
| "halfHeight": 213.5, | |
| "staticBody": true, | |
| "sensor": false, | |
| "type": "Rectangle", | |
| "id": 5, | |
| "restitution": 2 | |
| }, | |
| { | |
| "x": 351.5, | |
| "y": 12, | |
| "halfWidth": 347.5, | |
| "halfHeight": 8, | |
| "staticBody": true, | |
| "sensor": false, | |
| "type": "Rectangle", | |
| "id": 6 | |
| } | |
| ], | |
| "joints": [ | |
| { | |
| "bodyId1": "head", | |
| "bodyId2": "torso", | |
| "type": "Revolute", | |
| "id": "head", | |
| "jointAttributes": { | |
| "enableLimit": true, | |
| "lowerAngle": -0.5, | |
| "upperAngle": 0.5 | |
| }, | |
| "bodyPoint1": { | |
| "x": 340, | |
| "y": 220 | |
| } | |
| }, | |
| { | |
| "bodyId1": "tail", | |
| "bodyId2": "torso", | |
| "type": "Revolute", | |
| "id": "tail", | |
| "jointAttributes": { | |
| "enableLimit": true, | |
| "lowerAngle": 0, | |
| "upperAngle": 1.9 | |
| }, | |
| "bodyPoint1": { | |
| "x": 259, | |
| "y": 227 | |
| } | |
| }, | |
| { | |
| "bodyId1": "lbleg", | |
| "bodyId2": "torso", | |
| "type": "Revolute", | |
| "id": "lbleg", | |
| "jointAttributes": { | |
| "enableLimit": false, | |
| "lowerAngle": 0, | |
| "upperAngle": 1.9 | |
| }, | |
| "bodyPoint1": { | |
| "x": 264, | |
| "y": 261 | |
| } | |
| }, | |
| { | |
| "bodyId1": "lfleg", | |
| "bodyId2": "torso", | |
| "type": "Revolute", | |
| "id": "lfleg", | |
| "jointAttributes": { | |
| "enableLimit": false, | |
| "lowerAngle": 0, | |
| "upperAngle": 1.9 | |
| }, | |
| "bodyPoint1": { | |
| "x": 264, | |
| "y": 261 | |
| } | |
| }, | |
| { | |
| "bodyId1": "lfleg", | |
| "bodyId2": "lbleg", | |
| "type": "Revolute", | |
| "id": "lleg", | |
| "bodyPoint1": { | |
| "x": 264, | |
| "y": 261 | |
| } | |
| }, | |
| { | |
| "bodyId1": "rbleg", | |
| "bodyId2": "torso", | |
| "type": "Revolute", | |
| "id": "rbleg", | |
| "jointAttributes": { | |
| "enableLimit": false, | |
| "lowerAngle": -0.2, | |
| "upperAngle": 0.2 | |
| }, | |
| "bodyPoint1": { | |
| "x": 334, | |
| "y": 261 | |
| } | |
| }, | |
| { | |
| "bodyId1": "rfleg", | |
| "bodyId2": "torso", | |
| "type": "Revolute", | |
| "id": "rfleg", | |
| "jointAttributes": { | |
| "enableLimit": false, | |
| "lowerAngle": -0.2, | |
| "upperAngle": 0.2 | |
| }, | |
| "bodyPoint1": { | |
| "x": 334, | |
| "y": 261 | |
| } | |
| }, | |
| { | |
| "bodyId1": "rfleg", | |
| "bodyId2": "rbleg", | |
| "type": "Revolute", | |
| "id": "rleg", | |
| "bodyPoint1": { | |
| "x": 334, | |
| "y": 261 | |
| } | |
| } | |
| ], | |
| "canvas": { | |
| "height": 440, | |
| "width": 700 | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment