Skip to content

Instantly share code, notes, and snippets.

@rileyrg
Created July 22, 2015 16:36
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 rileyrg/bc71e7d6b9c7fe07bb09 to your computer and use it in GitHub Desktop.
Save rileyrg/bc71e7d6b9c7fe07bb09 to your computer and use it in GitHub Desktop.
{
"allowSleep" : true,
"autoClearForces" : true,
"body" :
[
{
"angle" : 0,
"angularVelocity" : 0,
"awake" : true,
"fixture" :
[
{
"density" : 1,
"friction" : 0.2,
"name" : "fixture0",
"polygon" :
{
"vertices" :
{
"x" :
[
0.3046259880065918,
0.2804560065269470,
0.2039179950952530,
-0.03118197247385979,
-0.1519500017166138,
-0.4083870053291321
],
"y" :
[
0.2571339905261993,
0.3215869963169098,
0.3981249928474426,
0.3317071795463562,
0.2460809946060181,
-0.08527299761772156
]
}
}
},
{
"density" : 1,
"friction" : 0.2,
"name" : "fixture0",
"polygon" :
{
"vertices" :
{
"x" :
[
0.3489370048046112,
0.3046259880065918,
-0.4083870053291321,
-0.4003300070762634,
-0.005554830189794302,
0.05889829993247986
],
"y" :
[
0.09600140154361725,
0.2571339905261993,
-0.08527299761772156,
-0.09735800325870514,
-0.1940380036830902,
-0.1497260034084320
]
}
}
},
{
"density" : 1,
"friction" : 0.2,
"name" : "fixture0",
"polygon" :
{
"vertices" :
{
"x" :
[
-0.1519500017166138,
-0.2633669972419739,
-0.3117069900035858,
-0.3278200030326843,
-0.4083870053291321,
-0.4285280108451843,
-0.4083870053291321
],
"y" :
[
0.2460809946060181,
0.3054740130901337,
0.3215869963169098,
0.3175590038299561,
0.2410210072994232,
0.1765680015087128,
-0.08527299761772156
]
}
}
},
{
"density" : 1,
"friction" : 0.2,
"name" : "fixture0",
"polygon" :
{
"vertices" :
{
"x" : [ -0.4083870053291321, -0.4244999885559082, -0.4285280108451843 ],
"y" : [ 0.2410210072994232, 0.2410210072994232, 0.1765680015087128 ]
}
}
},
{
"density" : 1,
"friction" : 0.2,
"name" : "fixture0",
"polygon" :
{
"vertices" :
{
"x" : [ 0.3489370048046112, 0.3489370048046112, 0.3046259880065918 ],
"y" : [ 0.09600140154361725, 0.2087939977645874, 0.2571339905261993 ]
}
}
},
{
"density" : 1,
"friction" : 0.2,
"name" : "fixture0",
"polygon" :
{
"vertices" :
{
"x" :
[
0.3489370048046112,
0.05889829993247986,
0.1233510002493858,
0.1878049969673157,
0.3287959992885590
],
"y" :
[
0.09600140154361725,
-0.1497260034084320,
-0.1336130052804947,
-0.1094430014491081,
0.03154829889535904
]
}
}
},
{
"density" : 1,
"friction" : 0.2,
"name" : "fixture0",
"polygon" :
{
"vertices" :
{
"x" : [ 0.1233510002493858, 0.05889829993247986, 0.1072380021214485 ],
"y" : [ -0.1336130052804947, -0.1497260034084320, -0.1456979960203171 ]
}
}
},
{
"density" : 1,
"friction" : 0.2,
"name" : "fixture0",
"polygon" :
{
"vertices" :
{
"x" : [ -0.005554830189794302, -0.4003300070762634, -0.01763980090618134 ],
"y" : [ -0.1940380036830902, -0.09735800325870514, -0.2101510018110275 ]
}
}
},
{
"density" : 1,
"friction" : 0.2,
"name" : "fixture0",
"polygon" :
{
"vertices" :
{
"x" :
[
-0.01763980090618134,
-0.4003300070762634,
-0.1022349968552589,
-0.04986630007624626,
-0.02569640055298805
],
"y" :
[
-0.2101510018110275,
-0.09735800325870514,
-0.3269720077514648,
-0.2746039927005768,
-0.2423779964447021
]
}
}
},
{
"density" : 1,
"friction" : 0.2,
"name" : "fixture0",
"polygon" :
{
"vertices" :
{
"x" :
[
-0.04986630007624626,
-0.1022349968552589,
-0.07000800222158432,
-0.05792300030589104
],
"y" :
[
-0.2746039927005768,
-0.3269720077514648,
-0.3189159929752350,
-0.3068310022354126
]
}
}
},
{
"density" : 1,
"friction" : 0.2,
"name" : "fixture0",
"polygon" :
{
"vertices" :
{
"x" :
[
-0.1022349968552589,
-0.4003300070762634,
-0.1828009933233261,
-0.1707160025835037,
-0.1102909967303276
],
"y" :
[
-0.3269720077514648,
-0.09735800325870514,
-0.3753120005130768,
-0.3873969912528992,
-0.3390569984912872
]
}
}
},
{
"density" : 1,
"friction" : 0.2,
"name" : "fixture0",
"polygon" :
{
"vertices" :
{
"x" :
[
-0.08612120151519775,
-0.08612120151519775,
-0.1102909967303276,
-0.1707160025835037,
-0.1626590043306351,
-0.1505739986896515,
-0.1022349968552589
],
"y" :
[
-0.4518499970436096,
-0.4196240007877350,
-0.3390569984912872,
-0.3873969912528992,
-0.4196240007877350,
-0.4317089915275574,
-0.4518499970436096
]
}
}
},
{
"density" : 1,
"friction" : 0.2,
"name" : "fixture0",
"polygon" :
{
"vertices" :
{
"x" :
[
-0.1828009933233261,
-0.4003300070762634,
-0.4204719960689545,
-0.4244999885559082,
-0.4043590128421783,
-0.3761599957942963,
-0.2955940067768097
],
"y" :
[
-0.3753120005130768,
-0.09735800325870514,
-0.1295849978923798,
-0.1456979960203171,
-0.3068310022354126,
-0.3390569984912872,
-0.3712840080261230
]
}
}
},
{
"density" : 1,
"friction" : 0.2,
"name" : "fixture0",
"polygon" :
{
"vertices" :
{
"x" : [ -0.2955940067768097, -0.3761599957942963, -0.3117069900035858 ],
"y" : [ -0.3712840080261230, -0.3390569984912872, -0.3793399930000305 ]
}
}
},
{
"density" : 1,
"friction" : 0.2,
"name" : "fixture0",
"polygon" :
{
"vertices" :
{
"x" :
[
-0.4083870053291321,
-0.4406130015850067,
-0.5050669908523560,
-0.5614629983901978,
-0.6500859856605530,
-0.5856329798698425
],
"y" :
[
-0.08527299761772156,
0.1685110032558441,
0.1765680015087128,
0.1282279938459396,
-0.0006783009739592671,
-0.06110310181975365
]
}
}
},
{
"density" : 1,
"friction" : 0.2,
"name" : "fixture0",
"polygon" :
{
"vertices" :
{
"x" : [ -0.5856329798698425, -0.6500859856605530, -0.6661990284919739 ],
"y" : [ -0.06110310181975365, -0.0006783009739592671, -0.0006783009739592671 ]
}
}
},
{
"density" : 1,
"friction" : 0.2,
"name" : "fixture0",
"polygon" :
{
"vertices" :
{
"x" :
[
-0.5050669908523560,
-0.5534060001373291,
-0.5614629983901978,
-0.5614629983901978
],
"y" :
[
0.1765680015087128,
0.1564259976148605,
0.1443410068750381,
0.1282279938459396
]
}
}
},
{
"density" : 1,
"friction" : 0.2,
"name" : "fixture0",
"polygon" :
{
"vertices" :
{
"x" : [ -0.4083870053291321, -0.4285280108451843, -0.4406130015850067 ],
"y" : [ -0.08527299761772156, 0.1765680015087128, 0.1685110032558441 ]
}
}
}
],
"linearVelocity" : 0,
"name" : "bee1",
"position" : 0,
"type" : 0
}
],
"collisionbitplanes" :
{
"names" :
[
"bitplane1",
"bitplane2",
"bitplane3",
"bitplane4",
"bitplane5",
"bitplane6",
"bitplane7",
"bitplane8",
"bitplane9",
"bitplane10",
"bitplane11",
"bitplane12",
"bitplane13",
"bitplane14",
"bitplane15",
"bitplane16",
"bitplane17",
"bitplane18",
"bitplane19",
"bitplane20",
"bitplane21",
"bitplane22",
"bitplane23",
"bitplane24",
"bitplane25",
"bitplane26",
"bitplane27",
"bitplane28",
"bitplane29",
"bitplane30",
"bitplane31",
"bitplane32"
]
},
"continuousPhysics" : true,
"gravity" :
{
"x" : 0,
"y" : -10
},
"image" :
[
{
"aspectScale" : 1,
"body" : 0,
"center" :
{
"x" : -0.1586313247680664,
"y" : 0.007378339767456055
},
"corners" :
{
"x" :
[
-0.6586313247680664,
0.3413686752319336,
0.3413686752319336,
-0.6586313247680664
],
"y" :
[
-0.4926216602325439,
-0.4926216602325439,
0.5073783397674561,
0.5073783397674561
]
},
"file" : "../art/characters/bee/bee_01.png",
"filter" : 1,
"glDrawElements" : [ 0, 1, 2, 2, 3, 0 ],
"glTexCoordPointer" : [ 0.0, 0.0, 1, 0.0, 1, 1, 0.0, 1 ],
"glVertexPointer" :
[
-0.6586313247680664,
-0.4926216602325439,
0.3413686752319336,
-0.4926216602325439,
0.3413686752319336,
0.5073783397674561,
-0.6586313247680664,
0.5073783397674561
],
"name" : "image0",
"opacity" : 1,
"scale" : 1
}
],
"positionIterations" : 3,
"stepsPerSecond" : 60.0,
"subStepping" : false,
"velocityIterations" : 8,
"warmStarting" : true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment