Skip to content

Instantly share code, notes, and snippets.

@monteslu
Last active December 12, 2015 10:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save monteslu/4756575 to your computer and use it in GitHub Desktop.
Save monteslu/4756575 to your computer and use it in GitHub Desktop.
some more json for the editor
{
"entities": [
{
"x": 427.5,
"y": 606.5,
"halfWidth": 425.5,
"halfHeight": 16.5,
"staticBody": true,
"zone": false,
"type": "Rectangle",
"id": 0,
"restitution": 1
},
{
"x": -13.5,
"y": 285.5,
"halfWidth": 23.5,
"halfHeight": 313.5,
"staticBody": true,
"zone": false,
"type": "Rectangle",
"id": 1
},
{
"x": 430,
"y": -16.5,
"halfWidth": 428,
"halfHeight": 27.5,
"staticBody": true,
"zone": false,
"type": "Rectangle",
"id": 2
},
{
"x": 837.5,
"y": 340.5,
"halfWidth": 49.5,
"halfHeight": 336.5,
"staticBody": true,
"zone": false,
"type": "Rectangle",
"id": 3
},
{
"points": [
{
"x": -11.666666666666657,
"y": -46.66666666666666
},
{
"x": 9.333333333333343,
"y": -47.66666666666666
},
{
"x": 27.333333333333343,
"y": -41.66666666666666
},
{
"x": 30.333333333333343,
"y": -11.666666666666657
},
{
"x": 28.333333333333343,
"y": 59.33333333333334
},
{
"x": 6.333333333333343,
"y": 69.33333333333334
},
{
"x": -20.666666666666657,
"y": 56.33333333333334
},
{
"x": -33.66666666666666,
"y": -3.666666666666657
},
{
"x": -35.66666666666666,
"y": -33.66666666666666
}
],
"x": 190.66666666666666,
"y": 215.66666666666666,
"staticBody": false,
"zone": false,
"type": "Polygon",
"fillStyle": "rgba(0,255,0,0.4)",
"id": "torso"
},
{
"x": 189,
"y": 158,
"halfWidth": 9,
"halfHeight": 16.5,
"staticBody": false,
"zone": false,
"type": "Rectangle",
"fillStyle": "rgba(0,255,0,0.4)",
"id": "neck"
},
{
"x": 189,
"y": 146,
"radius": 18.35755975068582,
"staticBody": false,
"zone": false,
"type": "Circle",
"fillStyle": "rgba(255,0,0,0.4)",
"id": "head"
},
{
"points": [
{
"x": -2.75,
"y": -33
},
{
"x": 18.25,
"y": -32
},
{
"x": 1.25,
"y": 35
},
{
"x": -16.75,
"y": 30
}
],
"x": 147.75,
"y": 217,
"staticBody": false,
"zone": false,
"type": "Polygon",
"fillStyle": "rgba(255,255,0,0.4)",
"id": "luarm"
},
{
"points": [
{
"x": -4,
"y": -37
},
{
"x": 24,
"y": 30
},
{
"x": 5,
"y": 37
},
{
"x": -25,
"y": -30
}
],
"x": 234,
"y": 214,
"staticBody": false,
"zone": false,
"type": "Polygon",
"fillStyle": "rgba(255,255,0,0.4)",
"id": "ruarm"
},
{
"points": [
{
"x": -8,
"y": -15
},
{
"x": 4,
"y": -26
},
{
"x": 13,
"y": -25
},
{
"x": 13,
"y": -7
},
{
"x": -7,
"y": 37
},
{
"x": -15,
"y": 36
}
],
"x": 134,
"y": 267,
"staticBody": false,
"zone": false,
"type": "Polygon",
"fillStyle": "rgba(0,255,0,0.4)",
"id": "llarm"
},
{
"points": [
{
"x": -11,
"y": -19.285714285714278
},
{
"x": -2,
"y": -22.285714285714278
},
{
"x": 9,
"y": -10.285714285714278
},
{
"x": 19,
"y": 32.71428571428572
},
{
"x": 9,
"y": 36.71428571428572
},
{
"x": -12,
"y": 0.7142857142857224
},
{
"x": -12,
"y": -18.285714285714278
}
],
"x": 253,
"y": 258.2857142857143,
"staticBody": false,
"zone": false,
"type": "Polygon",
"fillStyle": "rgba(0,255,0,0.4)",
"id": "rlarm"
},
{
"points": [
{
"x": 4.400000000000006,
"y": -20.80000000000001
},
{
"x": 11.400000000000006,
"y": -5.800000000000011
},
{
"x": 1.4000000000000057,
"y": 17.19999999999999
},
{
"x": -7.599999999999994,
"y": 16.19999999999999
},
{
"x": -9.599999999999994,
"y": -6.800000000000011
}
],
"x": 120.6,
"y": 318.8,
"staticBody": false,
"zone": false,
"type": "Polygon",
"fillStyle": "rgba(0,255,255,0.4)",
"id": "lhand"
},
{
"points": [
{
"x": -8,
"y": -16.833333333333314
},
{
"x": -6,
"y": -15.833333333333314
},
{
"x": 8,
"y": -6.833333333333314
},
{
"x": 14,
"y": 16.166666666666686
},
{
"x": 4,
"y": 22.166666666666686
},
{
"x": -12,
"y": 1.1666666666666856
}
],
"x": 273,
"y": 302.8333333333333,
"staticBody": false,
"zone": false,
"type": "Polygon",
"fillStyle": "rgba(0,255,255,0.4)",
"id": "rhand"
},
{
"points": [
{
"x": -19.875,
"y": 19.875
},
{
"x": -4.875,
"y": -28.125
},
{
"x": 9.125,
"y": -44.125
},
{
"x": 11.125,
"y": -45.125
},
{
"x": 19.125,
"y": -37.125
},
{
"x": 9.125,
"y": 18.875
},
{
"x": -2.875,
"y": 58.875
},
{
"x": -20.875,
"y": 56.875
}
],
"x": 167.875,
"y": 310.125,
"staticBody": false,
"zone": false,
"type": "Polygon",
"fillStyle": "rgba(255,255,0,0.4)",
"id": "luleg"
},
{
"points": [
{
"x": -14.428571428571416,
"y": -40.71428571428572
},
{
"x": -2.4285714285714164,
"y": -47.71428571428572
},
{
"x": 21.571428571428584,
"y": 9.285714285714278
},
{
"x": 20.571428571428584,
"y": 58.28571428571428
},
{
"x": 2.5714285714285836,
"y": 56.28571428571428
},
{
"x": -12.428571428571416,
"y": 4.285714285714278
},
{
"x": -15.428571428571416,
"y": -39.71428571428572
}
],
"x": 217.42857142857142,
"y": 312.7142857142857,
"staticBody": false,
"zone": false,
"type": "Polygon",
"fillStyle": "rgba(255,255,0,0.4)",
"id": "ruleg"
},
{
"points": [
{
"x": -9.285714285714278,
"y": -12.571428571428555
},
{
"x": -0.2857142857142776,
"y": -24.571428571428555
},
{
"x": 1.7142857142857224,
"y": -25.571428571428555
},
{
"x": 9.714285714285722,
"y": -24.571428571428555
},
{
"x": 11.714285714285722,
"y": -1.5714285714285552
},
{
"x": 0.7142857142857224,
"y": 44.428571428571445
},
{
"x": -14.285714285714278,
"y": 44.428571428571445
}
],
"x": 153.28571428571428,
"y": 384.57142857142856,
"staticBody": false,
"zone": false,
"type": "Polygon",
"fillStyle": "rgba(0,255,0,0.4)",
"id": "llleg"
},
{
"points": [
{
"x": -7,
"y": -25.142857142857167
},
{
"x": -5,
"y": -26.142857142857167
},
{
"x": 3,
"y": -26.142857142857167
},
{
"x": 11,
"y": -10.142857142857167
},
{
"x": 11,
"y": 42.85714285714283
},
{
"x": -1,
"y": 45.85714285714283
},
{
"x": -12,
"y": -1.1428571428571672
}
],
"x": 232,
"y": 387.14285714285717,
"staticBody": false,
"zone": false,
"type": "Polygon",
"fillStyle": "rgba(0,255,0,0.4)",
"id": "rlleg"
},
{
"points": [
{
"x": 1.75,
"y": -16.25
},
{
"x": 10.75,
"y": -16.25
},
{
"x": 10.75,
"y": 15.75
},
{
"x": -23.25,
"y": 16.75
}
],
"x": 142.25,
"y": 437.25,
"staticBody": false,
"zone": false,
"type": "Polygon",
"fillStyle": "rgba(0,255,0,0.4)",
"id": "lfoot"
},
{
"points": [
{
"x": -8,
"y": -10.199999999999989
},
{
"x": -6,
"y": -11.199999999999989
},
{
"x": 0,
"y": -13.199999999999989
},
{
"x": 24,
"y": 17.80000000000001
},
{
"x": -10,
"y": 16.80000000000001
}
],
"x": 241,
"y": 435.2,
"staticBody": false,
"zone": false,
"type": "Polygon",
"fillStyle": "rgba(0,255,0,0.4)",
"id": "rfoot"
}
],
"joints": [
{
"bodyId1": "head",
"bodyId2": "neck",
"type": "Revolute",
"id": "head"
},
{
"bodyId1": "neck",
"bodyId2": "torso",
"type": "Revolute",
"id": "neck",
"bodyPoint1": {
"x": 190,
"y": 173
}
},
{
"bodyId1": "luarm",
"bodyId2": "torso",
"type": "Revolute",
"id": "lshoulder",
"bodyPoint1": {
"x": 160,
"y": 189
}
},
{
"bodyId1": "ruarm",
"bodyId2": "torso",
"type": "Revolute",
"id": "rshoulder",
"bodyPoint1": {
"x": 216,
"y": 196
}
},
{
"bodyId1": "llarm",
"bodyId2": "luarm",
"type": "Revolute",
"id": "lelbow",
"bodyPoint1": {
"x": 142,
"y": 245
}
},
{
"bodyId1": "rlarm",
"bodyId2": "ruarm",
"type": "Revolute",
"id": "relbow",
"bodyPoint1": {
"x": 248,
"y": 243
}
},
{
"bodyId1": "luleg",
"bodyId2": "torso",
"type": "Revolute",
"id": "lhip",
"bodyPoint1": {
"x": 181,
"y": 274
},
"jointAttributes": {
"enableLimit": true,
"lowerAngle": -1.570796,
"upperAngle": 0.785385
}
},
{
"bodyId1": "ruleg",
"bodyId2": "torso",
"type": "Revolute",
"id": "rhip",
"bodyPoint1": {
"x": 210,
"y": 273
},
"jointAttributes": {
"enableLimit": true,
"lowerAngle": -0.785385,
"upperAngle": 1.570796
}
},
{
"bodyId1": "llleg",
"bodyId2": "luleg",
"type": "Revolute",
"id": "lknee",
"bodyPoint1": {
"x": 157,
"y": 364
},
"jointAttributes": {
"enableLimit": true,
"lowerAngle": -0.785385,
"upperAngle": 1.570796
}
},
{
"bodyId1": "rlleg",
"bodyId2": "ruleg",
"type": "Revolute",
"id": "rknee",
"bodyPoint1": {
"x": 231,
"y": 364
},
"jointAttributes": {
"enableLimit": true,
"lowerAngle": -1.570796,
"upperAngle": 0.785385
}
},
{
"bodyId1": "lhand",
"bodyId2": "llarm",
"type": "Revolute",
"id": "lhand",
"bodyPoint1": {
"x": 125,
"y": 302
},
"jointAttributes": {
"enableLimit": true,
"lowerAngle": -1.6,
"upperAngle": 1.6
}
},
{
"bodyId1": "rhand",
"bodyId2": "rlarm",
"type": "Revolute",
"id": "rhand",
"bodyPoint1": {
"x": 268,
"y": 290
},
"jointAttributes": {
"enableLimit": true,
"lowerAngle": -1.6,
"upperAngle": 1.6
}
},
{
"bodyId1": "lfoot",
"bodyId2": "llleg",
"type": "Revolute",
"id": "lfoot",
"bodyPoint1": {
"x": 147,
"y": 426
},
"jointAttributes": {
"enableLimit": true,
"lowerAngle": -1.070796,
"upperAngle": 0.785385
}
},
{
"bodyId1": "rfoot",
"bodyId2": "rlleg",
"type": "Revolute",
"id": "rfoot",
"bodyPoint1": {
"x": 238,
"y": 427
},
"jointAttributes": {
"enableLimit": true,
"lowerAngle": -0.785385,
"upperAngle": 1.070796
}
}
],
"canvas": {
"height": 600,
"width": 800
},
"backImg": null
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment