From 28484d70a3833eebe584cc4eeb2c8298c62c8d0c Mon Sep 17 00:00:00 2001 From: Zicklag Date: Wed, 23 Nov 2022 12:45:03 -0600 Subject: [PATCH] Reduce Map Selection to 3 Maps We'll focus on making these few maps work well first. --- assets/default.game.yaml | 29 +- assets/map/levels/level1.map.json | 1889 ++++++++++++++++++++++++ assets/map/levels/level2.map.json | 1271 ++++++++++++++++ assets/map/levels/level3.map.json | 2239 +++++++++++++++++++++++++++++ 4 files changed, 5415 insertions(+), 13 deletions(-) create mode 100644 assets/map/levels/level1.map.json create mode 100644 assets/map/levels/level2.map.json create mode 100644 assets/map/levels/level3.map.json diff --git a/assets/default.game.yaml b/assets/default.game.yaml index d1dc771ba9..20162b350a 100644 --- a/assets/default.game.yaml +++ b/assets/default.game.yaml @@ -14,19 +14,22 @@ players: - player/skins/pescy/pescy.player.yaml maps: - - map/levels/lev01.map.json - - map/levels/lev02.map.json - - map/levels/lev03.map.json - - map/levels/lev04.map.json - - map/levels/lev05.map.json - - map/levels/lev06.map.json - - map/levels/lev07.map.json - - map/levels/zyrafa01.map.json - - map/levels/zyrafa02.map.json - - map/levels/zyrafa03.map.json - - map/levels/zyrafa04.map.json - - map/levels/zyrafa05.map.json - - map/levels/zyrafa06.map.json + - map/levels/level1.map.json + - map/levels/level2.map.json + - map/levels/level3.map.json + # - map/levels/lev01.map.json + # - map/levels/lev02.map.json + # - map/levels/lev03.map.json + # - map/levels/lev04.map.json + # - map/levels/lev05.map.json + # - map/levels/lev06.map.json + # - map/levels/lev07.map.json + # - map/levels/zyrafa01.map.json + # - map/levels/zyrafa02.map.json + # - map/levels/zyrafa03.map.json + # - map/levels/zyrafa04.map.json + # - map/levels/zyrafa05.map.json + # - map/levels/zyrafa06.map.json scripts: - map/scripts/kill_out_of_bounds.ts diff --git a/assets/map/levels/level1.map.json b/assets/map/levels/level1.map.json new file mode 100644 index 0000000000..022bc9ebca --- /dev/null +++ b/assets/map/levels/level1.map.json @@ -0,0 +1,1889 @@ +{ + "name": "Level 1", + "background_color": "7EA8A6", + "grid_size": [ + 27, + 21 + ], + "tile_size": [ + 32, + 32 + ], + "layers": [ + { + "id": "main layer", + "kind": { + "tile": { + "has_collision": true, + "tiles": [ + { + "pos": [ + 0, + 20 + ], + "idx": 8 + }, + { + "pos": [ + 1, + 20 + ], + "idx": 9 + }, + { + "pos": [ + 25, + 20 + ], + "idx": 7 + }, + { + "pos": [ + 26, + 20 + ], + "idx": 8 + }, + { + "pos": [ + 0, + 19 + ], + "idx": 8 + }, + { + "pos": [ + 1, + 19 + ], + "idx": 9 + }, + { + "pos": [ + 25, + 19 + ], + "idx": 7 + }, + { + "pos": [ + 26, + 19 + ], + "idx": 8 + }, + { + "pos": [ + 0, + 18 + ], + "idx": 8 + }, + { + "pos": [ + 1, + 18 + ], + "idx": 9 + }, + { + "pos": [ + 25, + 18 + ], + "idx": 7 + }, + { + "pos": [ + 26, + 18 + ], + "idx": 8 + }, + { + "pos": [ + 0, + 17 + ], + "idx": 8 + }, + { + "pos": [ + 1, + 17 + ], + "idx": 9 + }, + { + "pos": [ + 8, + 17 + ], + "idx": 32 + }, + { + "pos": [ + 9, + 17 + ], + "idx": 34 + }, + { + "pos": [ + 17, + 17 + ], + "idx": 32 + }, + { + "pos": [ + 18, + 17 + ], + "idx": 34 + }, + { + "pos": [ + 25, + 17 + ], + "idx": 7 + }, + { + "pos": [ + 26, + 17 + ], + "idx": 8 + }, + { + "pos": [ + 0, + 16 + ], + "idx": 8 + }, + { + "pos": [ + 1, + 16 + ], + "idx": 9 + }, + { + "pos": [ + 8, + 16 + ], + "idx": 39 + }, + { + "pos": [ + 9, + 16 + ], + "idx": 40 + }, + { + "pos": [ + 10, + 16 + ], + "idx": 58, + "jump_through": true + }, + { + "pos": [ + 11, + 16 + ], + "idx": 58, + "jump_through": true + }, + { + "pos": [ + 12, + 16 + ], + "idx": 58, + "jump_through": true + }, + { + "pos": [ + 13, + 16 + ], + "idx": 58, + "jump_through": true + }, + { + "pos": [ + 14, + 16 + ], + "idx": 58, + "jump_through": true + }, + { + "pos": [ + 15, + 16 + ], + "idx": 58, + "jump_through": true + }, + { + "pos": [ + 16, + 16 + ], + "idx": 58, + "jump_through": true + }, + { + "pos": [ + 17, + 16 + ], + "idx": 39 + }, + { + "pos": [ + 18, + 16 + ], + "idx": 41 + }, + { + "pos": [ + 25, + 16 + ], + "idx": 7 + }, + { + "pos": [ + 26, + 16 + ], + "idx": 8 + }, + { + "pos": [ + 0, + 15 + ], + "idx": 8 + }, + { + "pos": [ + 1, + 15 + ], + "idx": 9 + }, + { + "pos": [ + 6, + 15 + ], + "idx": 56, + "jump_through": true + }, + { + "pos": [ + 7, + 15 + ], + "idx": 58, + "jump_through": true + }, + { + "pos": [ + 8, + 15 + ], + "idx": 46 + }, + { + "pos": [ + 9, + 15 + ], + "idx": 48 + }, + { + "pos": [ + 17, + 15 + ], + "idx": 46 + }, + { + "pos": [ + 18, + 15 + ], + "idx": 48 + }, + { + "pos": [ + 19, + 15 + ], + "idx": 58, + "jump_through": true + }, + { + "pos": [ + 20, + 15 + ], + "idx": 60, + "jump_through": true + }, + { + "pos": [ + 25, + 15 + ], + "idx": 7 + }, + { + "pos": [ + 26, + 15 + ], + "idx": 8 + }, + { + "pos": [ + 0, + 14 + ], + "idx": 8 + }, + { + "pos": [ + 1, + 14 + ], + "idx": 9 + }, + { + "pos": [ + 2, + 14 + ], + "idx": 60, + "jump_through": true + }, + { + "pos": [ + 24, + 14 + ], + "idx": 56, + "jump_through": true + }, + { + "pos": [ + 25, + 14 + ], + "idx": 7 + }, + { + "pos": [ + 26, + 14 + ], + "idx": 8 + }, + { + "pos": [ + 0, + 13 + ], + "idx": 8 + }, + { + "pos": [ + 1, + 13 + ], + "idx": 9 + }, + { + "pos": [ + 25, + 13 + ], + "idx": 7 + }, + { + "pos": [ + 26, + 13 + ], + "idx": 8 + }, + { + "pos": [ + 0, + 12 + ], + "idx": 8 + }, + { + "pos": [ + 1, + 12 + ], + "idx": 9 + }, + { + "pos": [ + 25, + 12 + ], + "idx": 7 + }, + { + "pos": [ + 26, + 12 + ], + "idx": 8 + }, + { + "pos": [ + 0, + 11 + ], + "idx": 8 + }, + { + "pos": [ + 1, + 11 + ], + "idx": 9 + }, + { + "pos": [ + 2, + 11 + ], + "idx": 58, + "jump_through": true + }, + { + "pos": [ + 3, + 11 + ], + "idx": 58, + "jump_through": true + }, + { + "pos": [ + 4, + 11 + ], + "idx": 58, + "jump_through": true + }, + { + "pos": [ + 5, + 11 + ], + "idx": 60, + "jump_through": true + }, + { + "pos": [ + 21, + 11 + ], + "idx": 56, + "jump_through": true + }, + { + "pos": [ + 22, + 11 + ], + "idx": 58, + "jump_through": true + }, + { + "pos": [ + 23, + 11 + ], + "idx": 58, + "jump_through": true + }, + { + "pos": [ + 24, + 11 + ], + "idx": 58, + "jump_through": true + }, + { + "pos": [ + 25, + 11 + ], + "idx": 7 + }, + { + "pos": [ + 26, + 11 + ], + "idx": 8 + }, + { + "pos": [ + 0, + 10 + ], + "idx": 8 + }, + { + "pos": [ + 1, + 10 + ], + "idx": 9 + }, + { + "pos": [ + 11, + 10 + ], + "idx": 0 + }, + { + "pos": [ + 12, + 10 + ], + "idx": 1 + }, + { + "pos": [ + 13, + 10 + ], + "idx": 1 + }, + { + "pos": [ + 14, + 10 + ], + "idx": 1 + }, + { + "pos": [ + 15, + 10 + ], + "idx": 2 + }, + { + "pos": [ + 25, + 10 + ], + "idx": 7 + }, + { + "pos": [ + 26, + 10 + ], + "idx": 8 + }, + { + "pos": [ + 0, + 9 + ], + "idx": 8 + }, + { + "pos": [ + 1, + 9 + ], + "idx": 9 + }, + { + "pos": [ + 11, + 9 + ], + "idx": 7 + }, + { + "pos": [ + 12, + 9 + ], + "idx": 8 + }, + { + "pos": [ + 13, + 9 + ], + "idx": 8 + }, + { + "pos": [ + 14, + 9 + ], + "idx": 8 + }, + { + "pos": [ + 15, + 9 + ], + "idx": 9 + }, + { + "pos": [ + 25, + 9 + ], + "idx": 7 + }, + { + "pos": [ + 26, + 9 + ], + "idx": 8 + }, + { + "pos": [ + 0, + 8 + ], + "idx": 8 + }, + { + "pos": [ + 1, + 8 + ], + "idx": 9 + }, + { + "pos": [ + 7, + 8 + ], + "idx": 56, + "jump_through": true + }, + { + "pos": [ + 8, + 8 + ], + "idx": 58, + "jump_through": true + }, + { + "pos": [ + 9, + 8 + ], + "idx": 58, + "jump_through": true + }, + { + "pos": [ + 10, + 8 + ], + "idx": 58, + "jump_through": true + }, + { + "pos": [ + 11, + 8 + ], + "idx": 14 + }, + { + "pos": [ + 12, + 8 + ], + "idx": 15 + }, + { + "pos": [ + 13, + 8 + ], + "idx": 15 + }, + { + "pos": [ + 14, + 8 + ], + "idx": 15 + }, + { + "pos": [ + 15, + 8 + ], + "idx": 16 + }, + { + "pos": [ + 16, + 8 + ], + "idx": 56, + "jump_through": true + }, + { + "pos": [ + 17, + 8 + ], + "idx": 58, + "jump_through": true + }, + { + "pos": [ + 18, + 8 + ], + "idx": 58, + "jump_through": true + }, + { + "pos": [ + 19, + 8 + ], + "idx": 60, + "jump_through": true + }, + { + "pos": [ + 25, + 8 + ], + "idx": 7 + }, + { + "pos": [ + 26, + 8 + ], + "idx": 8 + }, + { + "pos": [ + 0, + 7 + ], + "idx": 8 + }, + { + "pos": [ + 1, + 7 + ], + "idx": 9 + }, + { + "pos": [ + 25, + 7 + ], + "idx": 7 + }, + { + "pos": [ + 26, + 7 + ], + "idx": 8 + }, + { + "pos": [ + 0, + 6 + ], + "idx": 8 + }, + { + "pos": [ + 1, + 6 + ], + "idx": 9 + }, + { + "pos": [ + 25, + 6 + ], + "idx": 7 + }, + { + "pos": [ + 26, + 6 + ], + "idx": 8 + }, + { + "pos": [ + 0, + 5 + ], + "idx": 8 + }, + { + "pos": [ + 1, + 5 + ], + "idx": 20 + }, + { + "pos": [ + 2, + 5 + ], + "idx": 40 + }, + { + "pos": [ + 3, + 5 + ], + "idx": 40 + }, + { + "pos": [ + 4, + 5 + ], + "idx": 23 + }, + { + "pos": [ + 22, + 5 + ], + "idx": 21 + }, + { + "pos": [ + 23, + 5 + ], + "idx": 40 + }, + { + "pos": [ + 24, + 5 + ], + "idx": 40 + }, + { + "pos": [ + 25, + 5 + ], + "idx": 13 + }, + { + "pos": [ + 26, + 5 + ], + "idx": 8 + }, + { + "pos": [ + 0, + 4 + ], + "idx": 8 + }, + { + "pos": [ + 1, + 4 + ], + "idx": 9 + }, + { + "pos": [ + 25, + 4 + ], + "idx": 7 + }, + { + "pos": [ + 26, + 4 + ], + "idx": 8 + }, + { + "pos": [ + 0, + 3 + ], + "idx": 8 + }, + { + "pos": [ + 1, + 3 + ], + "idx": 9 + }, + { + "pos": [ + 25, + 3 + ], + "idx": 7 + }, + { + "pos": [ + 26, + 3 + ], + "idx": 8 + }, + { + "pos": [ + 0, + 2 + ], + "idx": 8 + }, + { + "pos": [ + 1, + 2 + ], + "idx": 11 + }, + { + "pos": [ + 2, + 2 + ], + "idx": 1 + }, + { + "pos": [ + 3, + 2 + ], + "idx": 1 + }, + { + "pos": [ + 4, + 2 + ], + "idx": 1 + }, + { + "pos": [ + 5, + 2 + ], + "idx": 1 + }, + { + "pos": [ + 6, + 2 + ], + "idx": 1 + }, + { + "pos": [ + 7, + 2 + ], + "idx": 1 + }, + { + "pos": [ + 8, + 2 + ], + "idx": 1 + }, + { + "pos": [ + 9, + 2 + ], + "idx": 1 + }, + { + "pos": [ + 10, + 2 + ], + "idx": 1 + }, + { + "pos": [ + 11, + 2 + ], + "idx": 1 + }, + { + "pos": [ + 12, + 2 + ], + "idx": 1 + }, + { + "pos": [ + 13, + 2 + ], + "idx": 1 + }, + { + "pos": [ + 14, + 2 + ], + "idx": 1 + }, + { + "pos": [ + 15, + 2 + ], + "idx": 1 + }, + { + "pos": [ + 16, + 2 + ], + "idx": 1 + }, + { + "pos": [ + 17, + 2 + ], + "idx": 1 + }, + { + "pos": [ + 18, + 2 + ], + "idx": 1 + }, + { + "pos": [ + 19, + 2 + ], + "idx": 1 + }, + { + "pos": [ + 20, + 2 + ], + "idx": 1 + }, + { + "pos": [ + 21, + 2 + ], + "idx": 1 + }, + { + "pos": [ + 22, + 2 + ], + "idx": 1 + }, + { + "pos": [ + 23, + 2 + ], + "idx": 1 + }, + { + "pos": [ + 24, + 2 + ], + "idx": 1 + }, + { + "pos": [ + 25, + 2 + ], + "idx": 12 + }, + { + "pos": [ + 26, + 2 + ], + "idx": 8 + }, + { + "pos": [ + 0, + 1 + ], + "idx": 8 + }, + { + "pos": [ + 1, + 1 + ], + "idx": 8 + }, + { + "pos": [ + 2, + 1 + ], + "idx": 8 + }, + { + "pos": [ + 3, + 1 + ], + "idx": 8 + }, + { + "pos": [ + 4, + 1 + ], + "idx": 8 + }, + { + "pos": [ + 5, + 1 + ], + "idx": 8 + }, + { + "pos": [ + 6, + 1 + ], + "idx": 8 + }, + { + "pos": [ + 7, + 1 + ], + "idx": 8 + }, + { + "pos": [ + 8, + 1 + ], + "idx": 8 + }, + { + "pos": [ + 9, + 1 + ], + "idx": 8 + }, + { + "pos": [ + 10, + 1 + ], + "idx": 8 + }, + { + "pos": [ + 11, + 1 + ], + "idx": 8 + }, + { + "pos": [ + 12, + 1 + ], + "idx": 8 + }, + { + "pos": [ + 13, + 1 + ], + "idx": 8 + }, + { + "pos": [ + 14, + 1 + ], + "idx": 8 + }, + { + "pos": [ + 15, + 1 + ], + "idx": 8 + }, + { + "pos": [ + 16, + 1 + ], + "idx": 8 + }, + { + "pos": [ + 17, + 1 + ], + "idx": 8 + }, + { + "pos": [ + 18, + 1 + ], + "idx": 8 + }, + { + "pos": [ + 19, + 1 + ], + "idx": 8 + }, + { + "pos": [ + 20, + 1 + ], + "idx": 8 + }, + { + "pos": [ + 21, + 1 + ], + "idx": 8 + }, + { + "pos": [ + 22, + 1 + ], + "idx": 8 + }, + { + "pos": [ + 23, + 1 + ], + "idx": 8 + }, + { + "pos": [ + 24, + 1 + ], + "idx": 8 + }, + { + "pos": [ + 25, + 1 + ], + "idx": 8 + }, + { + "pos": [ + 26, + 1 + ], + "idx": 8 + }, + { + "pos": [ + 0, + 0 + ], + "idx": 15 + }, + { + "pos": [ + 1, + 0 + ], + "idx": 15 + }, + { + "pos": [ + 2, + 0 + ], + "idx": 15 + }, + { + "pos": [ + 3, + 0 + ], + "idx": 15 + }, + { + "pos": [ + 4, + 0 + ], + "idx": 15 + }, + { + "pos": [ + 5, + 0 + ], + "idx": 15 + }, + { + "pos": [ + 6, + 0 + ], + "idx": 15 + }, + { + "pos": [ + 7, + 0 + ], + "idx": 15 + }, + { + "pos": [ + 8, + 0 + ], + "idx": 15 + }, + { + "pos": [ + 9, + 0 + ], + "idx": 15 + }, + { + "pos": [ + 10, + 0 + ], + "idx": 15 + }, + { + "pos": [ + 11, + 0 + ], + "idx": 15 + }, + { + "pos": [ + 12, + 0 + ], + "idx": 15 + }, + { + "pos": [ + 13, + 0 + ], + "idx": 15 + }, + { + "pos": [ + 14, + 0 + ], + "idx": 15 + }, + { + "pos": [ + 15, + 0 + ], + "idx": 15 + }, + { + "pos": [ + 16, + 0 + ], + "idx": 15 + }, + { + "pos": [ + 17, + 0 + ], + "idx": 15 + }, + { + "pos": [ + 18, + 0 + ], + "idx": 15 + }, + { + "pos": [ + 19, + 0 + ], + "idx": 15 + }, + { + "pos": [ + 20, + 0 + ], + "idx": 15 + }, + { + "pos": [ + 21, + 0 + ], + "idx": 15 + }, + { + "pos": [ + 22, + 0 + ], + "idx": 15 + }, + { + "pos": [ + 23, + 0 + ], + "idx": 15 + }, + { + "pos": [ + 24, + 0 + ], + "idx": 15 + }, + { + "pos": [ + 25, + 0 + ], + "idx": 15 + }, + { + "pos": [ + 26, + 0 + ], + "idx": 15 + } + ], + "tilemap": "../resources/default_tileset.png" + } + } + }, + { + "id": "decorations", + "kind": { + "element": { + "elements": [ + { + "pos": [ + 434.74872000000005, + 361.5 + ], + "element": "../elements/environment/sproinger/sproinger.element.yaml" + }, + { + "pos": [ + 84.00005999999999, + 201.5 + ], + "element": "../elements/environment/sproinger/sproinger.element.yaml" + }, + { + "pos": [ + 787.7431999999999, + 201.5 + ], + "element": "../elements/environment/sproinger/sproinger.element.yaml" + }, + { + "pos": [ + 90.666664, + 121.5 + ], + "element": "../elements/decoration/anemones/anemones.element.yaml" + }, + { + "pos": [ + 776, + 121.5 + ], + "element": "../elements/decoration/anemones/anemones.element.yaml" + }, + { + "pos": [ + 672, + 121.5 + ], + "element": "../elements/decoration/seaweed/seaweed.element.yaml" + }, + { + "pos": [ + 192, + 121.5 + ], + "element": "../elements/decoration/seaweed/seaweed.element.yaml" + }, + { + "pos": [ + 448, + 121.5 + ], + "element": "../elements/decoration/anemones/anemones.element.yaml" + }, + { + "pos": [ + 437.2876, + 377.5 + ], + "element": "../elements/decoration/seaweed/seaweed.element.yaml" + }, + { + "pos": [ + 608, + 313.5 + ], + "element": "../elements/decoration/anemones/anemones.element.yaml" + }, + { + "pos": [ + 441.66668000000004, + 569.5 + ], + "element": "../elements/decoration/anemones/anemones.element.yaml" + }, + { + "pos": [ + 256, + 313.5 + ], + "element": "../elements/decoration/anemones/anemones.element.yaml" + }, + { + "pos": [ + 291.83331999999996, + 601.5 + ], + "element": "../elements/decoration/seaweed/seaweed.element.yaml" + }, + { + "pos": [ + 777.6371999999999, + 409.5 + ], + "element": "../elements/decoration/seaweed/seaweed.element.yaml" + }, + { + "pos": [ + 576, + 601.5 + ], + "element": "../elements/decoration/seaweed/seaweed.element.yaml" + }, + { + "pos": [ + 88, + 409.5 + ], + "element": "../elements/decoration/seaweed/seaweed.element.yaml" + } + ] + } + } + }, + { + "id": "items", + "kind": { + "element": { + "elements": [ + { + "pos": [ + 536, + 309.5 + ], + "element": "../elements/item/musket/musket.element.yaml" + }, + { + "pos": [ + 292.22720000000004, + 609.5 + ], + "element": "../elements/environment/fish_school/fish_school.element.yaml" + }, + { + "pos": [ + 552, + 289.5 + ], + "element": "../elements/environment/crab/crab.element.yaml" + }, + { + "pos": [ + 496, + 545.5 + ], + "element": "../elements/environment/crab/crab.element.yaml" + }, + { + "pos": [ + 184, + 155.5 + ], + "element": "../elements/environment/fish_school/fish_school.element.yaml" + }, + { + "pos": [ + 772.4570000000001, + 425.5 + ], + "element": "../elements/environment/fish_school/fish_school.element.yaml" + }, + { + "pos": [ + 312.0556, + 311.5 + ], + "element": "../elements/item/musket/musket.element.yaml" + }, + { + "pos": [ + 132.024688, + 121.5 + ], + "element": "../elements/item/machine_gun/machine_gun.element.yaml" + }, + { + "pos": [ + 561, + 599.5 + ], + "element": "../elements/item/sword/sword.element.yaml" + }, + { + "pos": [ + 272, + 593.5 + ], + "element": "../elements/item/sword/sword.element.yaml" + }, + { + "pos": [ + 171.57139999999998, + 409.5 + ], + "element": "../elements/item/kick_bomb/kick_bomb.element.yaml" + }, + { + "pos": [ + 712, + 393.5 + ], + "element": "../elements/item/mines/mines.element.yaml" + }, + { + "pos": [ + 720.9998, + 121.5 + ], + "element": "../elements/item/cannon/cannon.element.yaml" + }, + { + "pos": [ + 312, + 105.5 + ], + "element": "../elements/environment/sproinger/sproinger.element.yaml" + }, + { + "pos": [ + 576, + 105.5 + ], + "element": "../elements/environment/sproinger/sproinger.element.yaml" + } + ] + } + } + }, + { + "id": "spawners", + "kind": { + "element": { + "elements": [ + { + "pos": [ + 268.33334, + 640 + ], + "element": "../elements/environment/player_spawner/player_spawner.element.yaml" + }, + { + "pos": [ + 124.16667, + 224.50002999999998 + ], + "element": "../elements/environment/player_spawner/player_spawner.element.yaml" + }, + { + "pos": [ + 701.74677, + 225.11905000000002 + ], + "element": "../elements/environment/player_spawner/player_spawner.element.yaml" + }, + { + "pos": [ + 559.6667, + 640 + ], + "element": "../elements/environment/player_spawner/player_spawner.element.yaml" + } + ] + } + } + } + ], + "background_layers": [ + { + "image": "../resources/background_04.png", + "speed": 0, + "tile_size": [ + 896, + 480 + ], + "z": -110, + "position": [ + 0, + 360 + ], + "scale": 2 + }, + { + "image": "../resources/background_03.png", + "speed": 0.74, + "tile_size": [ + 896, + 480 + ], + "z": -109, + "position": [ + 0, + 360 + ], + "scale": 2 + }, + { + "image": "../resources/background_02.png", + "speed": 0.82, + "tile_size": [ + 896, + 480 + ], + "z": -108, + "position": [ + 0, + 360 + ], + "scale": 2 + }, + { + "image": "../resources/background_01.png", + "speed": 100, + "tile_size": [ + 896, + 480 + ], + "z": -107, + "position": [ + 0, + 360 + ], + "scale": 2 + } + ] +} \ No newline at end of file diff --git a/assets/map/levels/level2.map.json b/assets/map/levels/level2.map.json new file mode 100644 index 0000000000..e563f1f22c --- /dev/null +++ b/assets/map/levels/level2.map.json @@ -0,0 +1,1271 @@ +{ + "name": "Level 2", + "background_color": "7EA8A6", + "grid_size": [ + 34, + 14 + ], + "tile_size": [ + 32, + 32 + ], + "layers": [ + { + "id": "main layer", + "kind": { + "tile": { + "has_collision": true, + "tiles": [ + { + "pos": [ + 21, + 9 + ], + "idx": 56, + "jump_through": true + }, + { + "pos": [ + 22, + 9 + ], + "idx": 58, + "jump_through": true + }, + { + "pos": [ + 23, + 9 + ], + "idx": 60, + "jump_through": true + }, + { + "pos": [ + 6, + 8 + ], + "idx": 56, + "jump_through": true + }, + { + "pos": [ + 7, + 8 + ], + "idx": 58, + "jump_through": true + }, + { + "pos": [ + 8, + 8 + ], + "idx": 60, + "jump_through": true + }, + { + "pos": [ + 11, + 7 + ], + "idx": 0 + }, + { + "pos": [ + 12, + 7 + ], + "idx": 1 + }, + { + "pos": [ + 13, + 7 + ], + "idx": 1 + }, + { + "pos": [ + 14, + 7 + ], + "idx": 1 + }, + { + "pos": [ + 15, + 7 + ], + "idx": 1 + }, + { + "pos": [ + 16, + 7 + ], + "idx": 2 + }, + { + "pos": [ + 11, + 6 + ], + "idx": 7 + }, + { + "pos": [ + 12, + 6 + ], + "idx": 8 + }, + { + "pos": [ + 13, + 6 + ], + "idx": 8 + }, + { + "pos": [ + 14, + 6 + ], + "idx": 8 + }, + { + "pos": [ + 15, + 6 + ], + "idx": 8 + }, + { + "pos": [ + 16, + 6 + ], + "idx": 9 + }, + { + "pos": [ + 11, + 5 + ], + "idx": 7 + }, + { + "pos": [ + 12, + 5 + ], + "idx": 8 + }, + { + "pos": [ + 13, + 5 + ], + "idx": 8 + }, + { + "pos": [ + 14, + 5 + ], + "idx": 8 + }, + { + "pos": [ + 15, + 5 + ], + "idx": 8 + }, + { + "pos": [ + 16, + 5 + ], + "idx": 9 + }, + { + "pos": [ + 24, + 5 + ], + "idx": 0 + }, + { + "pos": [ + 25, + 5 + ], + "idx": 1 + }, + { + "pos": [ + 26, + 5 + ], + "idx": 1 + }, + { + "pos": [ + 27, + 5 + ], + "idx": 1 + }, + { + "pos": [ + 28, + 5 + ], + "idx": 2 + }, + { + "pos": [ + 4, + 4 + ], + "idx": 0 + }, + { + "pos": [ + 5, + 4 + ], + "idx": 1 + }, + { + "pos": [ + 6, + 4 + ], + "idx": 2 + }, + { + "pos": [ + 11, + 4 + ], + "idx": 7 + }, + { + "pos": [ + 12, + 4 + ], + "idx": 8 + }, + { + "pos": [ + 13, + 4 + ], + "idx": 8 + }, + { + "pos": [ + 14, + 4 + ], + "idx": 8 + }, + { + "pos": [ + 15, + 4 + ], + "idx": 0 + }, + { + "pos": [ + 16, + 4 + ], + "idx": 1 + }, + { + "pos": [ + 17, + 4 + ], + "idx": 1 + }, + { + "pos": [ + 18, + 4 + ], + "idx": 2 + }, + { + "pos": [ + 24, + 4 + ], + "idx": 7 + }, + { + "pos": [ + 25, + 4 + ], + "idx": 8 + }, + { + "pos": [ + 26, + 4 + ], + "idx": 8 + }, + { + "pos": [ + 27, + 4 + ], + "idx": 8 + }, + { + "pos": [ + 28, + 4 + ], + "idx": 9 + }, + { + "pos": [ + 4, + 3 + ], + "idx": 7 + }, + { + "pos": [ + 5, + 3 + ], + "idx": 8 + }, + { + "pos": [ + 6, + 3 + ], + "idx": 9 + }, + { + "pos": [ + 11, + 3 + ], + "idx": 7 + }, + { + "pos": [ + 12, + 3 + ], + "idx": 8 + }, + { + "pos": [ + 13, + 3 + ], + "idx": 8 + }, + { + "pos": [ + 14, + 3 + ], + "idx": 8 + }, + { + "pos": [ + 15, + 3 + ], + "idx": 7 + }, + { + "pos": [ + 16, + 3 + ], + "idx": 8 + }, + { + "pos": [ + 17, + 3 + ], + "idx": 8 + }, + { + "pos": [ + 18, + 3 + ], + "idx": 9 + }, + { + "pos": [ + 24, + 3 + ], + "idx": 7 + }, + { + "pos": [ + 25, + 3 + ], + "idx": 8 + }, + { + "pos": [ + 26, + 3 + ], + "idx": 8 + }, + { + "pos": [ + 27, + 3 + ], + "idx": 8 + }, + { + "pos": [ + 28, + 3 + ], + "idx": 9 + }, + { + "pos": [ + 4, + 2 + ], + "idx": 7 + }, + { + "pos": [ + 5, + 2 + ], + "idx": 8 + }, + { + "pos": [ + 6, + 2 + ], + "idx": 9 + }, + { + "pos": [ + 11, + 2 + ], + "idx": 7 + }, + { + "pos": [ + 12, + 2 + ], + "idx": 8 + }, + { + "pos": [ + 13, + 2 + ], + "idx": 8 + }, + { + "pos": [ + 14, + 2 + ], + "idx": 8 + }, + { + "pos": [ + 15, + 2 + ], + "idx": 7 + }, + { + "pos": [ + 16, + 2 + ], + "idx": 8 + }, + { + "pos": [ + 17, + 2 + ], + "idx": 8 + }, + { + "pos": [ + 18, + 2 + ], + "idx": 9 + }, + { + "pos": [ + 24, + 2 + ], + "idx": 7 + }, + { + "pos": [ + 25, + 2 + ], + "idx": 8 + }, + { + "pos": [ + 26, + 2 + ], + "idx": 8 + }, + { + "pos": [ + 27, + 2 + ], + "idx": 8 + }, + { + "pos": [ + 28, + 2 + ], + "idx": 9 + }, + { + "pos": [ + 2, + 1 + ], + "idx": 0 + }, + { + "pos": [ + 3, + 1 + ], + "idx": 1 + }, + { + "pos": [ + 4, + 1 + ], + "idx": 1 + }, + { + "pos": [ + 5, + 1 + ], + "idx": 1 + }, + { + "pos": [ + 6, + 1 + ], + "idx": 1 + }, + { + "pos": [ + 7, + 1 + ], + "idx": 1 + }, + { + "pos": [ + 8, + 1 + ], + "idx": 1 + }, + { + "pos": [ + 9, + 1 + ], + "idx": 1 + }, + { + "pos": [ + 10, + 1 + ], + "idx": 1 + }, + { + "pos": [ + 11, + 1 + ], + "idx": 1 + }, + { + "pos": [ + 12, + 1 + ], + "idx": 1 + }, + { + "pos": [ + 13, + 1 + ], + "idx": 1 + }, + { + "pos": [ + 14, + 1 + ], + "idx": 1 + }, + { + "pos": [ + 15, + 1 + ], + "idx": 1 + }, + { + "pos": [ + 16, + 1 + ], + "idx": 1 + }, + { + "pos": [ + 17, + 1 + ], + "idx": 1 + }, + { + "pos": [ + 18, + 1 + ], + "idx": 1 + }, + { + "pos": [ + 19, + 1 + ], + "idx": 1 + }, + { + "pos": [ + 20, + 1 + ], + "idx": 1 + }, + { + "pos": [ + 21, + 1 + ], + "idx": 1 + }, + { + "pos": [ + 22, + 1 + ], + "idx": 1 + }, + { + "pos": [ + 23, + 1 + ], + "idx": 1 + }, + { + "pos": [ + 24, + 1 + ], + "idx": 1 + }, + { + "pos": [ + 25, + 1 + ], + "idx": 1 + }, + { + "pos": [ + 26, + 1 + ], + "idx": 1 + }, + { + "pos": [ + 27, + 1 + ], + "idx": 1 + }, + { + "pos": [ + 28, + 1 + ], + "idx": 1 + }, + { + "pos": [ + 29, + 1 + ], + "idx": 1 + }, + { + "pos": [ + 30, + 1 + ], + "idx": 1 + }, + { + "pos": [ + 31, + 1 + ], + "idx": 2 + }, + { + "pos": [ + 2, + 0 + ], + "idx": 7 + }, + { + "pos": [ + 3, + 0 + ], + "idx": 8 + }, + { + "pos": [ + 4, + 0 + ], + "idx": 8 + }, + { + "pos": [ + 5, + 0 + ], + "idx": 8 + }, + { + "pos": [ + 6, + 0 + ], + "idx": 8 + }, + { + "pos": [ + 7, + 0 + ], + "idx": 8 + }, + { + "pos": [ + 8, + 0 + ], + "idx": 8 + }, + { + "pos": [ + 9, + 0 + ], + "idx": 8 + }, + { + "pos": [ + 10, + 0 + ], + "idx": 8 + }, + { + "pos": [ + 11, + 0 + ], + "idx": 8 + }, + { + "pos": [ + 12, + 0 + ], + "idx": 8 + }, + { + "pos": [ + 13, + 0 + ], + "idx": 8 + }, + { + "pos": [ + 14, + 0 + ], + "idx": 8 + }, + { + "pos": [ + 15, + 0 + ], + "idx": 8 + }, + { + "pos": [ + 16, + 0 + ], + "idx": 8 + }, + { + "pos": [ + 17, + 0 + ], + "idx": 8 + }, + { + "pos": [ + 18, + 0 + ], + "idx": 8 + }, + { + "pos": [ + 19, + 0 + ], + "idx": 8 + }, + { + "pos": [ + 20, + 0 + ], + "idx": 8 + }, + { + "pos": [ + 21, + 0 + ], + "idx": 8 + }, + { + "pos": [ + 22, + 0 + ], + "idx": 8 + }, + { + "pos": [ + 23, + 0 + ], + "idx": 8 + }, + { + "pos": [ + 24, + 0 + ], + "idx": 8 + }, + { + "pos": [ + 25, + 0 + ], + "idx": 8 + }, + { + "pos": [ + 26, + 0 + ], + "idx": 8 + }, + { + "pos": [ + 27, + 0 + ], + "idx": 8 + }, + { + "pos": [ + 28, + 0 + ], + "idx": 8 + }, + { + "pos": [ + 29, + 0 + ], + "idx": 8 + }, + { + "pos": [ + 30, + 0 + ], + "idx": 8 + }, + { + "pos": [ + 31, + 0 + ], + "idx": 9 + } + ], + "tilemap": "../resources/default_tileset.png" + } + } + }, + { + "id": "decorations", + "kind": { + "element": { + "elements": [ + { + "pos": [ + 536, + 185.5 + ], + "element": "../elements/decoration/anemones/anemones.element.yaml" + }, + { + "pos": [ + 216, + 89.5 + ], + "element": "../elements/decoration/seaweed/seaweed.element.yaml" + }, + { + "pos": [ + 440, + 89.5 + ], + "element": "../elements/decoration/seaweed/seaweed.element.yaml" + }, + { + "pos": [ + 888, + 217.5 + ], + "element": "../elements/decoration/seaweed/seaweed.element.yaml" + }, + { + "pos": [ + 760, + 89.5 + ], + "element": "../elements/decoration/seaweed/seaweed.element.yaml" + }, + { + "pos": [ + 408, + 281.5 + ], + "element": "../elements/decoration/seaweed/seaweed.element.yaml" + }, + { + "pos": [ + 920, + 89.5 + ], + "element": "../elements/decoration/anemones/anemones.element.yaml" + }, + { + "pos": [ + 120, + 89.5 + ], + "element": "../elements/decoration/anemones/anemones.element.yaml" + } + ] + } + } + }, + { + "id": "items", + "kind": { + "element": { + "elements": [ + { + "pos": [ + 222.66680000000002, + 127.5 + ], + "element": "../elements/environment/fish_school/fish_school.element.yaml" + }, + { + "pos": [ + 446, + 185.5 + ], + "element": "../elements/environment/fish_school/fish_school.element.yaml" + }, + { + "pos": [ + 712.0001199999999, + 73.5 + ], + "element": "../elements/environment/crab/crab.element.yaml" + }, + { + "pos": [ + 891.3332, + 241.5 + ], + "element": "../elements/environment/fish_school/fish_school.element.yaml" + }, + { + "pos": [ + 478.66668000000004, + 265.5 + ], + "element": "../elements/environment/crab/crab.element.yaml" + }, + { + "pos": [ + 256, + 73.5 + ], + "element": "../elements/item/musket/musket.element.yaml" + }, + { + "pos": [ + 652.5714, + 73.5 + ], + "element": "../elements/item/musket/musket.element.yaml" + }, + { + "pos": [ + 456, + 285.5 + ], + "element": "../elements/item/kick_bomb/kick_bomb.element.yaml" + }, + { + "pos": [ + 1015.1428000000001, + 95.5 + ], + "element": "../elements/item/kick_bomb/kick_bomb.element.yaml" + }, + { + "pos": [ + 343.11120000000005, + 73.5 + ], + "element": "../elements/environment/sproinger/sproinger.element.yaml" + }, + { + "pos": [ + 758.1110799999999, + 73.5 + ], + "element": "../elements/environment/sproinger/sproinger.element.yaml" + }, + { + "pos": [ + 949.4359199999999, + 73.5 + ], + "element": "../elements/environment/sproinger/sproinger.element.yaml" + }, + { + "pos": [ + 706.8571999999999, + 337.5 + ], + "element": "../elements/item/sword/sword.element.yaml" + }, + { + "pos": [ + 224, + 311.5 + ], + "element": "../elements/item/sword/sword.element.yaml" + } + ] + } + } + }, + { + "id": "spawners", + "kind": { + "element": { + "elements": [ + { + "pos": [ + 160, + 192 + ], + "element": "../elements/environment/player_spawner/player_spawner.element.yaml" + }, + { + "pos": [ + 320, + 96 + ], + "element": "../elements/environment/player_spawner/player_spawner.element.yaml" + }, + { + "pos": [ + 576, + 192 + ], + "element": "../elements/environment/player_spawner/player_spawner.element.yaml" + }, + { + "pos": [ + 704, + 96 + ], + "element": "../elements/environment/player_spawner/player_spawner.element.yaml" + }, + { + "pos": [ + 800, + 224 + ], + "element": "../elements/environment/player_spawner/player_spawner.element.yaml" + }, + { + "pos": [ + 960, + 96 + ], + "element": "../elements/environment/player_spawner/player_spawner.element.yaml" + } + ] + } + } + } + ], + "background_layers": [ + { + "image": "../resources/background_04.png", + "speed": 0, + "tile_size": [ + 896, + 480 + ], + "z": -110, + "position": [ + 0, + 360 + ], + "scale": 2 + }, + { + "image": "../resources/background_03.png", + "speed": 0.74, + "tile_size": [ + 896, + 480 + ], + "z": -109, + "position": [ + 0, + 360 + ], + "scale": 2 + }, + { + "image": "../resources/background_02.png", + "speed": 0.82, + "tile_size": [ + 896, + 480 + ], + "z": -108, + "position": [ + 0, + 360 + ], + "scale": 2 + }, + { + "image": "../resources/background_01.png", + "speed": 100, + "tile_size": [ + 896, + 480 + ], + "z": -107, + "position": [ + 0, + 360 + ], + "scale": 2 + } + ] +} \ No newline at end of file diff --git a/assets/map/levels/level3.map.json b/assets/map/levels/level3.map.json new file mode 100644 index 0000000000..d5fcc9ac70 --- /dev/null +++ b/assets/map/levels/level3.map.json @@ -0,0 +1,2239 @@ +{ + "name": "Level 3", + "background_color": "7EA8A6", + "grid_size": [ + 27, + 22 + ], + "tile_size": [ + 32, + 32 + ], + "layers": [ + { + "id": "main layer", + "kind": { + "tile": { + "has_collision": true, + "tiles": [ + { + "pos": [ + 0, + 21 + ], + "idx": 8 + }, + { + "pos": [ + 1, + 21 + ], + "idx": 8 + }, + { + "pos": [ + 2, + 21 + ], + "idx": 8 + }, + { + "pos": [ + 3, + 21 + ], + "idx": 8 + }, + { + "pos": [ + 4, + 21 + ], + "idx": 8 + }, + { + "pos": [ + 5, + 21 + ], + "idx": 8 + }, + { + "pos": [ + 6, + 21 + ], + "idx": 8 + }, + { + "pos": [ + 7, + 21 + ], + "idx": 8 + }, + { + "pos": [ + 8, + 21 + ], + "idx": 8 + }, + { + "pos": [ + 9, + 21 + ], + "idx": 8 + }, + { + "pos": [ + 10, + 21 + ], + "idx": 8 + }, + { + "pos": [ + 11, + 21 + ], + "idx": 8 + }, + { + "pos": [ + 12, + 21 + ], + "idx": 8 + }, + { + "pos": [ + 13, + 21 + ], + "idx": 8 + }, + { + "pos": [ + 14, + 21 + ], + "idx": 8 + }, + { + "pos": [ + 15, + 21 + ], + "idx": 8 + }, + { + "pos": [ + 16, + 21 + ], + "idx": 8 + }, + { + "pos": [ + 17, + 21 + ], + "idx": 8 + }, + { + "pos": [ + 18, + 21 + ], + "idx": 8 + }, + { + "pos": [ + 19, + 21 + ], + "idx": 8 + }, + { + "pos": [ + 20, + 21 + ], + "idx": 8 + }, + { + "pos": [ + 21, + 21 + ], + "idx": 8 + }, + { + "pos": [ + 22, + 21 + ], + "idx": 8 + }, + { + "pos": [ + 23, + 21 + ], + "idx": 8 + }, + { + "pos": [ + 24, + 21 + ], + "idx": 8 + }, + { + "pos": [ + 25, + 21 + ], + "idx": 8 + }, + { + "pos": [ + 26, + 21 + ], + "idx": 8 + }, + { + "pos": [ + 0, + 20 + ], + "idx": 4 + }, + { + "pos": [ + 1, + 20 + ], + "idx": 15 + }, + { + "pos": [ + 2, + 20 + ], + "idx": 15 + }, + { + "pos": [ + 3, + 20 + ], + "idx": 15 + }, + { + "pos": [ + 4, + 20 + ], + "idx": 15 + }, + { + "pos": [ + 5, + 20 + ], + "idx": 15 + }, + { + "pos": [ + 6, + 20 + ], + "idx": 15 + }, + { + "pos": [ + 7, + 20 + ], + "idx": 15 + }, + { + "pos": [ + 8, + 20 + ], + "idx": 15 + }, + { + "pos": [ + 9, + 20 + ], + "idx": 15 + }, + { + "pos": [ + 10, + 20 + ], + "idx": 15 + }, + { + "pos": [ + 11, + 20 + ], + "idx": 15 + }, + { + "pos": [ + 12, + 20 + ], + "idx": 15 + }, + { + "pos": [ + 13, + 20 + ], + "idx": 15 + }, + { + "pos": [ + 14, + 20 + ], + "idx": 15 + }, + { + "pos": [ + 15, + 20 + ], + "idx": 15 + }, + { + "pos": [ + 16, + 20 + ], + "idx": 15 + }, + { + "pos": [ + 17, + 20 + ], + "idx": 15 + }, + { + "pos": [ + 18, + 20 + ], + "idx": 15 + }, + { + "pos": [ + 19, + 20 + ], + "idx": 15 + }, + { + "pos": [ + 20, + 20 + ], + "idx": 15 + }, + { + "pos": [ + 21, + 20 + ], + "idx": 15 + }, + { + "pos": [ + 22, + 20 + ], + "idx": 15 + }, + { + "pos": [ + 23, + 20 + ], + "idx": 15 + }, + { + "pos": [ + 24, + 20 + ], + "idx": 15 + }, + { + "pos": [ + 25, + 20 + ], + "idx": 15 + }, + { + "pos": [ + 26, + 20 + ], + "idx": 5 + }, + { + "pos": [ + 0, + 19 + ], + "idx": 9 + }, + { + "pos": [ + 1, + 19 + ], + "idx": 58, + "jump_through": true + }, + { + "pos": [ + 2, + 19 + ], + "idx": 58, + "jump_through": true + }, + { + "pos": [ + 3, + 19 + ], + "idx": 58, + "jump_through": true + }, + { + "pos": [ + 4, + 19 + ], + "idx": 58, + "jump_through": true + }, + { + "pos": [ + 5, + 19 + ], + "idx": 58, + "jump_through": true + }, + { + "pos": [ + 6, + 19 + ], + "idx": 58, + "jump_through": true + }, + { + "pos": [ + 7, + 19 + ], + "idx": 58, + "jump_through": true + }, + { + "pos": [ + 8, + 19 + ], + "idx": 58, + "jump_through": true + }, + { + "pos": [ + 9, + 19 + ], + "idx": 58, + "jump_through": true + }, + { + "pos": [ + 10, + 19 + ], + "idx": 58, + "jump_through": true + }, + { + "pos": [ + 11, + 19 + ], + "idx": 58, + "jump_through": true + }, + { + "pos": [ + 12, + 19 + ], + "idx": 58, + "jump_through": true + }, + { + "pos": [ + 13, + 19 + ], + "idx": 58, + "jump_through": true + }, + { + "pos": [ + 14, + 19 + ], + "idx": 58, + "jump_through": true + }, + { + "pos": [ + 15, + 19 + ], + "idx": 58, + "jump_through": true + }, + { + "pos": [ + 16, + 19 + ], + "idx": 58, + "jump_through": true + }, + { + "pos": [ + 17, + 19 + ], + "idx": 58, + "jump_through": true + }, + { + "pos": [ + 18, + 19 + ], + "idx": 58, + "jump_through": true + }, + { + "pos": [ + 19, + 19 + ], + "idx": 58, + "jump_through": true + }, + { + "pos": [ + 20, + 19 + ], + "idx": 58, + "jump_through": true + }, + { + "pos": [ + 21, + 19 + ], + "idx": 58, + "jump_through": true + }, + { + "pos": [ + 22, + 19 + ], + "idx": 58, + "jump_through": true + }, + { + "pos": [ + 23, + 19 + ], + "idx": 58, + "jump_through": true + }, + { + "pos": [ + 24, + 19 + ], + "idx": 58, + "jump_through": true + }, + { + "pos": [ + 25, + 19 + ], + "idx": 58, + "jump_through": true + }, + { + "pos": [ + 26, + 19 + ], + "idx": 7 + }, + { + "pos": [ + 0, + 18 + ], + "idx": 9 + }, + { + "pos": [ + 26, + 18 + ], + "idx": 7 + }, + { + "pos": [ + 0, + 17 + ], + "idx": 9 + }, + { + "pos": [ + 26, + 17 + ], + "idx": 7 + }, + { + "pos": [ + 0, + 16 + ], + "idx": 9 + }, + { + "pos": [ + 26, + 16 + ], + "idx": 7 + }, + { + "pos": [ + 0, + 15 + ], + "idx": 9 + }, + { + "pos": [ + 26, + 15 + ], + "idx": 7 + }, + { + "pos": [ + 0, + 14 + ], + "idx": 9 + }, + { + "pos": [ + 26, + 14 + ], + "idx": 7 + }, + { + "pos": [ + 0, + 13 + ], + "idx": 9 + }, + { + "pos": [ + 1, + 13 + ], + "idx": 58, + "jump_through": true + }, + { + "pos": [ + 2, + 13 + ], + "idx": 60, + "jump_through": true + }, + { + "pos": [ + 6, + 13 + ], + "idx": 21 + }, + { + "pos": [ + 7, + 13 + ], + "idx": 22 + }, + { + "pos": [ + 8, + 13 + ], + "idx": 22 + }, + { + "pos": [ + 9, + 13 + ], + "idx": 22 + }, + { + "pos": [ + 10, + 13 + ], + "idx": 23 + }, + { + "pos": [ + 16, + 13 + ], + "idx": 21 + }, + { + "pos": [ + 17, + 13 + ], + "idx": 22 + }, + { + "pos": [ + 18, + 13 + ], + "idx": 22 + }, + { + "pos": [ + 19, + 13 + ], + "idx": 22 + }, + { + "pos": [ + 20, + 13 + ], + "idx": 23 + }, + { + "pos": [ + 24, + 13 + ], + "idx": 56, + "jump_through": true + }, + { + "pos": [ + 25, + 13 + ], + "idx": 58, + "jump_through": true + }, + { + "pos": [ + 26, + 13 + ], + "idx": 7 + }, + { + "pos": [ + 0, + 12 + ], + "idx": 9 + }, + { + "pos": [ + 26, + 12 + ], + "idx": 7 + }, + { + "pos": [ + 0, + 11 + ], + "idx": 9 + }, + { + "pos": [ + 26, + 11 + ], + "idx": 7 + }, + { + "pos": [ + 0, + 10 + ], + "idx": 9 + }, + { + "pos": [ + 1, + 10 + ], + "idx": 58, + "jump_through": true + }, + { + "pos": [ + 2, + 10 + ], + "idx": 58, + "jump_through": true + }, + { + "pos": [ + 3, + 10 + ], + "idx": 60, + "jump_through": true + }, + { + "pos": [ + 23, + 10 + ], + "idx": 56, + "jump_through": true + }, + { + "pos": [ + 24, + 10 + ], + "idx": 58, + "jump_through": true + }, + { + "pos": [ + 25, + 10 + ], + "idx": 58, + "jump_through": true + }, + { + "pos": [ + 26, + 10 + ], + "idx": 7 + }, + { + "pos": [ + 0, + 9 + ], + "idx": 9 + }, + { + "pos": [ + 26, + 9 + ], + "idx": 7 + }, + { + "pos": [ + 0, + 8 + ], + "idx": 9 + }, + { + "pos": [ + 6, + 8 + ], + "idx": 56, + "jump_through": true + }, + { + "pos": [ + 7, + 8 + ], + "idx": 58, + "jump_through": true + }, + { + "pos": [ + 8, + 8 + ], + "idx": 58, + "jump_through": true + }, + { + "pos": [ + 9, + 8 + ], + "idx": 58, + "jump_through": true + }, + { + "pos": [ + 10, + 8 + ], + "idx": 58, + "jump_through": true + }, + { + "pos": [ + 11, + 8 + ], + "idx": 58, + "jump_through": true + }, + { + "pos": [ + 12, + 8 + ], + "idx": 58, + "jump_through": true + }, + { + "pos": [ + 13, + 8 + ], + "idx": 58, + "jump_through": true + }, + { + "pos": [ + 14, + 8 + ], + "idx": 58, + "jump_through": true + }, + { + "pos": [ + 15, + 8 + ], + "idx": 58, + "jump_through": true + }, + { + "pos": [ + 16, + 8 + ], + "idx": 58, + "jump_through": true + }, + { + "pos": [ + 17, + 8 + ], + "idx": 58, + "jump_through": true + }, + { + "pos": [ + 18, + 8 + ], + "idx": 58, + "jump_through": true + }, + { + "pos": [ + 19, + 8 + ], + "idx": 58, + "jump_through": true + }, + { + "pos": [ + 20, + 8 + ], + "idx": 60, + "jump_through": true + }, + { + "pos": [ + 26, + 8 + ], + "idx": 7 + }, + { + "pos": [ + 0, + 7 + ], + "idx": 9 + }, + { + "pos": [ + 26, + 7 + ], + "idx": 7 + }, + { + "pos": [ + 0, + 6 + ], + "idx": 11 + }, + { + "pos": [ + 1, + 6 + ], + "idx": 1 + }, + { + "pos": [ + 2, + 6 + ], + "idx": 2 + }, + { + "pos": [ + 24, + 6 + ], + "idx": 0 + }, + { + "pos": [ + 25, + 6 + ], + "idx": 1 + }, + { + "pos": [ + 26, + 6 + ], + "idx": 12 + }, + { + "pos": [ + 0, + 5 + ], + "idx": 8 + }, + { + "pos": [ + 1, + 5 + ], + "idx": 8 + }, + { + "pos": [ + 2, + 5 + ], + "idx": 11 + }, + { + "pos": [ + 3, + 5 + ], + "idx": 2 + }, + { + "pos": [ + 23, + 5 + ], + "idx": 0 + }, + { + "pos": [ + 24, + 5 + ], + "idx": 12 + }, + { + "pos": [ + 25, + 5 + ], + "idx": 8 + }, + { + "pos": [ + 26, + 5 + ], + "idx": 8 + }, + { + "pos": [ + 0, + 4 + ], + "idx": 8 + }, + { + "pos": [ + 1, + 4 + ], + "idx": 8 + }, + { + "pos": [ + 2, + 4 + ], + "idx": 8 + }, + { + "pos": [ + 3, + 4 + ], + "idx": 9 + }, + { + "pos": [ + 23, + 4 + ], + "idx": 7 + }, + { + "pos": [ + 24, + 4 + ], + "idx": 8 + }, + { + "pos": [ + 25, + 4 + ], + "idx": 8 + }, + { + "pos": [ + 26, + 4 + ], + "idx": 8 + }, + { + "pos": [ + 0, + 3 + ], + "idx": 8 + }, + { + "pos": [ + 1, + 3 + ], + "idx": 8 + }, + { + "pos": [ + 2, + 3 + ], + "idx": 8 + }, + { + "pos": [ + 3, + 3 + ], + "idx": 11 + }, + { + "pos": [ + 4, + 3 + ], + "idx": 1 + }, + { + "pos": [ + 5, + 3 + ], + "idx": 1 + }, + { + "pos": [ + 6, + 3 + ], + "idx": 1 + }, + { + "pos": [ + 7, + 3 + ], + "idx": 1 + }, + { + "pos": [ + 8, + 3 + ], + "idx": 1 + }, + { + "pos": [ + 9, + 3 + ], + "idx": 1 + }, + { + "pos": [ + 10, + 3 + ], + "idx": 1 + }, + { + "pos": [ + 11, + 3 + ], + "idx": 1 + }, + { + "pos": [ + 12, + 3 + ], + "idx": 1 + }, + { + "pos": [ + 13, + 3 + ], + "idx": 1 + }, + { + "pos": [ + 14, + 3 + ], + "idx": 1 + }, + { + "pos": [ + 15, + 3 + ], + "idx": 1 + }, + { + "pos": [ + 16, + 3 + ], + "idx": 1 + }, + { + "pos": [ + 17, + 3 + ], + "idx": 1 + }, + { + "pos": [ + 18, + 3 + ], + "idx": 1 + }, + { + "pos": [ + 19, + 3 + ], + "idx": 1 + }, + { + "pos": [ + 20, + 3 + ], + "idx": 1 + }, + { + "pos": [ + 21, + 3 + ], + "idx": 1 + }, + { + "pos": [ + 22, + 3 + ], + "idx": 1 + }, + { + "pos": [ + 23, + 3 + ], + "idx": 12 + }, + { + "pos": [ + 24, + 3 + ], + "idx": 8 + }, + { + "pos": [ + 25, + 3 + ], + "idx": 8 + }, + { + "pos": [ + 26, + 3 + ], + "idx": 8 + }, + { + "pos": [ + 0, + 2 + ], + "idx": 8 + }, + { + "pos": [ + 1, + 2 + ], + "idx": 8 + }, + { + "pos": [ + 2, + 2 + ], + "idx": 8 + }, + { + "pos": [ + 3, + 2 + ], + "idx": 8 + }, + { + "pos": [ + 4, + 2 + ], + "idx": 1 + }, + { + "pos": [ + 5, + 2 + ], + "idx": 8 + }, + { + "pos": [ + 6, + 2 + ], + "idx": 1 + }, + { + "pos": [ + 7, + 2 + ], + "idx": 8 + }, + { + "pos": [ + 8, + 2 + ], + "idx": 1 + }, + { + "pos": [ + 9, + 2 + ], + "idx": 8 + }, + { + "pos": [ + 10, + 2 + ], + "idx": 1 + }, + { + "pos": [ + 11, + 2 + ], + "idx": 8 + }, + { + "pos": [ + 12, + 2 + ], + "idx": 8 + }, + { + "pos": [ + 13, + 2 + ], + "idx": 8 + }, + { + "pos": [ + 14, + 2 + ], + "idx": 8 + }, + { + "pos": [ + 15, + 2 + ], + "idx": 8 + }, + { + "pos": [ + 16, + 2 + ], + "idx": 1 + }, + { + "pos": [ + 17, + 2 + ], + "idx": 8 + }, + { + "pos": [ + 18, + 2 + ], + "idx": 1 + }, + { + "pos": [ + 19, + 2 + ], + "idx": 8 + }, + { + "pos": [ + 20, + 2 + ], + "idx": 1 + }, + { + "pos": [ + 21, + 2 + ], + "idx": 8 + }, + { + "pos": [ + 22, + 2 + ], + "idx": 1 + }, + { + "pos": [ + 23, + 2 + ], + "idx": 8 + }, + { + "pos": [ + 24, + 2 + ], + "idx": 8 + }, + { + "pos": [ + 25, + 2 + ], + "idx": 8 + }, + { + "pos": [ + 26, + 2 + ], + "idx": 8 + }, + { + "pos": [ + 0, + 1 + ], + "idx": 8 + }, + { + "pos": [ + 1, + 1 + ], + "idx": 8 + }, + { + "pos": [ + 2, + 1 + ], + "idx": 8 + }, + { + "pos": [ + 3, + 1 + ], + "idx": 8 + }, + { + "pos": [ + 4, + 1 + ], + "idx": 8 + }, + { + "pos": [ + 5, + 1 + ], + "idx": 8 + }, + { + "pos": [ + 6, + 1 + ], + "idx": 8 + }, + { + "pos": [ + 7, + 1 + ], + "idx": 8 + }, + { + "pos": [ + 8, + 1 + ], + "idx": 8 + }, + { + "pos": [ + 9, + 1 + ], + "idx": 8 + }, + { + "pos": [ + 10, + 1 + ], + "idx": 8 + }, + { + "pos": [ + 11, + 1 + ], + "idx": 8 + }, + { + "pos": [ + 12, + 1 + ], + "idx": 8 + }, + { + "pos": [ + 13, + 1 + ], + "idx": 8 + }, + { + "pos": [ + 14, + 1 + ], + "idx": 8 + }, + { + "pos": [ + 15, + 1 + ], + "idx": 8 + }, + { + "pos": [ + 16, + 1 + ], + "idx": 8 + }, + { + "pos": [ + 17, + 1 + ], + "idx": 8 + }, + { + "pos": [ + 18, + 1 + ], + "idx": 8 + }, + { + "pos": [ + 19, + 1 + ], + "idx": 8 + }, + { + "pos": [ + 20, + 1 + ], + "idx": 8 + }, + { + "pos": [ + 21, + 1 + ], + "idx": 8 + }, + { + "pos": [ + 22, + 1 + ], + "idx": 8 + }, + { + "pos": [ + 23, + 1 + ], + "idx": 8 + }, + { + "pos": [ + 24, + 1 + ], + "idx": 8 + }, + { + "pos": [ + 25, + 1 + ], + "idx": 8 + }, + { + "pos": [ + 26, + 1 + ], + "idx": 8 + }, + { + "pos": [ + 0, + 0 + ], + "idx": 8 + }, + { + "pos": [ + 1, + 0 + ], + "idx": 8 + }, + { + "pos": [ + 2, + 0 + ], + "idx": 8 + }, + { + "pos": [ + 3, + 0 + ], + "idx": 8 + }, + { + "pos": [ + 4, + 0 + ], + "idx": 8 + }, + { + "pos": [ + 5, + 0 + ], + "idx": 8 + }, + { + "pos": [ + 6, + 0 + ], + "idx": 8 + }, + { + "pos": [ + 7, + 0 + ], + "idx": 8 + }, + { + "pos": [ + 8, + 0 + ], + "idx": 8 + }, + { + "pos": [ + 9, + 0 + ], + "idx": 8 + }, + { + "pos": [ + 10, + 0 + ], + "idx": 8 + }, + { + "pos": [ + 11, + 0 + ], + "idx": 8 + }, + { + "pos": [ + 12, + 0 + ], + "idx": 8 + }, + { + "pos": [ + 13, + 0 + ], + "idx": 8 + }, + { + "pos": [ + 14, + 0 + ], + "idx": 8 + }, + { + "pos": [ + 15, + 0 + ], + "idx": 8 + }, + { + "pos": [ + 16, + 0 + ], + "idx": 8 + }, + { + "pos": [ + 17, + 0 + ], + "idx": 8 + }, + { + "pos": [ + 18, + 0 + ], + "idx": 8 + }, + { + "pos": [ + 19, + 0 + ], + "idx": 8 + }, + { + "pos": [ + 20, + 0 + ], + "idx": 8 + }, + { + "pos": [ + 21, + 0 + ], + "idx": 8 + }, + { + "pos": [ + 22, + 0 + ], + "idx": 8 + }, + { + "pos": [ + 23, + 0 + ], + "idx": 8 + }, + { + "pos": [ + 24, + 0 + ], + "idx": 8 + }, + { + "pos": [ + 25, + 0 + ], + "idx": 8 + }, + { + "pos": [ + 26, + 0 + ], + "idx": 8 + } + ], + "tilemap": "../resources/default_tileset.png" + } + } + }, + { + "id": "decorations", + "kind": { + "element": { + "elements": [ + { + "pos": [ + 48, + 233.5 + ], + "element": "../elements/environment/sproinger/sproinger.element.yaml" + }, + { + "pos": [ + 820, + 233.5 + ], + "element": "../elements/environment/sproinger/sproinger.element.yaml" + }, + { + "pos": [ + 792, + 249.5 + ], + "element": "../elements/decoration/anemones/anemones.element.yaml" + }, + { + "pos": [ + 48, + 249.5 + ], + "element": "../elements/decoration/seaweed/seaweed.element.yaml" + }, + { + "pos": [ + 312, + 153.5 + ], + "element": "../elements/decoration/seaweed/seaweed.element.yaml" + }, + { + "pos": [ + 312, + 473.5 + ], + "element": "../elements/decoration/seaweed/seaweed.element.yaml" + }, + { + "pos": [ + 248, + 473.5 + ], + "element": "../elements/decoration/anemones/anemones.element.yaml" + }, + { + "pos": [ + 600, + 473.5 + ], + "element": "../elements/decoration/seaweed/seaweed.element.yaml" + }, + { + "pos": [ + 536, + 153.5 + ], + "element": "../elements/decoration/seaweed/seaweed.element.yaml" + } + ] + } + } + }, + { + "id": "items", + "kind": { + "element": { + "elements": [ + { + "pos": [ + 65.399994, + 471.5 + ], + "element": "../elements/item/grenades/grenades.element.yaml" + }, + { + "pos": [ + 824, + 469.5 + ], + "element": "../elements/item/grenades/grenades.element.yaml" + }, + { + "pos": [ + 441.41045999999994, + 143.5 + ], + "element": "../elements/environment/crab/crab.element.yaml" + }, + { + "pos": [ + 310.07714, + 203.5 + ], + "element": "../elements/environment/fish_school/fish_school.element.yaml" + }, + { + "pos": [ + 528, + 203.5 + ], + "element": "../elements/environment/fish_school/fish_school.element.yaml" + }, + { + "pos": [ + 304, + 525.5 + ], + "element": "../elements/environment/fish_school/fish_school.element.yaml" + }, + { + "pos": [ + 592, + 513.5 + ], + "element": "../elements/environment/fish_school/fish_school.element.yaml" + }, + { + "pos": [ + 560, + 299.5 + ], + "element": "../elements/environment/crab/crab.element.yaml" + }, + { + "pos": [ + 296, + 303.5 + ], + "element": "../elements/environment/crab/crab.element.yaml" + }, + { + "pos": [ + 568, + 137.5 + ], + "element": "../elements/item/musket/musket.element.yaml" + }, + { + "pos": [ + 328.11425999999994, + 145.5 + ], + "element": "../elements/item/musket/musket.element.yaml" + }, + { + "pos": [ + 416, + 369.5 + ], + "element": "../elements/item/sword/sword.element.yaml" + }, + { + "pos": [ + 568, + 483.5 + ], + "element": "../elements/item/sword/sword.element.yaml" + }, + { + "pos": [ + 308, + 479.5 + ], + "element": "../elements/item/sword/sword.element.yaml" + } + ] + } + } + }, + { + "id": "spawners", + "kind": { + "element": { + "elements": [ + { + "pos": [ + 253.37262, + 487.27 + ], + "element": "../elements/environment/player_spawner/player_spawner.element.yaml" + }, + { + "pos": [ + 572.10425, + 478.44417999999996 + ], + "element": "../elements/environment/player_spawner/player_spawner.element.yaml" + }, + { + "pos": [ + 195.5694, + 173.61493000000002 + ], + "element": "../elements/environment/player_spawner/player_spawner.element.yaml" + }, + { + "pos": [ + 628.5847, + 161.02252 + ], + "element": "../elements/environment/player_spawner/player_spawner.element.yaml" + } + ] + } + } + } + ], + "background_layers": [ + { + "image": "../resources/background_04.png", + "speed": 0, + "tile_size": [ + 896, + 480 + ], + "z": -110, + "position": [ + 0, + 360 + ], + "scale": 2 + }, + { + "image": "../resources/background_03.png", + "speed": 0.74, + "tile_size": [ + 896, + 480 + ], + "z": -109, + "position": [ + 0, + 360 + ], + "scale": 2 + }, + { + "image": "../resources/background_02.png", + "speed": 0.82, + "tile_size": [ + 896, + 480 + ], + "z": -108, + "position": [ + 0, + 360 + ], + "scale": 2 + }, + { + "image": "../resources/background_01.png", + "speed": 100, + "tile_size": [ + 896, + 480 + ], + "z": -107, + "position": [ + 0, + 360 + ], + "scale": 2 + } + ] +} \ No newline at end of file