diff --git a/TODO.md b/TODO.md index b0032e7..b95a284 100644 --- a/TODO.md +++ b/TODO.md @@ -24,7 +24,10 @@ - Turn menu button in hud_system (events in level_scene!) into ebitenui button +- Obstacle don't stop at collectibles +- Player can collect collectible hidden under obstacle (should be + fixed when above is fixed) ## Collider Rework [abandoned: see branch collider-system, fails] diff --git a/assets/levels/openquell.ldtk b/assets/levels/openquell.ldtk index 3a8b5ae..c5e4f0d 100644 --- a/assets/levels/openquell.ldtk +++ b/assets/levels/openquell.ldtk @@ -11,7 +11,7 @@ "iid": "267e9380-d7b0-11ee-a97e-35bec9c19d52", "jsonVersion": "1.5.3", "appBuildId": 473703, - "nextUid": 33, + "nextUid": 40, "identifierStyle": "Capitalize", "toc": [], "worldLayout": "Free", @@ -147,6 +147,41 @@ "pivotY": 0, "fieldDefs": [] }, + { + "identifier": "PlayerSecondary", + "uid": 36, + "tags": [], + "exportToToc": false, + "allowOutOfBounds": false, + "doc": null, + "width": 32, + "height": 32, + "resizableX": false, + "resizableY": false, + "minWidth": null, + "maxWidth": null, + "minHeight": null, + "maxHeight": null, + "keepAspectRatio": false, + "tileOpacity": 1, + "fillOpacity": 0.08, + "lineOpacity": 0, + "hollow": false, + "color": "#272DC5", + "renderMode": "Tile", + "showName": true, + "tilesetId": 1, + "tileRenderMode": "FitInside", + "tileRect": { "tilesetUid": 1, "x": 64, "y": 96, "w": 32, "h": 32 }, + "uiTileRect": null, + "nineSliceBorders": [], + "maxCount": 0, + "limitScope": "PerLevel", + "limitBehavior": "MoveLastOne", + "pivotX": 0, + "pivotY": 0, + "fieldDefs": [] + }, { "identifier": "Collectible", "uid": 4, @@ -514,7 +549,7 @@ "acceptFileTypes": null, "defaultOverride": { "id": "V_String", - "params": ["Collect the golden spheres by moving the blue one"] + "params": [""] }, "textLanguageMode": null, "symmetricalRef": false, @@ -625,7 +660,7 @@ "externalRelPath": null, "fieldInstances": [ { "__identifier": "level", "__type": "Int", "__value": 1, "__tile": null, "defUid": 11, "realEditorValues": [{ "id": "V_Int", "params": [1] }] }, - { "__identifier": "description", "__type": "String", "__value": "Collect the golden spheres by moving the blue one", "__tile": null, "defUid": 12, "realEditorValues": [] }, + { "__identifier": "description", "__type": "String", "__value": "", "__tile": null, "defUid": 12, "realEditorValues": [] }, { "__identifier": "background", "__type": "String", "__value": "background-lila", "__tile": null, "defUid": 13, "realEditorValues": [] }, { "__identifier": "minmoves", "__type": "Int", "__value": 7, "__tile": null, "defUid": 14, "realEditorValues": [] } ], @@ -3504,7 +3539,7 @@ "__neighbours": [] }, { - "identifier": "Level_13", + "identifier": "One_Way_Ticket", "iid": "df3a04b0-d7b0-11ee-b56f-5371345878c2", "uid": 32, "worldX": 480, @@ -3514,7 +3549,7 @@ "pxHei": 480, "__bgColor": "#696A79", "bgColor": null, - "useAutoIdentifier": true, + "useAutoIdentifier": false, "bgRelPath": "../sprites/background-lila.png", "bgPos": "Cover", "bgPivotX": 0.5, @@ -3523,13 +3558,13 @@ "__bgPos": { "topLeftPx": [0,0], "scale": [1,1], "cropRect": [0,0,640,480] }, "externalRelPath": null, "fieldInstances": [ - { "__identifier": "level", "__type": "Int", "__value": 13, "__tile": null, "defUid": 11, "realEditorValues": [{ "id": "V_Int", "params": [13] }] }, - { "__identifier": "description", "__type": "String", "__value": "test", "__tile": null, "defUid": 12, "realEditorValues": [{ + { "__identifier": "level", "__type": "Int", "__value": 14, "__tile": null, "defUid": 11, "realEditorValues": [{ "id": "V_Int", "params": [14] }] }, + { "__identifier": "description", "__type": "String", "__value": "You can do it!", "__tile": null, "defUid": 12, "realEditorValues": [{ "id": "V_String", - "params": ["test"] + "params": ["You can do it!"] }] }, { "__identifier": "background", "__type": "String", "__value": "background-lila", "__tile": null, "defUid": 13, "realEditorValues": [] }, - { "__identifier": "minmoves", "__type": "Int", "__value": 7, "__tile": null, "defUid": 14, "realEditorValues": [] } + { "__identifier": "minmoves", "__type": "Int", "__value": 12, "__tile": null, "defUid": 14, "realEditorValues": [{ "id": "V_Int", "params": [12] }] } ], "layerInstances": [ { @@ -3558,34 +3593,146 @@ "entityInstances": [ { "__identifier": "PlayerPrimary", - "__grid": [9,7], + "__grid": [8,4], "__pivot": [0,0], "__tags": [], "__tile": { "tilesetUid": 1, "x": 32, "y": 96, "w": 32, "h": 32 }, "__smartColor": "#2F3BBE", - "iid": "f00cf6d0-d7b0-11ee-b56f-4d0f006a98b4", + "iid": "821258b0-d7b0-11ee-abff-915a4c86096e", "width": 32, "height": 32, "defUid": 3, - "px": [288,224], + "px": [256,128], "fieldInstances": [], - "__worldX": 768, + "__worldX": 736, + "__worldY": 1760 + }, + { + "__identifier": "Transient", + "__grid": [6,7], + "__pivot": [0,0], + "__tags": [], + "__tile": { "tilesetUid": 1, "x": 0, "y": 128, "w": 32, "h": 32 }, + "__smartColor": "#2CE8F5", + "iid": "93d13170-d7b0-11ee-abff-f152e686eea8", + "width": 32, + "height": 32, + "defUid": 24, + "px": [192,224], + "fieldInstances": [], + "__worldX": 672, "__worldY": 1856 }, { "__identifier": "ObstacleEast", - "__grid": [12,7], + "__grid": [16,7], "__pivot": [0,0], "__tags": [], "__tile": { "tilesetUid": 1, "x": 64, "y": 32, "w": 32, "h": 32 }, "__smartColor": "#D77643", - "iid": "f5429510-d7b0-11ee-b56f-4d263bc512ec", + "iid": "9f48fbf0-d7b0-11ee-abff-8dd00d4c3fa4", "width": 32, "height": 32, "defUid": 8, - "px": [384,224], + "px": [512,224], "fieldInstances": [], - "__worldX": 864, + "__worldX": 992, + "__worldY": 1856 + }, + { + "__identifier": "HiddenDoor", + "__grid": [5,5], + "__pivot": [0,0], + "__tags": [], + "__tile": { "tilesetUid": 1, "x": 64, "y": 0, "w": 32, "h": 32 }, + "__smartColor": "#348D3F", + "iid": "af804a50-d7b0-11ee-abff-598bc56acf85", + "width": 32, + "height": 32, + "defUid": 23, + "px": [160,160], + "fieldInstances": [], + "__worldX": 640, + "__worldY": 1792 + }, + { + "__identifier": "ObstacleEast", + "__grid": [7,10], + "__pivot": [0,0], + "__tags": [], + "__tile": { "tilesetUid": 1, "x": 64, "y": 32, "w": 32, "h": 32 }, + "__smartColor": "#D77643", + "iid": "cb94b4b0-d7b0-11ee-abff-835315d4f93f", + "width": 32, + "height": 32, + "defUid": 8, + "px": [224,320], + "fieldInstances": [], + "__worldX": 704, + "__worldY": 1952 + }, + { + "__identifier": "Collectible", + "__grid": [5,10], + "__pivot": [0,0], + "__tags": [], + "__tile": { "tilesetUid": 1, "x": 32, "y": 32, "w": 32, "h": 32 }, + "__smartColor": "#FEAE34", + "iid": "d7c4aba0-d7b0-11ee-abff-e3d544dbcc82", + "width": 32, + "height": 32, + "defUid": 4, + "px": [160,320], + "fieldInstances": [], + "__worldX": 640, + "__worldY": 1952 + }, + { + "__identifier": "Collectible", + "__grid": [6,10], + "__pivot": [0,0], + "__tags": [], + "__tile": { "tilesetUid": 1, "x": 32, "y": 32, "w": 32, "h": 32 }, + "__smartColor": "#FEAE34", + "iid": "d8bc2b00-d7b0-11ee-abff-ad5e8ed6b553", + "width": 32, + "height": 32, + "defUid": 4, + "px": [192,320], + "fieldInstances": [], + "__worldX": 672, + "__worldY": 1952 + }, + { + "__identifier": "Transient", + "__grid": [6,3], + "__pivot": [0,0], + "__tags": [], + "__tile": { "tilesetUid": 1, "x": 0, "y": 128, "w": 32, "h": 32 }, + "__smartColor": "#2CE8F5", + "iid": "f6259e10-d7b0-11ee-abff-61e9db8d37d0", + "width": 32, + "height": 32, + "defUid": 24, + "px": [192,96], + "fieldInstances": [], + "__worldX": 672, + "__worldY": 1728 + }, + { + "__identifier": "Collectible", + "__grid": [13,7], + "__pivot": [0,0], + "__tags": [], + "__tile": { "tilesetUid": 1, "x": 32, "y": 32, "w": 32, "h": 32 }, + "__smartColor": "#FEAE34", + "iid": "07ebf0e0-d7b0-11ee-abff-798296fd50b0", + "width": 32, + "height": 32, + "defUid": 4, + "px": [416,224], + "fieldInstances": [], + "__worldX": 896, "__worldY": 1856 } ] @@ -3612,7 +3759,1636 @@ "autoLayerTiles": [], "seed": 2843103, "overrideTilesetUid": null, - "gridTiles": [{ "px": [352,320], "src": [64,0], "f": 0, "t": 2, "d": [211], "a": 1 }], + "gridTiles": [ + { "px": [128,64], "src": [64,0], "f": 0, "t": 2, "d": [44], "a": 1 }, + { "px": [160,64], "src": [64,0], "f": 0, "t": 2, "d": [45], "a": 1 }, + { "px": [192,64], "src": [64,0], "f": 0, "t": 2, "d": [46], "a": 1 }, + { "px": [224,64], "src": [64,0], "f": 0, "t": 2, "d": [47], "a": 1 }, + { "px": [256,64], "src": [64,0], "f": 0, "t": 2, "d": [48], "a": 1 }, + { "px": [288,64], "src": [64,0], "f": 0, "t": 2, "d": [49], "a": 1 }, + { "px": [96,96], "src": [64,0], "f": 0, "t": 2, "d": [63], "a": 1 }, + { "px": [320,96], "src": [64,0], "f": 0, "t": 2, "d": [70], "a": 1 }, + { "px": [96,128], "src": [64,0], "f": 0, "t": 2, "d": [83], "a": 1 }, + { "px": [192,128], "src": [64,0], "f": 0, "t": 2, "d": [86], "a": 1 }, + { "px": [352,128], "src": [64,0], "f": 0, "t": 2, "d": [91], "a": 1 }, + { "px": [96,160], "src": [64,0], "f": 0, "t": 2, "d": [103], "a": 1 }, + { "px": [128,160], "src": [64,0], "f": 0, "t": 2, "d": [104], "a": 1 }, + { "px": [192,160], "src": [64,0], "f": 0, "t": 2, "d": [106], "a": 1 }, + { "px": [384,160], "src": [64,0], "f": 0, "t": 2, "d": [112], "a": 1 }, + { "px": [416,160], "src": [64,0], "f": 0, "t": 2, "d": [113], "a": 1 }, + { "px": [448,160], "src": [64,0], "f": 0, "t": 2, "d": [114], "a": 1 }, + { "px": [96,192], "src": [64,0], "f": 0, "t": 2, "d": [123], "a": 1 }, + { "px": [192,192], "src": [64,0], "f": 0, "t": 2, "d": [126], "a": 1 }, + { "px": [416,192], "src": [64,0], "f": 0, "t": 2, "d": [133], "a": 1 }, + { "px": [448,192], "src": [64,0], "f": 0, "t": 2, "d": [134], "a": 1 }, + { "px": [480,192], "src": [64,0], "f": 0, "t": 2, "d": [135], "a": 1 }, + { "px": [512,192], "src": [64,0], "f": 0, "t": 2, "d": [136], "a": 1 }, + { "px": [128,256], "src": [64,0], "f": 0, "t": 2, "d": [164], "a": 1 }, + { "px": [192,256], "src": [64,0], "f": 0, "t": 2, "d": [166], "a": 1 }, + { "px": [224,256], "src": [64,0], "f": 0, "t": 2, "d": [167], "a": 1 }, + { "px": [416,256], "src": [64,0], "f": 0, "t": 2, "d": [173], "a": 1 }, + { "px": [448,256], "src": [64,0], "f": 0, "t": 2, "d": [174], "a": 1 }, + { "px": [480,256], "src": [64,0], "f": 0, "t": 2, "d": [175], "a": 1 }, + { "px": [512,256], "src": [64,0], "f": 0, "t": 2, "d": [176], "a": 1 }, + { "px": [128,288], "src": [64,0], "f": 0, "t": 2, "d": [184], "a": 1 }, + { "px": [224,288], "src": [64,0], "f": 0, "t": 2, "d": [187], "a": 1 }, + { "px": [384,288], "src": [64,0], "f": 0, "t": 2, "d": [192], "a": 1 }, + { "px": [416,288], "src": [64,0], "f": 0, "t": 2, "d": [193], "a": 1 }, + { "px": [448,288], "src": [64,0], "f": 0, "t": 2, "d": [194], "a": 1 }, + { "px": [128,320], "src": [64,0], "f": 0, "t": 2, "d": [204], "a": 1 }, + { "px": [352,320], "src": [64,0], "f": 0, "t": 2, "d": [211], "a": 1 }, + { "px": [128,352], "src": [64,0], "f": 0, "t": 2, "d": [224], "a": 1 }, + { "px": [160,352], "src": [64,0], "f": 0, "t": 2, "d": [225], "a": 1 }, + { "px": [192,352], "src": [64,0], "f": 0, "t": 2, "d": [226], "a": 1 }, + { "px": [224,352], "src": [64,0], "f": 0, "t": 2, "d": [227], "a": 1 }, + { "px": [320,352], "src": [64,0], "f": 0, "t": 2, "d": [230], "a": 1 }, + { "px": [224,384], "src": [64,0], "f": 0, "t": 2, "d": [247], "a": 1 }, + { "px": [256,384], "src": [64,0], "f": 0, "t": 2, "d": [248], "a": 1 }, + { "px": [288,384], "src": [64,0], "f": 0, "t": 2, "d": [249], "a": 1 } + ], + "entityInstances": [] + } + ], + "__neighbours": [] + }, + { + "identifier": "Tunnels", + "iid": "532dd730-d7b0-11ee-abff-df44beeaba0f", + "uid": 33, + "worldX": 1184, + "worldY": 1632, + "worldDepth": 0, + "pxWid": 640, + "pxHei": 480, + "__bgColor": "#696A79", + "bgColor": null, + "useAutoIdentifier": false, + "bgRelPath": "../sprites/background-lila.png", + "bgPos": "Cover", + "bgPivotX": 0.5, + "bgPivotY": 0.5, + "__smartColor": "#ADADB5", + "__bgPos": { "topLeftPx": [0,0], "scale": [1,1], "cropRect": [0,0,640,480] }, + "externalRelPath": null, + "fieldInstances": [ + { "__identifier": "level", "__type": "Int", "__value": 15, "__tile": null, "defUid": 11, "realEditorValues": [{ "id": "V_Int", "params": [15] }] }, + { "__identifier": "description", "__type": "String", "__value": "", "__tile": null, "defUid": 12, "realEditorValues": [] }, + { "__identifier": "background", "__type": "String", "__value": "background-lila", "__tile": null, "defUid": 13, "realEditorValues": [] }, + { "__identifier": "minmoves", "__type": "Int", "__value": 23, "__tile": null, "defUid": 14, "realEditorValues": [{ "id": "V_Int", "params": [23] }] } + ], + "layerInstances": [ + { + "__identifier": "Entities", + "__type": "Entities", + "__cWid": 20, + "__cHei": 15, + "__gridSize": 32, + "__opacity": 1, + "__pxTotalOffsetX": 0, + "__pxTotalOffsetY": 0, + "__tilesetDefUid": null, + "__tilesetRelPath": null, + "iid": "532dd731-d7b0-11ee-abff-0747fcc2eba0", + "levelId": 33, + "layerDefUid": 5, + "pxOffsetX": 0, + "pxOffsetY": 0, + "visible": true, + "optionalRules": [], + "intGridCsv": [], + "autoLayerTiles": [], + "seed": 1365329, + "overrideTilesetUid": null, + "gridTiles": [], + "entityInstances": [ + { + "__identifier": "ObstacleEast", + "__grid": [14,12], + "__pivot": [0,0], + "__tags": [], + "__tile": { "tilesetUid": 1, "x": 64, "y": 32, "w": 32, "h": 32 }, + "__smartColor": "#D77643", + "iid": "b18091b0-d7b0-11ee-abff-734b1d542671", + "width": 32, + "height": 32, + "defUid": 8, + "px": [448,384], + "fieldInstances": [], + "__worldX": 1632, + "__worldY": 2016 + }, + { + "__identifier": "HiddenDoor", + "__grid": [13,11], + "__pivot": [0,0], + "__tags": [], + "__tile": { "tilesetUid": 1, "x": 64, "y": 0, "w": 32, "h": 32 }, + "__smartColor": "#348D3F", + "iid": "b6cc7710-d7b0-11ee-abff-69bfcb896bca", + "width": 32, + "height": 32, + "defUid": 23, + "px": [416,352], + "fieldInstances": [], + "__worldX": 1600, + "__worldY": 1984 + }, + { + "__identifier": "PlayerPrimary", + "__grid": [17,12], + "__pivot": [0,0], + "__tags": [], + "__tile": { "tilesetUid": 1, "x": 32, "y": 96, "w": 32, "h": 32 }, + "__smartColor": "#2F3BBE", + "iid": "e9731430-d7b0-11ee-abff-45c7c02abccc", + "width": 32, + "height": 32, + "defUid": 3, + "px": [544,384], + "fieldInstances": [], + "__worldX": 1728, + "__worldY": 2016 + }, + { + "__identifier": "Transient", + "__grid": [2,7], + "__pivot": [0,0], + "__tags": [], + "__tile": { "tilesetUid": 1, "x": 0, "y": 128, "w": 32, "h": 32 }, + "__smartColor": "#2CE8F5", + "iid": "ff7f4e10-d7b0-11ee-abff-b9e129e621a3", + "width": 32, + "height": 32, + "defUid": 24, + "px": [64,224], + "fieldInstances": [], + "__worldX": 1248, + "__worldY": 1856 + }, + { + "__identifier": "Collectible", + "__grid": [15,10], + "__pivot": [0,0], + "__tags": [], + "__tile": { "tilesetUid": 1, "x": 32, "y": 32, "w": 32, "h": 32 }, + "__smartColor": "#FEAE34", + "iid": "0bf5c3e0-d7b0-11ee-abff-9b99ef5a36bd", + "width": 32, + "height": 32, + "defUid": 4, + "px": [480,320], + "fieldInstances": [], + "__worldX": 1664, + "__worldY": 1952 + }, + { + "__identifier": "HiddenDoor", + "__grid": [3,8], + "__pivot": [0,0], + "__tags": [], + "__tile": { "tilesetUid": 1, "x": 64, "y": 0, "w": 32, "h": 32 }, + "__smartColor": "#348D3F", + "iid": "1da1b0e0-d7b0-11ee-abff-1952f388641f", + "width": 32, + "height": 32, + "defUid": 23, + "px": [96,256], + "fieldInstances": [], + "__worldX": 1280, + "__worldY": 1888 + }, + { + "__identifier": "Transient", + "__grid": [4,5], + "__pivot": [0,0], + "__tags": [], + "__tile": { "tilesetUid": 1, "x": 0, "y": 128, "w": 32, "h": 32 }, + "__smartColor": "#2CE8F5", + "iid": "29c21770-d7b0-11ee-abff-b50fc6d9e2f4", + "width": 32, + "height": 32, + "defUid": 24, + "px": [128,160], + "fieldInstances": [], + "__worldX": 1312, + "__worldY": 1792 + }, + { + "__identifier": "Collectible", + "__grid": [9,6], + "__pivot": [0,0], + "__tags": [], + "__tile": { "tilesetUid": 1, "x": 32, "y": 32, "w": 32, "h": 32 }, + "__smartColor": "#FEAE34", + "iid": "4e1d7ec0-d7b0-11ee-abff-259725ea147a", + "width": 32, + "height": 32, + "defUid": 4, + "px": [288,192], + "fieldInstances": [], + "__worldX": 1472, + "__worldY": 1824 + }, + { + "__identifier": "ObstacleWest", + "__grid": [11,6], + "__pivot": [0,0], + "__tags": [], + "__tile": { "tilesetUid": 1, "x": 0, "y": 96, "w": 32, "h": 32 }, + "__smartColor": "#BE4A2F", + "iid": "87d1d580-d7b0-11ee-abff-ff50c675e3aa", + "width": 32, + "height": 32, + "defUid": 7, + "px": [352,192], + "fieldInstances": [], + "__worldX": 1536, + "__worldY": 1824 + }, + { + "__identifier": "Collectible", + "__grid": [11,4], + "__pivot": [0,0], + "__tags": [], + "__tile": { "tilesetUid": 1, "x": 32, "y": 32, "w": 32, "h": 32 }, + "__smartColor": "#FEAE34", + "iid": "3d936000-d7b0-11ee-abff-c5bd27851004", + "width": 32, + "height": 32, + "defUid": 4, + "px": [352,128], + "fieldInstances": [], + "__worldX": 1536, + "__worldY": 1760 + }, + { + "__identifier": "Collectible", + "__grid": [6,9], + "__pivot": [0,0], + "__tags": [], + "__tile": { "tilesetUid": 1, "x": 32, "y": 32, "w": 32, "h": 32 }, + "__smartColor": "#FEAE34", + "iid": "401db460-d7b0-11ee-abff-df18cc278d81", + "width": 32, + "height": 32, + "defUid": 4, + "px": [192,288], + "fieldInstances": [], + "__worldX": 1376, + "__worldY": 1920 + } + ] + }, + { + "__identifier": "Tiles", + "__type": "Tiles", + "__cWid": 20, + "__cHei": 15, + "__gridSize": 32, + "__opacity": 1, + "__pxTotalOffsetX": 0, + "__pxTotalOffsetY": 0, + "__tilesetDefUid": 1, + "__tilesetRelPath": "../sprites/map.png", + "iid": "532dd732-d7b0-11ee-abff-bb576826e627", + "levelId": 33, + "layerDefUid": 2, + "pxOffsetX": 0, + "pxOffsetY": 0, + "visible": true, + "optionalRules": [], + "intGridCsv": [], + "autoLayerTiles": [], + "seed": 7452728, + "overrideTilesetUid": null, + "gridTiles": [ + { "px": [32,32], "src": [64,0], "f": 0, "t": 2, "d": [21], "a": 1 }, + { "px": [64,32], "src": [64,0], "f": 0, "t": 2, "d": [22], "a": 1 }, + { "px": [96,32], "src": [64,0], "f": 0, "t": 2, "d": [23], "a": 1 }, + { "px": [128,32], "src": [64,0], "f": 0, "t": 2, "d": [24], "a": 1 }, + { "px": [160,32], "src": [64,0], "f": 0, "t": 2, "d": [25], "a": 1 }, + { "px": [192,32], "src": [64,0], "f": 0, "t": 2, "d": [26], "a": 1 }, + { "px": [224,32], "src": [64,0], "f": 0, "t": 2, "d": [27], "a": 1 }, + { "px": [256,32], "src": [64,0], "f": 0, "t": 2, "d": [28], "a": 1 }, + { "px": [288,32], "src": [64,0], "f": 0, "t": 2, "d": [29], "a": 1 }, + { "px": [320,32], "src": [64,0], "f": 0, "t": 2, "d": [30], "a": 1 }, + { "px": [352,32], "src": [64,0], "f": 0, "t": 2, "d": [31], "a": 1 }, + { "px": [384,32], "src": [64,0], "f": 0, "t": 2, "d": [32], "a": 1 }, + { "px": [416,32], "src": [64,0], "f": 0, "t": 2, "d": [33], "a": 1 }, + { "px": [448,32], "src": [64,0], "f": 0, "t": 2, "d": [34], "a": 1 }, + { "px": [480,32], "src": [64,0], "f": 0, "t": 2, "d": [35], "a": 1 }, + { "px": [512,32], "src": [64,0], "f": 0, "t": 2, "d": [36], "a": 1 }, + { "px": [544,32], "src": [64,0], "f": 0, "t": 2, "d": [37], "a": 1 }, + { "px": [576,32], "src": [64,0], "f": 0, "t": 2, "d": [38], "a": 1 }, + { "px": [32,64], "src": [64,0], "f": 0, "t": 2, "d": [41], "a": 1 }, + { "px": [576,64], "src": [64,0], "f": 0, "t": 2, "d": [58], "a": 1 }, + { "px": [32,96], "src": [64,0], "f": 0, "t": 2, "d": [61], "a": 1 }, + { "px": [96,96], "src": [64,0], "f": 0, "t": 2, "d": [63], "a": 1 }, + { "px": [128,96], "src": [64,0], "f": 0, "t": 2, "d": [64], "a": 1 }, + { "px": [160,96], "src": [64,0], "f": 0, "t": 2, "d": [65], "a": 1 }, + { "px": [192,96], "src": [64,0], "f": 0, "t": 2, "d": [66], "a": 1 }, + { "px": [224,96], "src": [64,0], "f": 0, "t": 2, "d": [67], "a": 1 }, + { "px": [256,96], "src": [64,0], "f": 0, "t": 2, "d": [68], "a": 1 }, + { "px": [288,96], "src": [64,0], "f": 0, "t": 2, "d": [69], "a": 1 }, + { "px": [320,96], "src": [64,0], "f": 0, "t": 2, "d": [70], "a": 1 }, + { "px": [352,96], "src": [64,0], "f": 0, "t": 2, "d": [71], "a": 1 }, + { "px": [384,96], "src": [64,0], "f": 0, "t": 2, "d": [72], "a": 1 }, + { "px": [416,96], "src": [64,0], "f": 0, "t": 2, "d": [73], "a": 1 }, + { "px": [448,96], "src": [64,0], "f": 0, "t": 2, "d": [74], "a": 1 }, + { "px": [480,96], "src": [64,0], "f": 0, "t": 2, "d": [75], "a": 1 }, + { "px": [512,96], "src": [64,0], "f": 0, "t": 2, "d": [76], "a": 1 }, + { "px": [576,96], "src": [64,0], "f": 0, "t": 2, "d": [78], "a": 1 }, + { "px": [32,128], "src": [64,0], "f": 0, "t": 2, "d": [81], "a": 1 }, + { "px": [96,128], "src": [64,0], "f": 0, "t": 2, "d": [83], "a": 1 }, + { "px": [384,128], "src": [64,0], "f": 0, "t": 2, "d": [92], "a": 1 }, + { "px": [512,128], "src": [64,0], "f": 0, "t": 2, "d": [96], "a": 1 }, + { "px": [576,128], "src": [64,0], "f": 0, "t": 2, "d": [98], "a": 1 }, + { "px": [32,160], "src": [64,0], "f": 0, "t": 2, "d": [101], "a": 1 }, + { "px": [96,160], "src": [64,0], "f": 0, "t": 2, "d": [103], "a": 1 }, + { "px": [160,160], "src": [64,0], "f": 0, "t": 2, "d": [105], "a": 1 }, + { "px": [192,160], "src": [64,0], "f": 0, "t": 2, "d": [106], "a": 1 }, + { "px": [224,160], "src": [64,0], "f": 0, "t": 2, "d": [107], "a": 1 }, + { "px": [256,160], "src": [64,0], "f": 0, "t": 2, "d": [108], "a": 1 }, + { "px": [288,160], "src": [64,0], "f": 0, "t": 2, "d": [109], "a": 1 }, + { "px": [320,160], "src": [64,0], "f": 0, "t": 2, "d": [110], "a": 1 }, + { "px": [384,160], "src": [64,0], "f": 0, "t": 2, "d": [112], "a": 1 }, + { "px": [448,160], "src": [64,0], "f": 0, "t": 2, "d": [114], "a": 1 }, + { "px": [512,160], "src": [64,0], "f": 0, "t": 2, "d": [116], "a": 1 }, + { "px": [576,160], "src": [64,0], "f": 0, "t": 2, "d": [118], "a": 1 }, + { "px": [32,192], "src": [64,0], "f": 0, "t": 2, "d": [121], "a": 1 }, + { "px": [96,192], "src": [64,0], "f": 0, "t": 2, "d": [123], "a": 1 }, + { "px": [160,192], "src": [64,0], "f": 0, "t": 2, "d": [125], "a": 1 }, + { "px": [320,192], "src": [64,0], "f": 0, "t": 2, "d": [130], "a": 1 }, + { "px": [384,192], "src": [64,0], "f": 0, "t": 2, "d": [132], "a": 1 }, + { "px": [448,192], "src": [64,0], "f": 0, "t": 2, "d": [134], "a": 1 }, + { "px": [512,192], "src": [64,0], "f": 0, "t": 2, "d": [136], "a": 1 }, + { "px": [576,192], "src": [64,0], "f": 0, "t": 2, "d": [138], "a": 1 }, + { "px": [32,224], "src": [64,0], "f": 0, "t": 2, "d": [141], "a": 1 }, + { "px": [96,224], "src": [64,0], "f": 0, "t": 2, "d": [143], "a": 1 }, + { "px": [160,224], "src": [64,0], "f": 0, "t": 2, "d": [145], "a": 1 }, + { "px": [224,224], "src": [64,0], "f": 0, "t": 2, "d": [147], "a": 1 }, + { "px": [256,224], "src": [64,0], "f": 0, "t": 2, "d": [148], "a": 1 }, + { "px": [288,224], "src": [64,0], "f": 0, "t": 2, "d": [149], "a": 1 }, + { "px": [320,224], "src": [64,0], "f": 0, "t": 2, "d": [150], "a": 1 }, + { "px": [384,224], "src": [64,0], "f": 0, "t": 2, "d": [152], "a": 1 }, + { "px": [448,224], "src": [64,0], "f": 0, "t": 2, "d": [154], "a": 1 }, + { "px": [512,224], "src": [64,0], "f": 0, "t": 2, "d": [156], "a": 1 }, + { "px": [576,224], "src": [64,0], "f": 0, "t": 2, "d": [158], "a": 1 }, + { "px": [32,256], "src": [64,0], "f": 0, "t": 2, "d": [161], "a": 1 }, + { "px": [160,256], "src": [64,0], "f": 0, "t": 2, "d": [165], "a": 1 }, + { "px": [384,256], "src": [64,0], "f": 0, "t": 2, "d": [172], "a": 1 }, + { "px": [448,256], "src": [64,0], "f": 0, "t": 2, "d": [174], "a": 1 }, + { "px": [512,256], "src": [64,0], "f": 0, "t": 2, "d": [176], "a": 1 }, + { "px": [576,256], "src": [64,0], "f": 0, "t": 2, "d": [178], "a": 1 }, + { "px": [32,288], "src": [64,0], "f": 0, "t": 2, "d": [181], "a": 1 }, + { "px": [96,288], "src": [64,0], "f": 0, "t": 2, "d": [183], "a": 1 }, + { "px": [160,288], "src": [64,0], "f": 0, "t": 2, "d": [185], "a": 1 }, + { "px": [224,288], "src": [64,0], "f": 0, "t": 2, "d": [187], "a": 1 }, + { "px": [256,288], "src": [64,0], "f": 0, "t": 2, "d": [188], "a": 1 }, + { "px": [288,288], "src": [64,0], "f": 0, "t": 2, "d": [189], "a": 1 }, + { "px": [384,288], "src": [64,0], "f": 0, "t": 2, "d": [192], "a": 1 }, + { "px": [448,288], "src": [64,0], "f": 0, "t": 2, "d": [194], "a": 1 }, + { "px": [512,288], "src": [64,0], "f": 0, "t": 2, "d": [196], "a": 1 }, + { "px": [576,288], "src": [64,0], "f": 0, "t": 2, "d": [198], "a": 1 }, + { "px": [32,320], "src": [64,0], "f": 0, "t": 2, "d": [201], "a": 1 }, + { "px": [96,320], "src": [64,0], "f": 0, "t": 2, "d": [203], "a": 1 }, + { "px": [384,320], "src": [64,0], "f": 0, "t": 2, "d": [212], "a": 1 }, + { "px": [448,320], "src": [64,0], "f": 0, "t": 2, "d": [214], "a": 1 }, + { "px": [512,320], "src": [64,0], "f": 0, "t": 2, "d": [216], "a": 1 }, + { "px": [576,320], "src": [64,0], "f": 0, "t": 2, "d": [218], "a": 1 }, + { "px": [32,352], "src": [64,0], "f": 0, "t": 2, "d": [221], "a": 1 }, + { "px": [96,352], "src": [64,0], "f": 0, "t": 2, "d": [223], "a": 1 }, + { "px": [128,352], "src": [64,0], "f": 0, "t": 2, "d": [224], "a": 1 }, + { "px": [160,352], "src": [64,0], "f": 0, "t": 2, "d": [225], "a": 1 }, + { "px": [192,352], "src": [64,0], "f": 0, "t": 2, "d": [226], "a": 1 }, + { "px": [224,352], "src": [64,0], "f": 0, "t": 2, "d": [227], "a": 1 }, + { "px": [256,352], "src": [64,0], "f": 0, "t": 2, "d": [228], "a": 1 }, + { "px": [288,352], "src": [64,0], "f": 0, "t": 2, "d": [229], "a": 1 }, + { "px": [320,352], "src": [64,0], "f": 0, "t": 2, "d": [230], "a": 1 }, + { "px": [352,352], "src": [64,0], "f": 0, "t": 2, "d": [231], "a": 1 }, + { "px": [384,352], "src": [64,0], "f": 0, "t": 2, "d": [232], "a": 1 }, + { "px": [448,352], "src": [64,0], "f": 0, "t": 2, "d": [234], "a": 1 }, + { "px": [480,352], "src": [64,0], "f": 0, "t": 2, "d": [235], "a": 1 }, + { "px": [512,352], "src": [64,0], "f": 0, "t": 2, "d": [236], "a": 1 }, + { "px": [576,352], "src": [64,0], "f": 0, "t": 2, "d": [238], "a": 1 }, + { "px": [32,384], "src": [64,0], "f": 0, "t": 2, "d": [241], "a": 1 }, + { "px": [512,384], "src": [64,0], "f": 0, "t": 2, "d": [256], "a": 1 }, + { "px": [576,384], "src": [64,0], "f": 0, "t": 2, "d": [258], "a": 1 }, + { "px": [32,416], "src": [64,0], "f": 0, "t": 2, "d": [261], "a": 1 }, + { "px": [64,416], "src": [64,0], "f": 0, "t": 2, "d": [262], "a": 1 }, + { "px": [96,416], "src": [64,0], "f": 0, "t": 2, "d": [263], "a": 1 }, + { "px": [128,416], "src": [64,0], "f": 0, "t": 2, "d": [264], "a": 1 }, + { "px": [160,416], "src": [64,0], "f": 0, "t": 2, "d": [265], "a": 1 }, + { "px": [192,416], "src": [64,0], "f": 0, "t": 2, "d": [266], "a": 1 }, + { "px": [224,416], "src": [64,0], "f": 0, "t": 2, "d": [267], "a": 1 }, + { "px": [256,416], "src": [64,0], "f": 0, "t": 2, "d": [268], "a": 1 }, + { "px": [288,416], "src": [64,0], "f": 0, "t": 2, "d": [269], "a": 1 }, + { "px": [320,416], "src": [64,0], "f": 0, "t": 2, "d": [270], "a": 1 }, + { "px": [352,416], "src": [64,0], "f": 0, "t": 2, "d": [271], "a": 1 }, + { "px": [384,416], "src": [64,0], "f": 0, "t": 2, "d": [272], "a": 1 }, + { "px": [416,416], "src": [64,0], "f": 0, "t": 2, "d": [273], "a": 1 }, + { "px": [448,416], "src": [64,0], "f": 0, "t": 2, "d": [274], "a": 1 }, + { "px": [480,416], "src": [64,0], "f": 0, "t": 2, "d": [275], "a": 1 }, + { "px": [512,416], "src": [64,0], "f": 0, "t": 2, "d": [276], "a": 1 }, + { "px": [544,416], "src": [64,0], "f": 0, "t": 2, "d": [277], "a": 1 }, + { "px": [576,416], "src": [64,0], "f": 0, "t": 2, "d": [278], "a": 1 } + ], + "entityInstances": [] + } + ], + "__neighbours": [] + }, + { + "identifier": "Unfriendly", + "iid": "6b268ce0-d7b0-11ee-abff-ed697e36bd4b", + "uid": 34, + "worldX": 1888, + "worldY": 1632, + "worldDepth": 0, + "pxWid": 640, + "pxHei": 480, + "__bgColor": "#696A79", + "bgColor": null, + "useAutoIdentifier": false, + "bgRelPath": "../sprites/background-lila.png", + "bgPos": "Cover", + "bgPivotX": 0.5, + "bgPivotY": 0.5, + "__smartColor": "#ADADB5", + "__bgPos": { "topLeftPx": [0,0], "scale": [1,1], "cropRect": [0,0,640,480] }, + "externalRelPath": null, + "fieldInstances": [ + { "__identifier": "level", "__type": "Int", "__value": 16, "__tile": null, "defUid": 11, "realEditorValues": [{ "id": "V_Int", "params": [16] }] }, + { "__identifier": "description", "__type": "String", "__value": "", "__tile": null, "defUid": 12, "realEditorValues": [] }, + { "__identifier": "background", "__type": "String", "__value": "background-lila", "__tile": null, "defUid": 13, "realEditorValues": [] }, + { "__identifier": "minmoves", "__type": "Int", "__value": 5, "__tile": null, "defUid": 14, "realEditorValues": [{ "id": "V_Int", "params": [5] }] } + ], + "layerInstances": [ + { + "__identifier": "Entities", + "__type": "Entities", + "__cWid": 20, + "__cHei": 15, + "__gridSize": 32, + "__opacity": 1, + "__pxTotalOffsetX": 0, + "__pxTotalOffsetY": 0, + "__tilesetDefUid": null, + "__tilesetRelPath": null, + "iid": "6b268ce1-d7b0-11ee-abff-35f51da732dc", + "levelId": 34, + "layerDefUid": 5, + "pxOffsetX": 0, + "pxOffsetY": 0, + "visible": true, + "optionalRules": [], + "intGridCsv": [], + "autoLayerTiles": [], + "seed": 3491302, + "overrideTilesetUid": null, + "gridTiles": [], + "entityInstances": [ + { + "__identifier": "Transient", + "__grid": [13,3], + "__pivot": [0,0], + "__tags": [], + "__tile": { "tilesetUid": 1, "x": 0, "y": 128, "w": 32, "h": 32 }, + "__smartColor": "#2CE8F5", + "iid": "a5e1f360-d7b0-11ee-abff-7b5a00bcd61c", + "width": 32, + "height": 32, + "defUid": 24, + "px": [416,96], + "fieldInstances": [], + "__worldX": 2304, + "__worldY": 1728 + }, + { + "__identifier": "Transient", + "__grid": [13,11], + "__pivot": [0,0], + "__tags": [], + "__tile": { "tilesetUid": 1, "x": 0, "y": 128, "w": 32, "h": 32 }, + "__smartColor": "#2CE8F5", + "iid": "a6dc31e0-d7b0-11ee-abff-6b53e30f792e", + "width": 32, + "height": 32, + "defUid": 24, + "px": [416,352], + "fieldInstances": [], + "__worldX": 2304, + "__worldY": 1984 + }, + { + "__identifier": "PlayerPrimary", + "__grid": [13,7], + "__pivot": [0,0], + "__tags": [], + "__tile": { "tilesetUid": 1, "x": 32, "y": 96, "w": 32, "h": 32 }, + "__smartColor": "#2F3BBE", + "iid": "aa1dc850-d7b0-11ee-abff-331df4f5bc80", + "width": 32, + "height": 32, + "defUid": 3, + "px": [416,224], + "fieldInstances": [], + "__worldX": 2304, + "__worldY": 1856 + }, + { + "__identifier": "ObstacleSouth", + "__grid": [13,5], + "__pivot": [0,0], + "__tags": [], + "__tile": { "tilesetUid": 1, "x": 32, "y": 64, "w": 32, "h": 32 }, + "__smartColor": "#E43B44", + "iid": "beeb8ec0-d7b0-11ee-abff-43c76f04a78a", + "width": 32, + "height": 32, + "defUid": 10, + "px": [416,160], + "fieldInstances": [], + "__worldX": 2304, + "__worldY": 1792 + }, + { + "__identifier": "Transient", + "__grid": [9,4], + "__pivot": [0,0], + "__tags": [], + "__tile": { "tilesetUid": 1, "x": 0, "y": 128, "w": 32, "h": 32 }, + "__smartColor": "#2CE8F5", + "iid": "cff918e0-d7b0-11ee-abff-b1e087436314", + "width": 32, + "height": 32, + "defUid": 24, + "px": [288,128], + "fieldInstances": [], + "__worldX": 2176, + "__worldY": 1760 + }, + { + "__identifier": "Transient", + "__grid": [6,8], + "__pivot": [0,0], + "__tags": [], + "__tile": { "tilesetUid": 1, "x": 0, "y": 128, "w": 32, "h": 32 }, + "__smartColor": "#2CE8F5", + "iid": "0b499370-d7b0-11ee-abff-c35f71af2577", + "width": 32, + "height": 32, + "defUid": 24, + "px": [192,256], + "fieldInstances": [], + "__worldX": 2080, + "__worldY": 1888 + }, + { + "__identifier": "Transient", + "__grid": [15,9], + "__pivot": [0,0], + "__tags": [], + "__tile": { "tilesetUid": 1, "x": 0, "y": 128, "w": 32, "h": 32 }, + "__smartColor": "#2CE8F5", + "iid": "ac51c9e0-d7b0-11ee-abff-5d5489abbc5f", + "width": 32, + "height": 32, + "defUid": 24, + "px": [480,288], + "fieldInstances": [], + "__worldX": 2368, + "__worldY": 1920 + }, + { + "__identifier": "Transient", + "__grid": [15,2], + "__pivot": [0,0], + "__tags": [], + "__tile": { "tilesetUid": 1, "x": 0, "y": 128, "w": 32, "h": 32 }, + "__smartColor": "#2CE8F5", + "iid": "ad9f0a60-d7b0-11ee-abff-63fecbd829a6", + "width": 32, + "height": 32, + "defUid": 24, + "px": [480,64], + "fieldInstances": [], + "__worldX": 2368, + "__worldY": 1696 + }, + { + "__identifier": "Transient", + "__grid": [16,4], + "__pivot": [0,0], + "__tags": [], + "__tile": { "tilesetUid": 1, "x": 0, "y": 128, "w": 32, "h": 32 }, + "__smartColor": "#2CE8F5", + "iid": "ae9ec720-d7b0-11ee-abff-45e10e8bf9ba", + "width": 32, + "height": 32, + "defUid": 24, + "px": [512,128], + "fieldInstances": [], + "__worldX": 2400, + "__worldY": 1760 + }, + { + "__identifier": "Collectible", + "__grid": [7,6], + "__pivot": [0,0], + "__tags": [], + "__tile": { "tilesetUid": 1, "x": 32, "y": 32, "w": 32, "h": 32 }, + "__smartColor": "#FEAE34", + "iid": "c14dcc40-d7b0-11ee-abff-bd1799f8848d", + "width": 32, + "height": 32, + "defUid": 4, + "px": [224,192], + "fieldInstances": [], + "__worldX": 2112, + "__worldY": 1824 + } + ] + }, + { + "__identifier": "Tiles", + "__type": "Tiles", + "__cWid": 20, + "__cHei": 15, + "__gridSize": 32, + "__opacity": 1, + "__pxTotalOffsetX": 0, + "__pxTotalOffsetY": 0, + "__tilesetDefUid": 1, + "__tilesetRelPath": "../sprites/map.png", + "iid": "6b268ce2-d7b0-11ee-abff-e93e247fd9d7", + "levelId": 34, + "layerDefUid": 2, + "pxOffsetX": 0, + "pxOffsetY": 0, + "visible": true, + "optionalRules": [], + "intGridCsv": [], + "autoLayerTiles": [], + "seed": 1928946, + "overrideTilesetUid": null, + "gridTiles": [], + "entityInstances": [] + } + ], + "__neighbours": [] + }, + { + "identifier": "Teamwork", + "iid": "8dfa8980-d7b0-11ee-abff-51749a9cf83c", + "uid": 35, + "worldX": -224, + "worldY": 2208, + "worldDepth": 0, + "pxWid": 640, + "pxHei": 480, + "__bgColor": "#696A79", + "bgColor": null, + "useAutoIdentifier": false, + "bgRelPath": "../sprites/background-lila.png", + "bgPos": "Cover", + "bgPivotX": 0.5, + "bgPivotY": 0.5, + "__smartColor": "#ADADB5", + "__bgPos": { "topLeftPx": [0,0], "scale": [1,1], "cropRect": [0,0,640,480] }, + "externalRelPath": null, + "fieldInstances": [ + { "__identifier": "level", "__type": "Int", "__value": 17, "__tile": null, "defUid": 11, "realEditorValues": [{ "id": "V_Int", "params": [17] }] }, + { "__identifier": "description", "__type": "String", "__value": "Use TAB to switch players", "__tile": null, "defUid": 12, "realEditorValues": [{ + "id": "V_String", + "params": ["Use TAB to switch players"] + }] }, + { "__identifier": "background", "__type": "String", "__value": "background-lila", "__tile": null, "defUid": 13, "realEditorValues": [] }, + { "__identifier": "minmoves", "__type": "Int", "__value": 5, "__tile": null, "defUid": 14, "realEditorValues": [{ "id": "V_Int", "params": [5] }] } + ], + "layerInstances": [ + { + "__identifier": "Entities", + "__type": "Entities", + "__cWid": 20, + "__cHei": 15, + "__gridSize": 32, + "__opacity": 1, + "__pxTotalOffsetX": 0, + "__pxTotalOffsetY": 0, + "__tilesetDefUid": null, + "__tilesetRelPath": null, + "iid": "8dfa8981-d7b0-11ee-abff-a1dcff0e4ed7", + "levelId": 35, + "layerDefUid": 5, + "pxOffsetX": 0, + "pxOffsetY": 0, + "visible": true, + "optionalRules": [], + "intGridCsv": [], + "autoLayerTiles": [], + "seed": 5260159, + "overrideTilesetUid": null, + "gridTiles": [], + "entityInstances": [ + { + "__identifier": "PlayerSecondary", + "__grid": [12,7], + "__pivot": [0,0], + "__tags": [], + "__tile": { "tilesetUid": 1, "x": 64, "y": 96, "w": 32, "h": 32 }, + "__smartColor": "#272DC5", + "iid": "08b28d80-d7b0-11ee-abff-476c657d5cc2", + "width": 32, + "height": 32, + "defUid": 36, + "px": [384,224], + "fieldInstances": [], + "__worldX": 160, + "__worldY": 2432 + }, + { + "__identifier": "ObstacleSouth", + "__grid": [12,5], + "__pivot": [0,0], + "__tags": [], + "__tile": { "tilesetUid": 1, "x": 32, "y": 64, "w": 32, "h": 32 }, + "__smartColor": "#E43B44", + "iid": "0d5f9ad0-d7b0-11ee-abff-fb08af357174", + "width": 32, + "height": 32, + "defUid": 10, + "px": [384,160], + "fieldInstances": [], + "__worldX": 160, + "__worldY": 2368 + }, + { + "__identifier": "ObstacleWest", + "__grid": [9,8], + "__pivot": [0,0], + "__tags": [], + "__tile": { "tilesetUid": 1, "x": 0, "y": 96, "w": 32, "h": 32 }, + "__smartColor": "#BE4A2F", + "iid": "199efb10-d7b0-11ee-abff-b3596c7a60e6", + "width": 32, + "height": 32, + "defUid": 7, + "px": [288,256], + "fieldInstances": [], + "__worldX": 64, + "__worldY": 2464 + }, + { + "__identifier": "PlayerPrimary", + "__grid": [6,6], + "__pivot": [0,0], + "__tags": [], + "__tile": { "tilesetUid": 1, "x": 32, "y": 96, "w": 32, "h": 32 }, + "__smartColor": "#2F3BBE", + "iid": "45923390-d7b0-11ee-abff-07560ac33c59", + "width": 32, + "height": 32, + "defUid": 3, + "px": [192,192], + "fieldInstances": [], + "__worldX": -32, + "__worldY": 2400 + }, + { + "__identifier": "Collectible", + "__grid": [8,7], + "__pivot": [0,0], + "__tags": [], + "__tile": { "tilesetUid": 1, "x": 32, "y": 32, "w": 32, "h": 32 }, + "__smartColor": "#FEAE34", + "iid": "4cd3f580-d7b0-11ee-abff-ddf515ed4adc", + "width": 32, + "height": 32, + "defUid": 4, + "px": [256,224], + "fieldInstances": [], + "__worldX": 32, + "__worldY": 2432 + }, + { + "__identifier": "ObstacleEast", + "__grid": [9,7], + "__pivot": [0,0], + "__tags": [], + "__tile": { "tilesetUid": 1, "x": 64, "y": 32, "w": 32, "h": 32 }, + "__smartColor": "#D77643", + "iid": "52bf9d50-d7b0-11ee-abff-ebb2121e8b34", + "width": 32, + "height": 32, + "defUid": 8, + "px": [288,224], + "fieldInstances": [], + "__worldX": 64, + "__worldY": 2432 + } + ] + }, + { + "__identifier": "Tiles", + "__type": "Tiles", + "__cWid": 20, + "__cHei": 15, + "__gridSize": 32, + "__opacity": 1, + "__pxTotalOffsetX": 0, + "__pxTotalOffsetY": 0, + "__tilesetDefUid": 1, + "__tilesetRelPath": "../sprites/map.png", + "iid": "8dfa8982-d7b0-11ee-abff-8d8bbcb225b3", + "levelId": 35, + "layerDefUid": 2, + "pxOffsetX": 0, + "pxOffsetY": 0, + "visible": true, + "optionalRules": [], + "intGridCsv": [], + "autoLayerTiles": [], + "seed": 522925, + "overrideTilesetUid": null, + "gridTiles": [ + { "px": [160,128], "src": [64,0], "f": 0, "t": 2, "d": [85], "a": 1 }, + { "px": [192,128], "src": [64,0], "f": 0, "t": 2, "d": [86], "a": 1 }, + { "px": [224,128], "src": [64,0], "f": 0, "t": 2, "d": [87], "a": 1 }, + { "px": [256,128], "src": [64,0], "f": 0, "t": 2, "d": [88], "a": 1 }, + { "px": [288,128], "src": [64,0], "f": 0, "t": 2, "d": [89], "a": 1 }, + { "px": [320,128], "src": [64,0], "f": 0, "t": 2, "d": [90], "a": 1 }, + { "px": [352,128], "src": [64,0], "f": 0, "t": 2, "d": [91], "a": 1 }, + { "px": [384,128], "src": [64,0], "f": 0, "t": 2, "d": [92], "a": 1 }, + { "px": [416,128], "src": [64,0], "f": 0, "t": 2, "d": [93], "a": 1 }, + { "px": [448,128], "src": [64,0], "f": 0, "t": 2, "d": [94], "a": 1 }, + { "px": [160,160], "src": [64,0], "f": 0, "t": 2, "d": [105], "a": 1 }, + { "px": [448,160], "src": [64,0], "f": 0, "t": 2, "d": [114], "a": 1 }, + { "px": [160,192], "src": [64,0], "f": 0, "t": 2, "d": [125], "a": 1 }, + { "px": [448,192], "src": [64,0], "f": 0, "t": 2, "d": [134], "a": 1 }, + { "px": [160,224], "src": [64,0], "f": 0, "t": 2, "d": [145], "a": 1 }, + { "px": [448,224], "src": [64,0], "f": 0, "t": 2, "d": [154], "a": 1 }, + { "px": [160,256], "src": [64,0], "f": 0, "t": 2, "d": [165], "a": 1 }, + { "px": [448,256], "src": [64,0], "f": 0, "t": 2, "d": [174], "a": 1 }, + { "px": [160,288], "src": [64,0], "f": 0, "t": 2, "d": [185], "a": 1 }, + { "px": [192,288], "src": [64,0], "f": 0, "t": 2, "d": [186], "a": 1 }, + { "px": [224,288], "src": [64,0], "f": 0, "t": 2, "d": [187], "a": 1 }, + { "px": [256,288], "src": [64,0], "f": 0, "t": 2, "d": [188], "a": 1 }, + { "px": [288,288], "src": [64,0], "f": 0, "t": 2, "d": [189], "a": 1 }, + { "px": [320,288], "src": [64,0], "f": 0, "t": 2, "d": [190], "a": 1 }, + { "px": [352,288], "src": [64,0], "f": 0, "t": 2, "d": [191], "a": 1 }, + { "px": [384,288], "src": [64,0], "f": 0, "t": 2, "d": [192], "a": 1 }, + { "px": [416,288], "src": [64,0], "f": 0, "t": 2, "d": [193], "a": 1 }, + { "px": [448,288], "src": [64,0], "f": 0, "t": 2, "d": [194], "a": 1 } + ], + "entityInstances": [] + } + ], + "__neighbours": [] + }, + { + "identifier": "Tragedy", + "iid": "73d3eff0-d7b0-11ee-abff-f34781a3be23", + "uid": 37, + "worldX": 512, + "worldY": 2208, + "worldDepth": 0, + "pxWid": 608, + "pxHei": 480, + "__bgColor": "#696A79", + "bgColor": null, + "useAutoIdentifier": false, + "bgRelPath": "../sprites/background-lila.png", + "bgPos": "Cover", + "bgPivotX": 0.5, + "bgPivotY": 0.5, + "__smartColor": "#ADADB5", + "__bgPos": { "topLeftPx": [0,0], "scale": [1,1], "cropRect": [16,0,608,480] }, + "externalRelPath": null, + "fieldInstances": [ + { "__identifier": "level", "__type": "Int", "__value": 18, "__tile": null, "defUid": 11, "realEditorValues": [{ "id": "V_Int", "params": [18] }] }, + { "__identifier": "description", "__type": "String", "__value": "Necessary is the sacrifice", "__tile": null, "defUid": 12, "realEditorValues": [{ + "id": "V_String", + "params": ["Necessary is the sacrifice"] + }] }, + { "__identifier": "background", "__type": "String", "__value": "background-lila", "__tile": null, "defUid": 13, "realEditorValues": [] }, + { "__identifier": "minmoves", "__type": "Int", "__value": 3, "__tile": null, "defUid": 14, "realEditorValues": [{ "id": "V_Int", "params": [3] }] } + ], + "layerInstances": [ + { + "__identifier": "Entities", + "__type": "Entities", + "__cWid": 19, + "__cHei": 15, + "__gridSize": 32, + "__opacity": 1, + "__pxTotalOffsetX": 0, + "__pxTotalOffsetY": 0, + "__tilesetDefUid": null, + "__tilesetRelPath": null, + "iid": "73d3eff1-d7b0-11ee-abff-af7aa9f72010", + "levelId": 37, + "layerDefUid": 5, + "pxOffsetX": 0, + "pxOffsetY": 0, + "visible": true, + "optionalRules": [], + "intGridCsv": [], + "autoLayerTiles": [], + "seed": 5302040, + "overrideTilesetUid": null, + "gridTiles": [], + "entityInstances": [ + { + "__identifier": "ObstacleSouth", + "__grid": [12,4], + "__pivot": [0,0], + "__tags": [], + "__tile": { "tilesetUid": 1, "x": 32, "y": 64, "w": 32, "h": 32 }, + "__smartColor": "#E43B44", + "iid": "0e3e6ca0-d7b0-11ee-abff-edb1f42c3bee", + "width": 32, + "height": 32, + "defUid": 10, + "px": [384,128], + "fieldInstances": [], + "__worldX": 896, + "__worldY": 2336 + }, + { + "__identifier": "ObstacleEast", + "__grid": [4,6], + "__pivot": [0,0], + "__tags": [], + "__tile": { "tilesetUid": 1, "x": 64, "y": 32, "w": 32, "h": 32 }, + "__smartColor": "#D77643", + "iid": "1c107ad0-d7b0-11ee-abff-d33f908c15de", + "width": 32, + "height": 32, + "defUid": 8, + "px": [128,192], + "fieldInstances": [], + "__worldX": 640, + "__worldY": 2400 + }, + { + "__identifier": "PlayerSecondary", + "__grid": [8,7], + "__pivot": [0,0], + "__tags": [], + "__tile": { "tilesetUid": 1, "x": 64, "y": 96, "w": 32, "h": 32 }, + "__smartColor": "#272DC5", + "iid": "2659b060-d7b0-11ee-abff-2dc431d02f12", + "width": 32, + "height": 32, + "defUid": 36, + "px": [256,224], + "fieldInstances": [], + "__worldX": 768, + "__worldY": 2432 + }, + { + "__identifier": "ObstacleStar", + "__grid": [8,5], + "__pivot": [0,0], + "__tags": [], + "__tile": { "tilesetUid": 1, "x": 64, "y": 64, "w": 32, "h": 32 }, + "__smartColor": "#A22633", + "iid": "298a08c0-d7b0-11ee-abff-eda4f40aa1e8", + "width": 32, + "height": 32, + "defUid": 15, + "px": [256,160], + "fieldInstances": [], + "__worldX": 768, + "__worldY": 2368 + }, + { + "__identifier": "ObstacleStar", + "__grid": [8,9], + "__pivot": [0,0], + "__tags": [], + "__tile": { "tilesetUid": 1, "x": 64, "y": 64, "w": 32, "h": 32 }, + "__smartColor": "#A22633", + "iid": "358bc3c0-d7b0-11ee-abff-f90f8ab7ecfc", + "width": 32, + "height": 32, + "defUid": 15, + "px": [256,288], + "fieldInstances": [], + "__worldX": 768, + "__worldY": 2496 + }, + { + "__identifier": "PlayerPrimary", + "__grid": [12,5], + "__pivot": [0,0], + "__tags": [], + "__tile": { "tilesetUid": 1, "x": 32, "y": 96, "w": 32, "h": 32 }, + "__smartColor": "#2F3BBE", + "iid": "70b97410-d7b0-11ee-abff-f18b8bf2b599", + "width": 32, + "height": 32, + "defUid": 3, + "px": [384,160], + "fieldInstances": [], + "__worldX": 896, + "__worldY": 2368 + }, + { + "__identifier": "ObstacleNorth", + "__grid": [12,7], + "__pivot": [0,0], + "__tags": [], + "__tile": { "tilesetUid": 1, "x": 0, "y": 64, "w": 32, "h": 32 }, + "__smartColor": "#F77622", + "iid": "74dda250-d7b0-11ee-abff-9b8a9052793f", + "width": 32, + "height": 32, + "defUid": 9, + "px": [384,224], + "fieldInstances": [], + "__worldX": 896, + "__worldY": 2432 + }, + { + "__identifier": "Collectible", + "__grid": [12,8], + "__pivot": [0,0], + "__tags": [], + "__tile": { "tilesetUid": 1, "x": 32, "y": 32, "w": 32, "h": 32 }, + "__smartColor": "#FEAE34", + "iid": "7d5ec210-d7b0-11ee-abff-9de92320bc9f", + "width": 32, + "height": 32, + "defUid": 4, + "px": [384,256], + "fieldInstances": [], + "__worldX": 896, + "__worldY": 2464 + }, + { + "__identifier": "ObstacleNorth", + "__grid": [12,9], + "__pivot": [0,0], + "__tags": [], + "__tile": { "tilesetUid": 1, "x": 0, "y": 64, "w": 32, "h": 32 }, + "__smartColor": "#F77622", + "iid": "87d8cba0-d7b0-11ee-abff-9d4169091b3c", + "width": 32, + "height": 32, + "defUid": 9, + "px": [384,288], + "fieldInstances": [], + "__worldX": 896, + "__worldY": 2496 + }, + { + "__identifier": "ObstacleWest", + "__grid": [14,8], + "__pivot": [0,0], + "__tags": [], + "__tile": { "tilesetUid": 1, "x": 0, "y": 96, "w": 32, "h": 32 }, + "__smartColor": "#BE4A2F", + "iid": "8c94cd10-d7b0-11ee-abff-3922c011412d", + "width": 32, + "height": 32, + "defUid": 7, + "px": [448,256], + "fieldInstances": [], + "__worldX": 960, + "__worldY": 2464 + }, + { + "__identifier": "ObstacleWest", + "__grid": [14,5], + "__pivot": [0,0], + "__tags": [], + "__tile": { "tilesetUid": 1, "x": 0, "y": 96, "w": 32, "h": 32 }, + "__smartColor": "#BE4A2F", + "iid": "8e710720-d7b0-11ee-abff-1709fc04d69f", + "width": 32, + "height": 32, + "defUid": 7, + "px": [448,160], + "fieldInstances": [], + "__worldX": 960, + "__worldY": 2368 + }, + { + "__identifier": "ObstacleStar", + "__grid": [11,4], + "__pivot": [0,0], + "__tags": [], + "__tile": { "tilesetUid": 1, "x": 64, "y": 64, "w": 32, "h": 32 }, + "__smartColor": "#A22633", + "iid": "a14dfa10-d7b0-11ee-abff-7f7a88459f3b", + "width": 32, + "height": 32, + "defUid": 15, + "px": [352,128], + "fieldInstances": [], + "__worldX": 864, + "__worldY": 2336 + }, + { + "__identifier": "Collectible", + "__grid": [11,6], + "__pivot": [0,0], + "__tags": [], + "__tile": { "tilesetUid": 1, "x": 32, "y": 32, "w": 32, "h": 32 }, + "__smartColor": "#FEAE34", + "iid": "b0bf1240-d7b0-11ee-abff-17c882415fdc", + "width": 32, + "height": 32, + "defUid": 4, + "px": [352,192], + "fieldInstances": [], + "__worldX": 864, + "__worldY": 2400 + } + ] + }, + { + "__identifier": "Tiles", + "__type": "Tiles", + "__cWid": 19, + "__cHei": 15, + "__gridSize": 32, + "__opacity": 1, + "__pxTotalOffsetX": 0, + "__pxTotalOffsetY": 0, + "__tilesetDefUid": 1, + "__tilesetRelPath": "../sprites/map.png", + "iid": "73d3eff2-d7b0-11ee-abff-65b8baa237fd", + "levelId": 37, + "layerDefUid": 2, + "pxOffsetX": 0, + "pxOffsetY": 0, + "visible": true, + "optionalRules": [], + "intGridCsv": [], + "autoLayerTiles": [], + "seed": 2912840, + "overrideTilesetUid": null, + "gridTiles": [ + { "px": [160,96], "src": [64,0], "f": 0, "t": 2, "d": [62], "a": 1 }, + { "px": [192,96], "src": [64,0], "f": 0, "t": 2, "d": [63], "a": 1 }, + { "px": [224,96], "src": [64,0], "f": 0, "t": 2, "d": [64], "a": 1 }, + { "px": [256,96], "src": [64,0], "f": 0, "t": 2, "d": [65], "a": 1 }, + { "px": [288,96], "src": [64,0], "f": 0, "t": 2, "d": [66], "a": 1 }, + { "px": [320,96], "src": [64,0], "f": 0, "t": 2, "d": [67], "a": 1 }, + { "px": [352,96], "src": [64,0], "f": 0, "t": 2, "d": [68], "a": 1 }, + { "px": [384,96], "src": [64,0], "f": 0, "t": 2, "d": [69], "a": 1 }, + { "px": [416,96], "src": [64,0], "f": 0, "t": 2, "d": [70], "a": 1 }, + { "px": [128,128], "src": [64,0], "f": 0, "t": 2, "d": [80], "a": 1 }, + { "px": [448,128], "src": [64,0], "f": 0, "t": 2, "d": [90], "a": 1 }, + { "px": [96,160], "src": [64,0], "f": 0, "t": 2, "d": [98], "a": 1 }, + { "px": [480,160], "src": [64,0], "f": 0, "t": 2, "d": [110], "a": 1 }, + { "px": [96,192], "src": [64,0], "f": 0, "t": 2, "d": [117], "a": 1 }, + { "px": [480,192], "src": [64,0], "f": 0, "t": 2, "d": [129], "a": 1 }, + { "px": [96,224], "src": [64,0], "f": 0, "t": 2, "d": [136], "a": 1 }, + { "px": [480,224], "src": [64,0], "f": 0, "t": 2, "d": [148], "a": 1 }, + { "px": [96,256], "src": [64,0], "f": 0, "t": 2, "d": [155], "a": 1 }, + { "px": [480,256], "src": [64,0], "f": 0, "t": 2, "d": [167], "a": 1 }, + { "px": [128,288], "src": [64,0], "f": 0, "t": 2, "d": [175], "a": 1 }, + { "px": [448,288], "src": [64,0], "f": 0, "t": 2, "d": [185], "a": 1 }, + { "px": [160,320], "src": [64,0], "f": 0, "t": 2, "d": [195], "a": 1 }, + { "px": [192,320], "src": [64,0], "f": 0, "t": 2, "d": [196], "a": 1 }, + { "px": [224,320], "src": [64,0], "f": 0, "t": 2, "d": [197], "a": 1 }, + { "px": [256,320], "src": [64,0], "f": 0, "t": 2, "d": [198], "a": 1 }, + { "px": [288,320], "src": [64,0], "f": 0, "t": 2, "d": [199], "a": 1 }, + { "px": [320,320], "src": [64,0], "f": 0, "t": 2, "d": [200], "a": 1 }, + { "px": [352,320], "src": [64,0], "f": 0, "t": 2, "d": [201], "a": 1 }, + { "px": [384,320], "src": [64,0], "f": 0, "t": 2, "d": [202], "a": 1 }, + { "px": [416,320], "src": [64,0], "f": 0, "t": 2, "d": [203], "a": 1 } + ], + "entityInstances": [] + } + ], + "__neighbours": [] + }, + { + "identifier": "Sisters", + "iid": "d89c4d50-d7b0-11ee-abff-c51fe8fe9aa6", + "uid": 38, + "worldX": 1216, + "worldY": 2208, + "worldDepth": 0, + "pxWid": 608, + "pxHei": 480, + "__bgColor": "#696A79", + "bgColor": null, + "useAutoIdentifier": false, + "bgRelPath": "../sprites/background-lila.png", + "bgPos": "Cover", + "bgPivotX": 0.5, + "bgPivotY": 0.5, + "__smartColor": "#ADADB5", + "__bgPos": { "topLeftPx": [0,0], "scale": [1,1], "cropRect": [16,0,608,480] }, + "externalRelPath": null, + "fieldInstances": [ + { "__identifier": "level", "__type": "Int", "__value": 19, "__tile": null, "defUid": 11, "realEditorValues": [{ "id": "V_Int", "params": [19] }] }, + { "__identifier": "description", "__type": "String", "__value": "Invisible chains can bind you", "__tile": null, "defUid": 12, "realEditorValues": [{ + "id": "V_String", + "params": ["Invisible chains can bind you"] + }] }, + { "__identifier": "background", "__type": "String", "__value": "background-lila", "__tile": null, "defUid": 13, "realEditorValues": [] }, + { "__identifier": "minmoves", "__type": "Int", "__value": 10, "__tile": null, "defUid": 14, "realEditorValues": [{ "id": "V_Int", "params": [10] }] } + ], + "layerInstances": [ + { + "__identifier": "Entities", + "__type": "Entities", + "__cWid": 19, + "__cHei": 15, + "__gridSize": 32, + "__opacity": 1, + "__pxTotalOffsetX": 0, + "__pxTotalOffsetY": 0, + "__tilesetDefUid": null, + "__tilesetRelPath": null, + "iid": "d89c4d51-d7b0-11ee-abff-6d6f2759373f", + "levelId": 38, + "layerDefUid": 5, + "pxOffsetX": 0, + "pxOffsetY": 0, + "visible": true, + "optionalRules": [], + "intGridCsv": [], + "autoLayerTiles": [], + "seed": 4554878, + "overrideTilesetUid": null, + "gridTiles": [], + "entityInstances": [ + { + "__identifier": "PlayerPrimary", + "__grid": [6,7], + "__pivot": [0,0], + "__tags": [], + "__tile": { "tilesetUid": 1, "x": 32, "y": 96, "w": 32, "h": 32 }, + "__smartColor": "#2F3BBE", + "iid": "39f17260-d7b0-11ee-abff-6b99ca4b03a1", + "width": 32, + "height": 32, + "defUid": 3, + "px": [192,224], + "fieldInstances": [], + "__worldX": 1408, + "__worldY": 2432 + }, + { + "__identifier": "PlayerPrimary", + "__grid": [10,6], + "__pivot": [0,0], + "__tags": [], + "__tile": { "tilesetUid": 1, "x": 32, "y": 96, "w": 32, "h": 32 }, + "__smartColor": "#2F3BBE", + "iid": "40b3f230-d7b0-11ee-abff-2fda792ea6a3", + "width": 32, + "height": 32, + "defUid": 3, + "px": [320,192], + "fieldInstances": [], + "__worldX": 1536, + "__worldY": 2400 + }, + { + "__identifier": "Collectible", + "__grid": [10,8], + "__pivot": [0,0], + "__tags": [], + "__tile": { "tilesetUid": 1, "x": 32, "y": 32, "w": 32, "h": 32 }, + "__smartColor": "#FEAE34", + "iid": "4c913540-d7b0-11ee-abff-ef4663dcce24", + "width": 32, + "height": 32, + "defUid": 4, + "px": [320,256], + "fieldInstances": [], + "__worldX": 1536, + "__worldY": 2464 + }, + { + "__identifier": "Collectible", + "__grid": [7,4], + "__pivot": [0,0], + "__tags": [], + "__tile": { "tilesetUid": 1, "x": 32, "y": 32, "w": 32, "h": 32 }, + "__smartColor": "#FEAE34", + "iid": "4f803ee0-d7b0-11ee-abff-93922024d6c9", + "width": 32, + "height": 32, + "defUid": 4, + "px": [224,128], + "fieldInstances": [], + "__worldX": 1440, + "__worldY": 2336 + }, + { + "__identifier": "Collectible", + "__grid": [12,10], + "__pivot": [0,0], + "__tags": [], + "__tile": { "tilesetUid": 1, "x": 32, "y": 32, "w": 32, "h": 32 }, + "__smartColor": "#FEAE34", + "iid": "575407a0-d7b0-11ee-abff-5b03a64a2a83", + "width": 32, + "height": 32, + "defUid": 4, + "px": [384,320], + "fieldInstances": [], + "__worldX": 1600, + "__worldY": 2528 + } + ] + }, + { + "__identifier": "Tiles", + "__type": "Tiles", + "__cWid": 19, + "__cHei": 15, + "__gridSize": 32, + "__opacity": 1, + "__pxTotalOffsetX": 0, + "__pxTotalOffsetY": 0, + "__tilesetDefUid": 1, + "__tilesetRelPath": "../sprites/map.png", + "iid": "d89c4d52-d7b0-11ee-abff-af5815dca567", + "levelId": 38, + "layerDefUid": 2, + "pxOffsetX": 0, + "pxOffsetY": 0, + "visible": true, + "optionalRules": [], + "intGridCsv": [], + "autoLayerTiles": [], + "seed": 6152839, + "overrideTilesetUid": null, + "gridTiles": [ + { "px": [160,96], "src": [64,0], "f": 0, "t": 2, "d": [62], "a": 1 }, + { "px": [192,96], "src": [64,0], "f": 0, "t": 2, "d": [63], "a": 1 }, + { "px": [224,96], "src": [64,0], "f": 0, "t": 2, "d": [64], "a": 1 }, + { "px": [384,96], "src": [64,0], "f": 0, "t": 2, "d": [69], "a": 1 }, + { "px": [416,96], "src": [64,0], "f": 0, "t": 2, "d": [70], "a": 1 }, + { "px": [448,96], "src": [64,0], "f": 0, "t": 2, "d": [71], "a": 1 }, + { "px": [160,128], "src": [64,0], "f": 0, "t": 2, "d": [81], "a": 1 }, + { "px": [256,128], "src": [64,0], "f": 0, "t": 2, "d": [84], "a": 1 }, + { "px": [352,128], "src": [64,0], "f": 0, "t": 2, "d": [87], "a": 1 }, + { "px": [448,128], "src": [64,0], "f": 0, "t": 2, "d": [90], "a": 1 }, + { "px": [160,160], "src": [64,0], "f": 0, "t": 2, "d": [100], "a": 1 }, + { "px": [288,160], "src": [64,0], "f": 0, "t": 2, "d": [104], "a": 1 }, + { "px": [320,160], "src": [64,0], "f": 0, "t": 2, "d": [105], "a": 1 }, + { "px": [448,160], "src": [64,0], "f": 0, "t": 2, "d": [109], "a": 1 }, + { "px": [160,192], "src": [64,0], "f": 0, "t": 2, "d": [119], "a": 1 }, + { "px": [448,192], "src": [64,0], "f": 0, "t": 2, "d": [128], "a": 1 }, + { "px": [160,224], "src": [64,0], "f": 0, "t": 2, "d": [138], "a": 1 }, + { "px": [448,224], "src": [64,0], "f": 0, "t": 2, "d": [147], "a": 1 }, + { "px": [160,256], "src": [64,0], "f": 0, "t": 2, "d": [157], "a": 1 }, + { "px": [448,256], "src": [64,0], "f": 0, "t": 2, "d": [166], "a": 1 }, + { "px": [160,288], "src": [64,0], "f": 0, "t": 2, "d": [176], "a": 1 }, + { "px": [288,288], "src": [64,0], "f": 0, "t": 2, "d": [180], "a": 1 }, + { "px": [320,288], "src": [64,0], "f": 0, "t": 2, "d": [181], "a": 1 }, + { "px": [448,288], "src": [64,0], "f": 0, "t": 2, "d": [185], "a": 1 }, + { "px": [160,320], "src": [64,0], "f": 0, "t": 2, "d": [195], "a": 1 }, + { "px": [256,320], "src": [64,0], "f": 0, "t": 2, "d": [198], "a": 1 }, + { "px": [352,320], "src": [64,0], "f": 0, "t": 2, "d": [201], "a": 1 }, + { "px": [448,320], "src": [64,0], "f": 0, "t": 2, "d": [204], "a": 1 }, + { "px": [160,352], "src": [64,0], "f": 0, "t": 2, "d": [214], "a": 1 }, + { "px": [192,352], "src": [64,0], "f": 0, "t": 2, "d": [215], "a": 1 }, + { "px": [224,352], "src": [64,0], "f": 0, "t": 2, "d": [216], "a": 1 }, + { "px": [384,352], "src": [64,0], "f": 0, "t": 2, "d": [221], "a": 1 }, + { "px": [416,352], "src": [64,0], "f": 0, "t": 2, "d": [222], "a": 1 }, + { "px": [448,352], "src": [64,0], "f": 0, "t": 2, "d": [223], "a": 1 } + ], + "entityInstances": [] + } + ], + "__neighbours": [] + }, + { + "identifier": "Brothers", + "iid": "77fb4090-d7b0-11ee-abff-fbd62b154975", + "uid": 39, + "worldX": 1888, + "worldY": 2208, + "worldDepth": 0, + "pxWid": 640, + "pxHei": 480, + "__bgColor": "#696A79", + "bgColor": null, + "useAutoIdentifier": false, + "bgRelPath": "../sprites/background-lila.png", + "bgPos": "Cover", + "bgPivotX": 0.5, + "bgPivotY": 0.5, + "__smartColor": "#ADADB5", + "__bgPos": { "topLeftPx": [0,0], "scale": [1,1], "cropRect": [0,0,640,480] }, + "externalRelPath": null, + "fieldInstances": [ + { "__identifier": "level", "__type": "Int", "__value": 12, "__tile": null, "defUid": 11, "realEditorValues": [{ "id": "V_Int", "params": [12] }] }, + { "__identifier": "description", "__type": "String", "__value": "Take care of each other", "__tile": null, "defUid": 12, "realEditorValues": [{ + "id": "V_String", + "params": ["Take care of each other"] + }] }, + { "__identifier": "background", "__type": "String", "__value": "background-lila", "__tile": null, "defUid": 13, "realEditorValues": [] }, + { "__identifier": "minmoves", "__type": "Int", "__value": 7, "__tile": null, "defUid": 14, "realEditorValues": [] } + ], + "layerInstances": [ + { + "__identifier": "Entities", + "__type": "Entities", + "__cWid": 20, + "__cHei": 15, + "__gridSize": 32, + "__opacity": 1, + "__pxTotalOffsetX": 0, + "__pxTotalOffsetY": 0, + "__tilesetDefUid": null, + "__tilesetRelPath": null, + "iid": "77fb67a0-d7b0-11ee-abff-47f25941c80f", + "levelId": 39, + "layerDefUid": 5, + "pxOffsetX": 0, + "pxOffsetY": 0, + "visible": true, + "optionalRules": [], + "intGridCsv": [], + "autoLayerTiles": [], + "seed": 1805370, + "overrideTilesetUid": null, + "gridTiles": [], + "entityInstances": [ + { + "__identifier": "PlayerPrimary", + "__grid": [4,3], + "__pivot": [0,0], + "__tags": [], + "__tile": { "tilesetUid": 1, "x": 32, "y": 96, "w": 32, "h": 32 }, + "__smartColor": "#2F3BBE", + "iid": "e887a920-d7b0-11ee-abff-5dce5f76b281", + "width": 32, + "height": 32, + "defUid": 3, + "px": [128,96], + "fieldInstances": [], + "__worldX": 2016, + "__worldY": 2304 + }, + { + "__identifier": "ObstacleEast", + "__grid": [5,3], + "__pivot": [0,0], + "__tags": [], + "__tile": { "tilesetUid": 1, "x": 64, "y": 32, "w": 32, "h": 32 }, + "__smartColor": "#D77643", + "iid": "ef1472f0-d7b0-11ee-abff-4307328d1d28", + "width": 32, + "height": 32, + "defUid": 8, + "px": [160,96], + "fieldInstances": [], + "__worldX": 2048, + "__worldY": 2304 + }, + { + "__identifier": "PlayerPrimary", + "__grid": [15,9], + "__pivot": [0,0], + "__tags": [], + "__tile": { "tilesetUid": 1, "x": 32, "y": 96, "w": 32, "h": 32 }, + "__smartColor": "#2F3BBE", + "iid": "f6d1f490-d7b0-11ee-abff-f5d3bfdc33ea", + "width": 32, + "height": 32, + "defUid": 3, + "px": [480,288], + "fieldInstances": [], + "__worldX": 2368, + "__worldY": 2496 + }, + { + "__identifier": "ObstacleNorth", + "__grid": [15,11], + "__pivot": [0,0], + "__tags": [], + "__tile": { "tilesetUid": 1, "x": 0, "y": 64, "w": 32, "h": 32 }, + "__smartColor": "#F77622", + "iid": "fba91f20-d7b0-11ee-abff-dd3dc2e2610d", + "width": 32, + "height": 32, + "defUid": 9, + "px": [480,352], + "fieldInstances": [], + "__worldX": 2368, + "__worldY": 2560 + }, + { + "__identifier": "Collectible", + "__grid": [13,11], + "__pivot": [0,0], + "__tags": [], + "__tile": { "tilesetUid": 1, "x": 32, "y": 32, "w": 32, "h": 32 }, + "__smartColor": "#FEAE34", + "iid": "00ba6c80-d7b0-11ee-abff-7b197ece2945", + "width": 32, + "height": 32, + "defUid": 4, + "px": [416,352], + "fieldInstances": [], + "__worldX": 2304, + "__worldY": 2560 + }, + { + "__identifier": "Collectible", + "__grid": [5,4], + "__pivot": [0,0], + "__tags": [], + "__tile": { "tilesetUid": 1, "x": 32, "y": 32, "w": 32, "h": 32 }, + "__smartColor": "#FEAE34", + "iid": "3c285a20-d7b0-11ee-abff-373f4da12c99", + "width": 32, + "height": 32, + "defUid": 4, + "px": [160,128], + "fieldInstances": [], + "__worldX": 2048, + "__worldY": 2336 + }, + { + "__identifier": "ObstacleWest", + "__grid": [14,11], + "__pivot": [0,0], + "__tags": [], + "__tile": { "tilesetUid": 1, "x": 0, "y": 96, "w": 32, "h": 32 }, + "__smartColor": "#BE4A2F", + "iid": "3fbca470-d7b0-11ee-abff-318ea625a2f5", + "width": 32, + "height": 32, + "defUid": 7, + "px": [448,352], + "fieldInstances": [], + "__worldX": 2336, + "__worldY": 2560 + } + ] + }, + { + "__identifier": "Tiles", + "__type": "Tiles", + "__cWid": 20, + "__cHei": 15, + "__gridSize": 32, + "__opacity": 1, + "__pxTotalOffsetX": 0, + "__pxTotalOffsetY": 0, + "__tilesetDefUid": 1, + "__tilesetRelPath": "../sprites/map.png", + "iid": "77fb67a1-d7b0-11ee-abff-fde52a88e8aa", + "levelId": 39, + "layerDefUid": 2, + "pxOffsetX": 0, + "pxOffsetY": 0, + "visible": true, + "optionalRules": [], + "intGridCsv": [], + "autoLayerTiles": [], + "seed": 1662535, + "overrideTilesetUid": null, + "gridTiles": [ + { "px": [96,64], "src": [64,0], "f": 0, "t": 2, "d": [43], "a": 1 }, + { "px": [128,64], "src": [64,0], "f": 0, "t": 2, "d": [44], "a": 1 }, + { "px": [160,64], "src": [64,0], "f": 0, "t": 2, "d": [45], "a": 1 }, + { "px": [192,64], "src": [64,0], "f": 0, "t": 2, "d": [46], "a": 1 }, + { "px": [224,64], "src": [64,0], "f": 0, "t": 2, "d": [47], "a": 1 }, + { "px": [96,96], "src": [64,0], "f": 0, "t": 2, "d": [63], "a": 1 }, + { "px": [224,96], "src": [64,0], "f": 0, "t": 2, "d": [67], "a": 1 }, + { "px": [96,128], "src": [64,0], "f": 0, "t": 2, "d": [83], "a": 1 }, + { "px": [224,128], "src": [64,0], "f": 0, "t": 2, "d": [87], "a": 1 }, + { "px": [96,160], "src": [64,0], "f": 0, "t": 2, "d": [103], "a": 1 }, + { "px": [224,160], "src": [64,0], "f": 0, "t": 2, "d": [107], "a": 1 }, + { "px": [96,192], "src": [64,0], "f": 0, "t": 2, "d": [123], "a": 1 }, + { "px": [128,192], "src": [64,0], "f": 0, "t": 2, "d": [124], "a": 1 }, + { "px": [160,192], "src": [64,0], "f": 0, "t": 2, "d": [125], "a": 1 }, + { "px": [192,192], "src": [64,0], "f": 0, "t": 2, "d": [126], "a": 1 }, + { "px": [224,192], "src": [64,0], "f": 0, "t": 2, "d": [127], "a": 1 }, + { "px": [384,256], "src": [64,0], "f": 0, "t": 2, "d": [172], "a": 1 }, + { "px": [416,256], "src": [64,0], "f": 0, "t": 2, "d": [173], "a": 1 }, + { "px": [448,256], "src": [64,0], "f": 0, "t": 2, "d": [174], "a": 1 }, + { "px": [480,256], "src": [64,0], "f": 0, "t": 2, "d": [175], "a": 1 }, + { "px": [512,256], "src": [64,0], "f": 0, "t": 2, "d": [176], "a": 1 }, + { "px": [384,288], "src": [64,0], "f": 0, "t": 2, "d": [192], "a": 1 }, + { "px": [512,288], "src": [64,0], "f": 0, "t": 2, "d": [196], "a": 1 }, + { "px": [384,320], "src": [64,0], "f": 0, "t": 2, "d": [212], "a": 1 }, + { "px": [512,320], "src": [64,0], "f": 0, "t": 2, "d": [216], "a": 1 }, + { "px": [384,352], "src": [64,0], "f": 0, "t": 2, "d": [232], "a": 1 }, + { "px": [512,352], "src": [64,0], "f": 0, "t": 2, "d": [236], "a": 1 }, + { "px": [384,384], "src": [64,0], "f": 0, "t": 2, "d": [252], "a": 1 }, + { "px": [416,384], "src": [64,0], "f": 0, "t": 2, "d": [253], "a": 1 }, + { "px": [448,384], "src": [64,0], "f": 0, "t": 2, "d": [254], "a": 1 }, + { "px": [480,384], "src": [64,0], "f": 0, "t": 2, "d": [255], "a": 1 }, + { "px": [512,384], "src": [64,0], "f": 0, "t": 2, "d": [256], "a": 1 } + ], "entityInstances": [] } ], diff --git a/config/static.go b/config/static.go index 0f6e9a4..9f6d12d 100644 --- a/config/static.go +++ b/config/static.go @@ -16,7 +16,7 @@ const ( const PLAYERSPEED int = 5 const PARTICLE_LOOPWAIT time.Duration = 250 * time.Millisecond const LEVEL_END_WAIT time.Duration = 500 * time.Millisecond -const version string = "1.2.0" +const version string = "1.2.1" const MenuRectX int = 600 const MenuRectY int = 0 diff --git a/systems/player_system.go b/systems/player_system.go index 8d4f2a1..f4f7025 100644 --- a/systems/player_system.go +++ b/systems/player_system.go @@ -77,10 +77,16 @@ func (system PlayerSystem) Update() error { if count > 1 { // check if player collides with another player, fuse them if any EntitiesToRemove = system.CheckPlayerCollision(playerposition, velocity, query.Entity()) + if len(EntitiesToRemove) > 0 { + slog.Debug("other player collision") + } } else { // only 1 player left or one is max EntitiesToRemove = system.CheckPlayerLooping( playerposition, velocity, player, query.Entity()) + if len(EntitiesToRemove) > 0 { + slog.Debug("player loops", "entities", EntitiesToRemove) + } } if !velocity.Moving() { @@ -250,8 +256,11 @@ func (system *PlayerSystem) CheckPlayerLooping( max = system.Height } + max += system.GridContainer.Grid.Tilesize * 5 + // we haved moved one time around the whole screen, loose if (player.LoopCount * velocity.Speed) > max { + slog.Debug("loop?", "loopcount", player.LoopCount, "speed", velocity.Speed, "max", max) EntitiesToRemove = append(EntitiesToRemove, entity) } }