modified collision shapes

This commit is contained in:
Sara 2023-11-13 21:45:29 +01:00
parent 6f45df4d6b
commit bc1851f816
4 changed files with 12 additions and 12 deletions

View file

@ -1176,7 +1176,7 @@
{
"__cWid": 10,
"__cHei": 10,
"identifier": "cave2",
"identifier": "cave",
"uid": 1,
"relPath": "assets/sprites/cave.png",
"embedAtlas": null,
@ -1203,17 +1203,17 @@
{ "tileId": 23, "data": "{\n \"collisionShape\": [\n [0.0,0.0], [1.0,0.0], [0.5,1.0]\n ]\n}" },
{
"tileId": 30,
"data": "{\n \"collisionShape\": [\n [0.0, 0.05], [1.0, 0.0],\n [1.0, 0.8], [0.25, 0.7]\n ]\n}"
"data": "{\n \"collisionShape\": [\n [0.05, 0.0], [1.0, 0.0],\n [1.0, 0.7], [0.2, 0.65]\n ]\n}"
},
{
"tileId": 32,
"data": "{\n \"collisionShape\": [\n [0.0, 0.0], [1.0, 0.1],\n [0.8, 0.6], [0.0, 0.8]\n ]\n}"
"data": "{\n \"collisionShape\": [\n [0.0, 0.0], [0.95, 0.0],\n [0.8, 0.6], [0.0, 0.8]\n ]\n}"
}
],
"savedSelections": [],
"cachedPixelData": {
"opaqueTiles": "0000000100010011000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"averageColors": "a245f2449255b245d2340000f223f22300000000e223f223e223e223f223f223f234f223000000009223c223a2237223f223f223d244e244000000009245e244a2440000f223f223b223b223000000002166216621661166f223f223000000000000000001660166116611660000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
"opaqueTiles": "0000000100010011000000001100000000100000000000000000000000000000000000000000000000000000000000000000",
"averageColors": "a245f2449255b245d2340000f223f22300000000e223f223e223e223f223f223f234f223000000009223c223a2237223f223f223d244e24400000000a245e244a2440000f223f223b223b223000000002166216621661166f223f223000000000000000001660166116611660000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
}
},
{
@ -1255,7 +1255,7 @@
"enumTags": [],
"customData": [],
"savedSelections": [],
"cachedPixelData": { "opaqueTiles": "0000", "averageColors": "1435233423351435" }
"cachedPixelData": { "opaqueTiles": "0000", "averageColors": "2435233523351435" }
}
], "enums": [{ "identifier": "tilecollisiontype", "uid": 477, "values": [ { "id": "fullrect", "tileRect": { "tilesetUid": 3, "x": 272, "y": 272, "w": 16, "h": 16 }, "color": 16723968 }, { "id": "pointshape", "tileRect": { "tilesetUid": 3, "x": 288, "y": 48, "w": 16, "h": 16 }, "color": 8698879 } ], "iconTilesetUid": 3, "externalRelPath": null, "externalFileChecksum": null, "tags": ["Tiles"] }], "externalEnums": [], "levelFields": [] },
"levels": [

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

View file

@ -1176,7 +1176,7 @@
{
"__cWid": 10,
"__cHei": 10,
"identifier": "cave2",
"identifier": "cave",
"uid": 1,
"relPath": "assets/sprites/cave.png",
"embedAtlas": null,
@ -1203,17 +1203,17 @@
{ "tileId": 23, "data": "{\n \"collisionShape\": [\n [0.0,0.0], [1.0,0.0], [0.5,1.0]\n ]\n}" },
{
"tileId": 30,
"data": "{\n \"collisionShape\": [\n [0.0, 0.05], [1.0, 0.0],\n [1.0, 0.8], [0.25, 0.7]\n ]\n}"
"data": "{\n \"collisionShape\": [\n [0.05, 0.0], [1.0, 0.0],\n [1.0, 0.7], [0.2, 0.65]\n ]\n}"
},
{
"tileId": 32,
"data": "{\n \"collisionShape\": [\n [0.0, 0.0], [1.0, 0.1],\n [0.8, 0.6], [0.0, 0.8]\n ]\n}"
"data": "{\n \"collisionShape\": [\n [0.0, 0.0], [0.95, 0.0],\n [0.8, 0.6], [0.0, 0.8]\n ]\n}"
}
],
"savedSelections": [],
"cachedPixelData": {
"opaqueTiles": "0000000100010011000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"averageColors": "a245f2449255b245d2340000f223f22300000000e223f223e223e223f223f223f234f223000000009223c223a2237223f223f223d244e244000000009245e244a2440000f223f223b223b223000000002166216621661166f223f223000000000000000001660166116611660000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
"opaqueTiles": "0000000100010011000000001100000000100000000000000000000000000000000000000000000000000000000000000000",
"averageColors": "a245f2449255b245d2340000f223f22300000000e223f223e223e223f223f223f234f223000000009223c223a2237223f223f223d244e24400000000a245e244a2440000f223f223b223b223000000002166216621661166f223f223000000000000000001660166116611660000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"
}
},
{
@ -1255,7 +1255,7 @@
"enumTags": [],
"customData": [],
"savedSelections": [],
"cachedPixelData": { "opaqueTiles": "0000", "averageColors": "1435233423351435" }
"cachedPixelData": { "opaqueTiles": "0000", "averageColors": "2435233523351435" }
}
], "enums": [{ "identifier": "tilecollisiontype", "uid": 477, "values": [ { "id": "fullrect", "tileRect": { "tilesetUid": 3, "x": 272, "y": 272, "w": 16, "h": 16 }, "color": 16723968 }, { "id": "pointshape", "tileRect": { "tilesetUid": 3, "x": 288, "y": 48, "w": 16, "h": 16 }, "color": 8698879 } ], "iconTilesetUid": 3, "externalRelPath": null, "externalFileChecksum": null, "tags": ["Tiles"] }], "externalEnums": [], "levelFields": [] },
"levels": [