opencoil-paracity/graphics/falling-scooters/assets/fruit-shapes.json

176 lines
6.5 KiB
JSON
Executable File

{
"banana": {
"type": "fromPhysicsEditor",
"label": "banana",
"isStatic": false,
"density": 0.1,
"restitution": 0.1,
"friction": 0.1,
"frictionAir": 0.01,
"frictionStatic": 0.5,
"collisionFilter": {
"group": 0,
"category": 1,
"mask": 255
},
"fixtures": [
{
"label": "banana-fixture",
"isSensor": false,
"vertices": [
[ { "x":107, "y":2 }, { "x":95.26110076904297, "y":0.6820602416992188 }, { "x":89, "y":6 }, { "x":94.2380142211914, "y":23.872116088867188 }, { "x":104, "y":22 } ],
[ { "x":4, "y":94 }, { "x":1, "y":105 }, { "x":23.985790252685547, "y":119.92895221710205 }, { "x":50, "y":128 }, { "x":27, "y":94 } ],
[ { "x":27, "y":94 }, { "x":50, "y":128 }, { "x":79, "y":123 }, { "x":102, "y":110 }, { "x":67, "y":83 } ],
[ { "x":67, "y":83 }, { "x":102, "y":110 }, { "x":118.56483459472656, "y":88.44049835205078 }, { "x":126, "y":66 }, { "x":123, "y":40 }, { "x":91, "y":48 } ],
[ { "x":123, "y":40 }, { "x":104, "y":22 }, { "x":94.2380142211914, "y":23.872116088867188 }, { "x":91, "y":48 } ]
]
}
]
},
"cherries": {
"type": "fromPhysicsEditor",
"label": "cherries",
"isStatic": false,
"density": 0.10000000149011612,
"restitution": 0.1,
"friction": 0.10000000149011612,
"frictionAir": 0.009999999776482582,
"frictionStatic": 0.5,
"collisionFilter": {
"group": 0,
"category": 1,
"mask": 255
},
"fixtures": [
{
"label": "cherry-left",
"isSensor": false,
"circle": {
"x": 38.67625899280576,
"y": 100.92661870503598,
"radius": 25.16224146143038
}
},
{
"label": "cherry-right",
"isSensor": false,
"circle": {
"x": 97.79568345323742,
"y": 102.95251798561152,
"radius": 25.16224146143038
}
},
{
"label": "cherry-stem",
"isSensor": false,
"vertices": [
[ { "x":7, "y":8 }, { "x":32, "y":35 }, { "x":61, "y":36 }, { "x":85.0877685546875, "y":32.59856414794922 }, { "x":77, "y":19 }, { "x":58, "y":5 } ],
[ { "x":85, "y":13 }, { "x":77, "y":19 }, { "x":85.0877685546875, "y":32.59856414794922 }, { "x":93, "y":22 } ],
[ { "x":85.0877685546875, "y":32.59856414794922 }, { "x":61, "y":36 }, { "x":43, "y":58 }, { "x":41, "y":75 }, { "x":84.16690826416016, "y":53.778419494628906 } ],
[ { "x":90, "y":78 }, { "x":84.16690826416016, "y":53.778419494628906 }, { "x":41, "y":75 } ]
]
}
]
},
"crate": {
"type": "fromPhysicsEditor",
"label": "create",
"isStatic": false,
"density": 0.7999999999999999,
"restitution": 0.1,
"friction": 0.10000000149011612,
"frictionAir": 0.009999999776482582,
"frictionStatic": 0.5,
"collisionFilter": {
"group": 0,
"category": 1,
"mask": 255
},
"fixtures": [
{
"label": "crate-fixture",
"isSensor": false,
"vertices": [
[ { "x":5, "y":9 }, { "x":5.115452766418457, "y":36.0355224609375 }, { "x":8.980462074279785, "y":36.376556396484375 }, { "x":120.61101531982422, "y":38.309059143066406 }, { "x":124, "y":36 }, { "x":124, "y":9 } ],
[ { "x":8, "y":128 }, { "x":123, "y":128 }, { "x":123, "y":105 }, { "x":120.15630340576172, "y":104.46891593933105 }, { "x":10.79928970336914, "y":103.67317962646484 }, { "x":7.73001766204834, "y":104.92362403869629 } ],
[ { "x":120.15630340576172, "y":104.46891593933105 }, { "x":120.61101531982422, "y":38.309059143066406 }, { "x":8.980462074279785, "y":36.376556396484375 }, { "x":10.79928970336914, "y":103.67317962646484 } ]
]
}
]
},
"orange": {
"type": "fromPhysicsEditor",
"label": "orange",
"isStatic": false,
"density": 0.1,
"restitution": 0.1,
"friction": 0.10000000149011612,
"frictionAir": 0.009999999776482582,
"frictionStatic": 0.5,
"collisionFilter": {
"group": 0,
"category": 1,
"mask": 255
},
"fixtures": [
{
"label": "orange-fixture",
"isSensor": false,
"circle": {
"x": 64.46043165467627,
"y": 67.0388489208633,
"radius": 61.12368896735685
}
}
]
},
"ground": {
"type": "fromPhysicsEditor",
"label": "ground",
"isStatic": true,
"density": 0.10000000149011612,
"restitution": 0,
"friction": 0.10000000149011612,
"frictionAir": 0.009999999776482582,
"frictionStatic": 0.5,
"collisionFilter": {
"group": 0,
"category": 1,
"mask": 255
},
"fixtures": [
{
"label": "",
"isSensor": false,
"vertices": [
[ { "x":380, "y":524 }, { "x":351, "y":561 }, { "x":444, "y":549 } ],
[ { "x":754, "y":524 }, { "x":725, "y":561 }, { "x":833, "y":557 } ],
[ { "x":159, "y":524 }, { "x":132, "y":530 }, { "x":166, "y":537 } ],
[ { "x":857, "y":511 }, { "x":852, "y":534 }, { "x":942, "y":535 }, { "x":932, "y":517 }, { "x":890, "y":500 } ],
[ { "x":973, "y":533 }, { "x":961, "y":543 }, { "x":1200, "y":626 }, { "x":987, "y":535 } ],
[ { "x":1077, "y":448 }, { "x":1041, "y":513 }, { "x":1200, "y":626 }, { "x":1116, "y":448 } ],
[ { "x":459, "y":526 }, { "x":444, "y":549 }, { "x":610, "y":566 }, { "x":508, "y":524 } ],
[ { "x":1200, "y":340 }, { "x":1110, "y":346 }, { "x":1130, "y":416 }, { "x":1200, "y":626 } ],
[ { "x":626, "y":545 }, { "x":610, "y":566 }, { "x":725, "y":561 }, { "x":675, "y":542 } ],
[ { "x":1102, "y":360 }, { "x":1104, "y":379 }, { "x":1130, "y":416 }, { "x":1110, "y":346 } ],
[ { "x":250, "y":547 }, { "x":240, "y":566 }, { "x":351, "y":561 }, { "x":301, "y":542 } ],
[ { "x":182, "y":537 }, { "x":166, "y":537 }, { "x":201, "y":553 } ],
[ { "x":91, "y":388 }, { "x":77, "y":358 }, { "x":59, "y":340 }, { "x":0, "y":340 }, { "x":0, "y":626 }, { "x":87, "y":423 } ],
[ { "x":852, "y":534 }, { "x":833, "y":557 }, { "x":961, "y":543 }, { "x":942, "y":535 } ],
[ { "x":997, "y":522 }, { "x":987, "y":535 }, { "x":1200, "y":626 }, { "x":1041, "y":513 } ],
[ { "x":104, "y":456 }, { "x":87, "y":423 }, { "x":0, "y":626 }, { "x":106, "y":515 } ],
[ { "x":166, "y":537 }, { "x":132, "y":530 }, { "x":0, "y":626 }, { "x":201, "y":553 } ],
[ { "x":444, "y":549 }, { "x":351, "y":561 }, { "x":610, "y":566 } ],
[ { "x":106, "y":515 }, { "x":0, "y":626 }, { "x":113, "y":522 } ],
[ { "x":113, "y":522 }, { "x":0, "y":626 }, { "x":132, "y":530 } ],
[ { "x":201, "y":553 }, { "x":0, "y":626 }, { "x":240, "y":566 } ],
[ { "x":0, "y":626 }, { "x":1200, "y":626 }, { "x":610, "y":566 }, { "x":351, "y":561 }, { "x":240, "y":566 } ],
[ { "x":610, "y":566 }, { "x":1200, "y":626 }, { "x":833, "y":557 } ],
[ { "x":833, "y":557 }, { "x":1200, "y":626 }, { "x":961, "y":543 } ],
[ { "x":1116, "y":448 }, { "x":1200, "y":626 }, { "x":1130, "y":416 } ]
]
}
]
}
}