From d4e3bb316c9e37aa2bb57321fc511a8b613741e5 Mon Sep 17 00:00:00 2001 From: craftwill Date: Tue, 18 Jul 2023 20:31:09 -0400 Subject: [PATCH] Changed levels, update rock sprite, added enemyspawnStart --- Assets/LevelEditor/Levels/Level.asset | 440 ------------------ Assets/LevelEditor/Levels/Level0.asset | 181 ++++++- Assets/LevelEditor/Levels/Level1.asset | 211 ++++++++- Assets/LevelEditor/Levels/TestGame.asset | 74 +-- Assets/Scenes/Game.unity | 6 +- Assets/Tilemaps/LevelEditorPalette.prefab | 72 ++- Assets/Tiles/EnemySpawner.asset | 4 +- Assets/Tiles/EnemySpawnerStart.asset | 20 + .../EnemySpawnerStart.asset.meta} | 2 +- Assets/Tiles/RockNode.asset | 2 +- 10 files changed, 484 insertions(+), 528 deletions(-) delete mode 100644 Assets/LevelEditor/Levels/Level.asset create mode 100644 Assets/Tiles/EnemySpawnerStart.asset rename Assets/{LevelEditor/Levels/Level.asset.meta => Tiles/EnemySpawnerStart.asset.meta} (79%) diff --git a/Assets/LevelEditor/Levels/Level.asset b/Assets/LevelEditor/Levels/Level.asset deleted file mode 100644 index ebf2eec..0000000 --- a/Assets/LevelEditor/Levels/Level.asset +++ /dev/null @@ -1,440 +0,0 @@ -%YAML 1.1 -%TAG !u! tag:unity3d.com,2011: ---- !u!114 &11400000 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 0} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 2b25d284985e65e48b50826c522a5ec3, type: 3} - m_Name: Level - m_EditorClassIdentifier: - _data: - - _key: Background - _tiles: - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: -10, y: -4, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: -10, y: -3, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: -10, y: -2, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: -10, y: -1, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: -10, y: 0, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: -10, y: 1, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: -10, y: 2, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: -9, y: -4, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: -9, y: -3, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: -9, y: -2, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: -9, y: -1, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: -9, y: 0, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: -9, y: 1, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: -9, y: 2, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: -8, y: -4, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: -8, y: -3, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: -8, y: -2, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: -8, y: -1, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: -8, y: 0, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: -8, y: 1, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: -8, y: 2, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: -7, y: -4, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: -7, y: -3, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: -7, y: -2, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: -7, y: -1, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: -7, y: 0, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: -7, y: 1, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: -7, y: 2, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: -6, y: -4, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: -6, y: -3, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: -6, y: -2, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: -6, y: -1, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: -6, y: 0, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: -6, y: 1, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: -6, y: 2, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: -5, y: -4, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: -5, y: -3, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: -5, y: -2, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: -5, y: -1, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: -5, y: 0, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: -5, y: 1, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: -5, y: 2, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: -4, y: -4, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: -4, y: -3, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: -4, y: -2, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: -4, y: -1, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: -4, y: 0, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: -4, y: 1, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: -4, y: 2, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: -3, y: -4, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: -3, y: -3, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: -3, y: -2, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: -3, y: -1, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: -3, y: 0, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: -3, y: 1, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: -3, y: 2, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: -2, y: -4, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: -2, y: -3, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: -2, y: -2, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: -2, y: -1, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: -2, y: 0, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: -2, y: 1, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: -2, y: 2, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: -1, y: -4, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: -1, y: -3, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: -1, y: -2, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: -1, y: -1, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: -1, y: 0, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: -1, y: 1, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: -1, y: 2, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: 0, y: -4, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: 0, y: -3, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: 0, y: -2, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: 0, y: -1, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: 0, y: 0, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: 0, y: 1, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: 0, y: 2, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: 1, y: -4, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: 1, y: -3, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: 1, y: -2, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: 1, y: -1, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: 1, y: 0, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: 1, y: 1, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: 1, y: 2, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: 2, y: -4, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: 2, y: -3, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: 2, y: -2, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: 2, y: -1, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: 2, y: 0, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: 2, y: 1, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: 2, y: 2, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: 3, y: -4, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: 3, y: -3, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: 3, y: -2, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: 3, y: -1, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: 3, y: 0, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: 3, y: 1, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: 3, y: 2, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: 4, y: -4, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: 4, y: -3, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: 4, y: -2, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: 4, y: -1, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: 4, y: 0, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: 4, y: 1, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: 4, y: 2, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: 5, y: -4, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: 5, y: -3, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: 5, y: -2, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: 5, y: -1, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: 5, y: 0, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: 5, y: 1, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: 5, y: 2, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: 6, y: -4, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: 6, y: -3, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: 6, y: -2, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: 6, y: -1, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: 6, y: 0, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: 6, y: 1, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: 6, y: 2, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: 7, y: -4, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: 7, y: -3, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: 7, y: -2, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: 7, y: -1, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: 7, y: 0, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: 7, y: 1, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: 7, y: 2, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: 8, y: -4, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: 8, y: -3, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: 8, y: -2, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: 8, y: -1, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: 8, y: 0, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: 8, y: 1, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: 8, y: 2, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: 9, y: -4, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: 9, y: -3, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: 9, y: -2, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: 9, y: -1, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: 9, y: 0, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: 9, y: 1, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: 9, y: 2, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: 10, y: -4, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: 10, y: -3, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: 10, y: -2, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: 10, y: -1, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: 10, y: 0, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: 10, y: 1, z: 0} - - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} - _position: {x: 10, y: 2, z: 0} - _isInvisible: 0 - _isCollidable: 0 - _isTrigger: 0 - _renderOrder: 0 - _renderLayer: Default - _position: {x: 0, y: 0} - _scale: {x: 1, y: 1} - - _key: Entities - _tiles: - - _tile: {fileID: 11400000, guid: a387250a316b97e43be83b85980101e1, type: 2} - _position: {x: -10, y: -4, z: 0} - - _tile: {fileID: 11400000, guid: a387250a316b97e43be83b85980101e1, type: 2} - _position: {x: -10, y: -2, z: 0} - - _tile: {fileID: 11400000, guid: a387250a316b97e43be83b85980101e1, type: 2} - _position: {x: -10, y: 0, z: 0} - - _tile: {fileID: 11400000, guid: a387250a316b97e43be83b85980101e1, type: 2} - _position: {x: -10, y: 2, z: 0} - - _tile: {fileID: 11400000, guid: a387250a316b97e43be83b85980101e1, type: 2} - _position: {x: -8, y: -4, z: 0} - - _tile: {fileID: 11400000, guid: a387250a316b97e43be83b85980101e1, type: 2} - _position: {x: -8, y: -2, z: 0} - - _tile: {fileID: 11400000, guid: a387250a316b97e43be83b85980101e1, type: 2} - _position: {x: -8, y: 0, z: 0} - - _tile: {fileID: 11400000, guid: a387250a316b97e43be83b85980101e1, type: 2} - _position: {x: -8, y: 2, z: 0} - - _tile: {fileID: 11400000, guid: a387250a316b97e43be83b85980101e1, type: 2} - _position: {x: -6, y: -4, z: 0} - - _tile: {fileID: 11400000, guid: a387250a316b97e43be83b85980101e1, type: 2} - _position: {x: -6, y: -2, z: 0} - - _tile: {fileID: 11400000, guid: a387250a316b97e43be83b85980101e1, type: 2} - _position: {x: -6, y: 0, z: 0} - - _tile: {fileID: 11400000, guid: a387250a316b97e43be83b85980101e1, type: 2} - _position: {x: -6, y: 2, z: 0} - - _tile: {fileID: 11400000, guid: a387250a316b97e43be83b85980101e1, type: 2} - _position: {x: -4, y: -4, z: 0} - - _tile: {fileID: 11400000, guid: a387250a316b97e43be83b85980101e1, type: 2} - _position: {x: -4, y: -2, z: 0} - - _tile: {fileID: 11400000, guid: a387250a316b97e43be83b85980101e1, type: 2} - _position: {x: -4, y: 0, z: 0} - - _tile: {fileID: 11400000, guid: a387250a316b97e43be83b85980101e1, type: 2} - _position: {x: -4, y: 2, z: 0} - - _tile: {fileID: 11400000, guid: a387250a316b97e43be83b85980101e1, type: 2} - _position: {x: -2, y: -4, z: 0} - - _tile: {fileID: 11400000, guid: a387250a316b97e43be83b85980101e1, type: 2} - _position: {x: -2, y: -2, z: 0} - - _tile: {fileID: 11400000, guid: a387250a316b97e43be83b85980101e1, type: 2} - _position: {x: -2, y: 0, z: 0} - - _tile: {fileID: 11400000, guid: a387250a316b97e43be83b85980101e1, type: 2} - _position: {x: -2, y: 2, z: 0} - - _tile: {fileID: 11400000, guid: a387250a316b97e43be83b85980101e1, type: 2} - _position: {x: 0, y: -4, z: 0} - - _tile: {fileID: 11400000, guid: a387250a316b97e43be83b85980101e1, type: 2} - _position: {x: 0, y: -2, z: 0} - - _tile: {fileID: 11400000, guid: a387250a316b97e43be83b85980101e1, type: 2} - _position: {x: 0, y: 0, z: 0} - - _tile: {fileID: 11400000, guid: a387250a316b97e43be83b85980101e1, type: 2} - _position: {x: 0, y: 2, z: 0} - - _tile: {fileID: 11400000, guid: a387250a316b97e43be83b85980101e1, type: 2} - _position: {x: 2, y: -4, z: 0} - - _tile: {fileID: 11400000, guid: a387250a316b97e43be83b85980101e1, type: 2} - _position: {x: 2, y: -2, z: 0} - - _tile: {fileID: 11400000, guid: a387250a316b97e43be83b85980101e1, type: 2} - _position: {x: 2, y: 0, z: 0} - - _tile: {fileID: 11400000, guid: a387250a316b97e43be83b85980101e1, type: 2} - _position: {x: 2, y: 2, z: 0} - - _tile: {fileID: 11400000, guid: a387250a316b97e43be83b85980101e1, type: 2} - _position: {x: 4, y: -4, z: 0} - - _tile: {fileID: 11400000, guid: a387250a316b97e43be83b85980101e1, type: 2} - _position: {x: 4, y: -2, z: 0} - - _tile: {fileID: 11400000, guid: a387250a316b97e43be83b85980101e1, type: 2} - _position: {x: 4, y: 0, z: 0} - - _tile: {fileID: 11400000, guid: a387250a316b97e43be83b85980101e1, type: 2} - _position: {x: 4, y: 2, z: 0} - - _tile: {fileID: 11400000, guid: a387250a316b97e43be83b85980101e1, type: 2} - _position: {x: 6, y: -4, z: 0} - - _tile: {fileID: 11400000, guid: a387250a316b97e43be83b85980101e1, type: 2} - _position: {x: 6, y: -2, z: 0} - - _tile: {fileID: 11400000, guid: a387250a316b97e43be83b85980101e1, type: 2} - _position: {x: 6, y: 0, z: 0} - - _tile: {fileID: 11400000, guid: a387250a316b97e43be83b85980101e1, type: 2} - _position: {x: 6, y: 2, z: 0} - - _tile: {fileID: 11400000, guid: a387250a316b97e43be83b85980101e1, type: 2} - _position: {x: 8, y: -4, z: 0} - - _tile: {fileID: 11400000, guid: a387250a316b97e43be83b85980101e1, type: 2} - _position: {x: 8, y: -2, z: 0} - - _tile: {fileID: 11400000, guid: a387250a316b97e43be83b85980101e1, type: 2} - _position: {x: 8, y: 0, z: 0} - - _tile: {fileID: 11400000, guid: a387250a316b97e43be83b85980101e1, type: 2} - _position: {x: 8, y: 2, z: 0} - - _tile: {fileID: 11400000, guid: a387250a316b97e43be83b85980101e1, type: 2} - _position: {x: 10, y: -4, z: 0} - - _tile: {fileID: 11400000, guid: a387250a316b97e43be83b85980101e1, type: 2} - _position: {x: 10, y: -2, z: 0} - - _tile: {fileID: 11400000, guid: a387250a316b97e43be83b85980101e1, type: 2} - _position: {x: 10, y: 0, z: 0} - - _tile: {fileID: 11400000, guid: a387250a316b97e43be83b85980101e1, type: 2} - _position: {x: 10, y: 2, z: 0} - _isInvisible: 0 - _isCollidable: 0 - _isTrigger: 0 - _renderOrder: 1 - _renderLayer: Default - _position: {x: 0, y: 0} - _scale: {x: 1, y: 1} - - _key: Spawners - _tiles: - - _tile: {fileID: 11400000, guid: 4aaf448680c7f8a438a9a5861c622a55, type: 2} - _position: {x: -10, y: -4, z: 0} - - _tile: {fileID: 11400000, guid: 4aaf448680c7f8a438a9a5861c622a55, type: 2} - _position: {x: -10, y: -2, z: 0} - - _tile: {fileID: 11400000, guid: 4aaf448680c7f8a438a9a5861c622a55, type: 2} - _position: {x: -10, y: 0, z: 0} - - _tile: {fileID: 11400000, guid: 4aaf448680c7f8a438a9a5861c622a55, type: 2} - _position: {x: -10, y: 2, z: 0} - - _tile: {fileID: 11400000, guid: 4002377ed7e87b34699f126f2b10c703, type: 2} - _position: {x: 10, y: -4, z: 0} - - _tile: {fileID: 11400000, guid: 4002377ed7e87b34699f126f2b10c703, type: 2} - _position: {x: 10, y: -2, z: 0} - - _tile: {fileID: 11400000, guid: 4002377ed7e87b34699f126f2b10c703, type: 2} - _position: {x: 10, y: 0, z: 0} - - _tile: {fileID: 11400000, guid: 4002377ed7e87b34699f126f2b10c703, type: 2} - _position: {x: 10, y: 2, z: 0} - _isInvisible: 1 - _isCollidable: 0 - _isTrigger: 0 - _renderOrder: 2 - _renderLayer: Default - _position: {x: 0, y: 0} - _scale: {x: 1, y: 1} diff --git a/Assets/LevelEditor/Levels/Level0.asset b/Assets/LevelEditor/Levels/Level0.asset index 371815b..9cb8a4a 100644 --- a/Assets/LevelEditor/Levels/Level0.asset +++ b/Assets/LevelEditor/Levels/Level0.asset @@ -14,8 +14,183 @@ MonoBehaviour: m_EditorClassIdentifier: _data: - _key: Background - tiles: [] + _tiles: + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -10, y: -3, z: 0} + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -10, y: -2, z: 0} + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -10, y: -1, z: 0} + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -10, y: 0, z: 0} + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -10, y: 1, z: 0} + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -10, y: 2, z: 0} + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -9, y: -3, z: 0} + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -9, y: -2, z: 0} + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -9, y: -1, z: 0} + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -9, y: 0, z: 0} + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -9, y: 1, z: 0} + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -9, y: 2, z: 0} + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -8, y: -3, z: 0} + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -8, y: -2, z: 0} + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -8, y: -1, z: 0} + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -8, y: 0, z: 0} + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -8, y: 1, z: 0} + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -8, y: 2, z: 0} + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -7, y: -3, z: 0} + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -7, y: -2, z: 0} + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -7, y: -1, z: 0} + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -7, y: 0, z: 0} + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -7, y: 1, z: 0} + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -7, y: 2, z: 0} + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -6, y: -3, z: 0} + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -6, y: -2, z: 0} + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -6, y: -1, z: 0} + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -6, y: 0, z: 0} + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -6, y: 1, z: 0} + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -6, y: 2, z: 0} + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -5, y: -3, z: 0} + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -5, y: -2, z: 0} + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -5, y: -1, z: 0} + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -5, y: 0, z: 0} + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -5, y: 1, z: 0} + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -5, y: 2, z: 0} + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -4, y: -3, z: 0} + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -4, y: -2, z: 0} + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -4, y: -1, z: 0} + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -4, y: 0, z: 0} + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -4, y: 1, z: 0} + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -4, y: 2, z: 0} + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -3, y: -3, z: 0} + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -3, y: -2, z: 0} + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -3, y: -1, z: 0} + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -3, y: 0, z: 0} + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -3, y: 1, z: 0} + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -3, y: 2, z: 0} + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -2, y: -3, z: 0} + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -2, y: -2, z: 0} + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -2, y: -1, z: 0} + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -2, y: 0, z: 0} + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -2, y: 1, z: 0} + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -2, y: 2, z: 0} + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -1, y: -3, z: 0} + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -1, y: -2, z: 0} + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -1, y: -1, z: 0} + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -1, y: 0, z: 0} + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -1, y: 1, z: 0} + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -1, y: 2, z: 0} + _isInvisible: 0 + _isCollidable: 0 + _isTrigger: 0 + _renderOrder: 0 + _renderLayer: Default + _position: {x: 0, y: 0} + _scale: {x: 1, y: 1} - _key: Entities - tiles: [] + _tiles: + - _tile: {fileID: 11400000, guid: e0b1d2d816ae5624c99b09a2bebb2a39, type: 2} + _position: {x: -10, y: -3, z: 0} + - _tile: {fileID: 11400000, guid: 7568f730b2ba3754297a7612452482e2, type: 2} + _position: {x: -10, y: -1, z: 0} + - _tile: {fileID: 11400000, guid: 7568f730b2ba3754297a7612452482e2, type: 2} + _position: {x: -10, y: 0, z: 0} + - _tile: {fileID: 11400000, guid: e0b1d2d816ae5624c99b09a2bebb2a39, type: 2} + _position: {x: -9, y: -3, z: 0} + - _tile: {fileID: 11400000, guid: e0b1d2d816ae5624c99b09a2bebb2a39, type: 2} + _position: {x: -8, y: -3, z: 0} + - _tile: {fileID: 11400000, guid: e0b1d2d816ae5624c99b09a2bebb2a39, type: 2} + _position: {x: -7, y: -3, z: 0} + - _tile: {fileID: 11400000, guid: e0b1d2d816ae5624c99b09a2bebb2a39, type: 2} + _position: {x: -6, y: -3, z: 0} + - _tile: {fileID: 11400000, guid: e0b1d2d816ae5624c99b09a2bebb2a39, type: 2} + _position: {x: -5, y: -3, z: 0} + - _tile: {fileID: 11400000, guid: e0b1d2d816ae5624c99b09a2bebb2a39, type: 2} + _position: {x: -4, y: -3, z: 0} + - _tile: {fileID: 11400000, guid: e0d57b3c128ba1447920637cdb289530, type: 2} + _position: {x: -3, y: -3, z: 0} + - _tile: {fileID: 11400000, guid: e74655ccbd41a2b46b1ec9615aba0301, type: 2} + _position: {x: -2, y: -3, z: 0} + - _tile: {fileID: 11400000, guid: e74655ccbd41a2b46b1ec9615aba0301, type: 2} + _position: {x: -1, y: -3, z: 0} + _isInvisible: 0 + _isCollidable: 0 + _isTrigger: 0 + _renderOrder: 1 + _renderLayer: Default + _position: {x: 0, y: 0} + _scale: {x: 1, y: 1} - _key: Spawners - tiles: [] + _tiles: + - _tile: {fileID: 11400000, guid: 4002377ed7e87b34699f126f2b10c703, type: 2} + _position: {x: -1, y: -2, z: 0} + - _tile: {fileID: 11400000, guid: 4002377ed7e87b34699f126f2b10c703, type: 2} + _position: {x: -1, y: -1, z: 0} + - _tile: {fileID: 11400000, guid: 4002377ed7e87b34699f126f2b10c703, type: 2} + _position: {x: -1, y: 0, z: 0} + - _tile: {fileID: 11400000, guid: 4002377ed7e87b34699f126f2b10c703, type: 2} + _position: {x: -1, y: 1, z: 0} + - _tile: {fileID: 11400000, guid: 15606c8c503e8164fb69178aa7016f58, type: 2} + _position: {x: -1, y: 2, z: 0} + _isInvisible: 1 + _isCollidable: 0 + _isTrigger: 0 + _renderOrder: 2 + _renderLayer: Default + _position: {x: 0, y: 0} + _scale: {x: 1, y: 1} diff --git a/Assets/LevelEditor/Levels/Level1.asset b/Assets/LevelEditor/Levels/Level1.asset index da7fce9..2700bb4 100644 --- a/Assets/LevelEditor/Levels/Level1.asset +++ b/Assets/LevelEditor/Levels/Level1.asset @@ -12,4 +12,213 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: 2b25d284985e65e48b50826c522a5ec3, type: 3} m_Name: Level1 m_EditorClassIdentifier: - _data: [] + _data: + - _key: Background + _tiles: + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -10, y: -3, z: 0} + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -10, y: -2, z: 0} + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -10, y: -1, z: 0} + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -10, y: 0, z: 0} + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -10, y: 1, z: 0} + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -10, y: 2, z: 0} + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -9, y: -3, z: 0} + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -9, y: -2, z: 0} + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -9, y: -1, z: 0} + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -9, y: 0, z: 0} + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -9, y: 1, z: 0} + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -9, y: 2, z: 0} + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -8, y: -3, z: 0} + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -8, y: -2, z: 0} + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -8, y: -1, z: 0} + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -8, y: 0, z: 0} + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -8, y: 1, z: 0} + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -8, y: 2, z: 0} + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -7, y: -3, z: 0} + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -7, y: -2, z: 0} + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -7, y: -1, z: 0} + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -7, y: 0, z: 0} + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -7, y: 1, z: 0} + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -7, y: 2, z: 0} + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -6, y: -3, z: 0} + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -6, y: -2, z: 0} + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -6, y: -1, z: 0} + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -6, y: 0, z: 0} + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -6, y: 1, z: 0} + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -6, y: 2, z: 0} + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -5, y: -3, z: 0} + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -5, y: -2, z: 0} + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -5, y: -1, z: 0} + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -5, y: 0, z: 0} + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -5, y: 1, z: 0} + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -5, y: 2, z: 0} + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -4, y: -3, z: 0} + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -4, y: -2, z: 0} + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -4, y: -1, z: 0} + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -4, y: 0, z: 0} + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -4, y: 1, z: 0} + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -4, y: 2, z: 0} + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -3, y: -3, z: 0} + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -3, y: -2, z: 0} + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -3, y: -1, z: 0} + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -3, y: 0, z: 0} + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -3, y: 1, z: 0} + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -3, y: 2, z: 0} + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -2, y: -3, z: 0} + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -2, y: -2, z: 0} + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -2, y: -1, z: 0} + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -2, y: 0, z: 0} + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -2, y: 1, z: 0} + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -2, y: 2, z: 0} + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -1, y: -3, z: 0} + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -1, y: -2, z: 0} + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -1, y: -1, z: 0} + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -1, y: 0, z: 0} + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -1, y: 1, z: 0} + - _tile: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} + _position: {x: -1, y: 2, z: 0} + _isInvisible: 0 + _isCollidable: 0 + _isTrigger: 0 + _renderOrder: 0 + _renderLayer: Default + _position: {x: 0, y: 0} + _scale: {x: 1, y: 1} + - _key: Entities + _tiles: + - _tile: {fileID: 11400000, guid: e0b1d2d816ae5624c99b09a2bebb2a39, type: 2} + _position: {x: -10, y: -3, z: 0} + - _tile: {fileID: 11400000, guid: e0b1d2d816ae5624c99b09a2bebb2a39, type: 2} + _position: {x: -10, y: -2, z: 0} + - _tile: {fileID: 11400000, guid: e0b1d2d816ae5624c99b09a2bebb2a39, type: 2} + _position: {x: -10, y: -1, z: 0} + - _tile: {fileID: 11400000, guid: e0b1d2d816ae5624c99b09a2bebb2a39, type: 2} + _position: {x: -10, y: 0, z: 0} + - _tile: {fileID: 11400000, guid: e0b1d2d816ae5624c99b09a2bebb2a39, type: 2} + _position: {x: -10, y: 1, z: 0} + - _tile: {fileID: 11400000, guid: e0b1d2d816ae5624c99b09a2bebb2a39, type: 2} + _position: {x: -10, y: 2, z: 0} + - _tile: {fileID: 11400000, guid: e0b1d2d816ae5624c99b09a2bebb2a39, type: 2} + _position: {x: -9, y: -3, z: 0} + - _tile: {fileID: 11400000, guid: e0b1d2d816ae5624c99b09a2bebb2a39, type: 2} + _position: {x: -9, y: -2, z: 0} + - _tile: {fileID: 11400000, guid: e0b1d2d816ae5624c99b09a2bebb2a39, type: 2} + _position: {x: -9, y: -1, z: 0} + - _tile: {fileID: 11400000, guid: e0b1d2d816ae5624c99b09a2bebb2a39, type: 2} + _position: {x: -9, y: 0, z: 0} + - _tile: {fileID: 11400000, guid: e0b1d2d816ae5624c99b09a2bebb2a39, type: 2} + _position: {x: -9, y: 1, z: 0} + - _tile: {fileID: 11400000, guid: e0b1d2d816ae5624c99b09a2bebb2a39, type: 2} + _position: {x: -9, y: 2, z: 0} + - _tile: {fileID: 11400000, guid: e0d57b3c128ba1447920637cdb289530, type: 2} + _position: {x: -5, y: -3, z: 0} + - _tile: {fileID: 11400000, guid: e0d57b3c128ba1447920637cdb289530, type: 2} + _position: {x: -5, y: -2, z: 0} + - _tile: {fileID: 11400000, guid: e0d57b3c128ba1447920637cdb289530, type: 2} + _position: {x: -5, y: 1, z: 0} + - _tile: {fileID: 11400000, guid: e0d57b3c128ba1447920637cdb289530, type: 2} + _position: {x: -5, y: 2, z: 0} + - _tile: {fileID: 11400000, guid: e0d57b3c128ba1447920637cdb289530, type: 2} + _position: {x: -4, y: -3, z: 0} + - _tile: {fileID: 11400000, guid: e0d57b3c128ba1447920637cdb289530, type: 2} + _position: {x: -4, y: -2, z: 0} + - _tile: {fileID: 11400000, guid: e0d57b3c128ba1447920637cdb289530, type: 2} + _position: {x: -4, y: 1, z: 0} + - _tile: {fileID: 11400000, guid: e0d57b3c128ba1447920637cdb289530, type: 2} + _position: {x: -4, y: 2, z: 0} + - _tile: {fileID: 11400000, guid: e0d57b3c128ba1447920637cdb289530, type: 2} + _position: {x: -3, y: -3, z: 0} + - _tile: {fileID: 11400000, guid: e0d57b3c128ba1447920637cdb289530, type: 2} + _position: {x: -3, y: -2, z: 0} + - _tile: {fileID: 11400000, guid: e0d57b3c128ba1447920637cdb289530, type: 2} + _position: {x: -3, y: 1, z: 0} + - _tile: {fileID: 11400000, guid: e0d57b3c128ba1447920637cdb289530, type: 2} + _position: {x: -3, y: 2, z: 0} + - _tile: {fileID: 11400000, guid: 15606c8c503e8164fb69178aa7016f58, type: 2} + _position: {x: -1, y: 2, z: 0} + _isInvisible: 0 + _isCollidable: 0 + _isTrigger: 0 + _renderOrder: 1 + _renderLayer: Default + _position: {x: 0, y: 0} + _scale: {x: 1, y: 1} + - _key: Spawners + _tiles: + - _tile: {fileID: 11400000, guid: 4002377ed7e87b34699f126f2b10c703, type: 2} + _position: {x: -1, y: -3, z: 0} + - _tile: {fileID: 11400000, guid: 4002377ed7e87b34699f126f2b10c703, type: 2} + _position: {x: -1, y: -2, z: 0} + - _tile: {fileID: 11400000, guid: 4002377ed7e87b34699f126f2b10c703, type: 2} + _position: {x: -1, y: -1, z: 0} + - _tile: {fileID: 11400000, guid: 4002377ed7e87b34699f126f2b10c703, type: 2} + _position: {x: -1, y: 0, z: 0} + - _tile: {fileID: 11400000, guid: 4002377ed7e87b34699f126f2b10c703, type: 2} + _position: {x: -1, y: 1, z: 0} + - _tile: {fileID: 11400000, guid: 4002377ed7e87b34699f126f2b10c703, type: 2} + _position: {x: -1, y: 2, z: 0} + _isInvisible: 1 + _isCollidable: 0 + _isTrigger: 0 + _renderOrder: 2 + _renderLayer: Default + _position: {x: 0, y: 0} + _scale: {x: 1, y: 1} diff --git a/Assets/LevelEditor/Levels/TestGame.asset b/Assets/LevelEditor/Levels/TestGame.asset index 887d9f2..bbb8aeb 100644 --- a/Assets/LevelEditor/Levels/TestGame.asset +++ b/Assets/LevelEditor/Levels/TestGame.asset @@ -144,62 +144,22 @@ MonoBehaviour: _scale: {x: 1, y: 1} - _key: Entities _tiles: - - _tile: {fileID: 11400000, guid: e0d57b3c128ba1447920637cdb289530, type: 2} + - _tile: {fileID: 11400000, guid: e0b1d2d816ae5624c99b09a2bebb2a39, type: 2} + _position: {x: -10, y: -3, z: 0} + - _tile: {fileID: 11400000, guid: e0b1d2d816ae5624c99b09a2bebb2a39, type: 2} _position: {x: -10, y: -2, z: 0} + - _tile: {fileID: 11400000, guid: e0b1d2d816ae5624c99b09a2bebb2a39, type: 2} + _position: {x: -10, y: -1, z: 0} + - _tile: {fileID: 11400000, guid: e0b1d2d816ae5624c99b09a2bebb2a39, type: 2} + _position: {x: -9, y: -3, z: 0} + - _tile: {fileID: 11400000, guid: e0b1d2d816ae5624c99b09a2bebb2a39, type: 2} + _position: {x: -9, y: -2, z: 0} + - _tile: {fileID: 11400000, guid: e0b1d2d816ae5624c99b09a2bebb2a39, type: 2} + _position: {x: -9, y: -1, z: 0} - _tile: {fileID: 11400000, guid: e0d57b3c128ba1447920637cdb289530, type: 2} - _position: {x: -10, y: 0, z: 0} + _position: {x: -6, y: 2, z: 0} - _tile: {fileID: 11400000, guid: e0d57b3c128ba1447920637cdb289530, type: 2} - _position: {x: -10, y: 2, z: 0} - - _tile: {fileID: 11400000, guid: e0b1d2d816ae5624c99b09a2bebb2a39, type: 2} - _position: {x: -8, y: -3, z: 0} - - _tile: {fileID: 11400000, guid: e74655ccbd41a2b46b1ec9615aba0301, type: 2} - _position: {x: -7, y: -1, z: 0} - - _tile: {fileID: 11400000, guid: e74655ccbd41a2b46b1ec9615aba0301, type: 2} - _position: {x: -7, y: 0, z: 0} - - _tile: {fileID: 11400000, guid: e74655ccbd41a2b46b1ec9615aba0301, type: 2} - _position: {x: -7, y: 1, z: 0} - - _tile: {fileID: 11400000, guid: e0b1d2d816ae5624c99b09a2bebb2a39, type: 2} - _position: {x: -6, y: -3, z: 0} - - _tile: {fileID: 11400000, guid: e74655ccbd41a2b46b1ec9615aba0301, type: 2} - _position: {x: -6, y: -1, z: 0} - - _tile: {fileID: 11400000, guid: e74655ccbd41a2b46b1ec9615aba0301, type: 2} - _position: {x: -6, y: 0, z: 0} - - _tile: {fileID: 11400000, guid: e74655ccbd41a2b46b1ec9615aba0301, type: 2} - _position: {x: -6, y: 1, z: 0} - - _tile: {fileID: 11400000, guid: e74655ccbd41a2b46b1ec9615aba0301, type: 2} - _position: {x: -5, y: -1, z: 0} - - _tile: {fileID: 11400000, guid: e74655ccbd41a2b46b1ec9615aba0301, type: 2} - _position: {x: -5, y: 0, z: 0} - - _tile: {fileID: 11400000, guid: e74655ccbd41a2b46b1ec9615aba0301, type: 2} - _position: {x: -5, y: 1, z: 0} - - _tile: {fileID: 11400000, guid: e0b1d2d816ae5624c99b09a2bebb2a39, type: 2} - _position: {x: -4, y: -3, z: 0} - - _tile: {fileID: 11400000, guid: e74655ccbd41a2b46b1ec9615aba0301, type: 2} - _position: {x: -4, y: -1, z: 0} - - _tile: {fileID: 11400000, guid: e74655ccbd41a2b46b1ec9615aba0301, type: 2} - _position: {x: -4, y: 0, z: 0} - - _tile: {fileID: 11400000, guid: e74655ccbd41a2b46b1ec9615aba0301, type: 2} - _position: {x: -4, y: 1, z: 0} - - _tile: {fileID: 11400000, guid: e74655ccbd41a2b46b1ec9615aba0301, type: 2} - _position: {x: -3, y: -1, z: 0} - - _tile: {fileID: 11400000, guid: e74655ccbd41a2b46b1ec9615aba0301, type: 2} - _position: {x: -3, y: 0, z: 0} - - _tile: {fileID: 11400000, guid: e74655ccbd41a2b46b1ec9615aba0301, type: 2} - _position: {x: -3, y: 1, z: 0} - - _tile: {fileID: 11400000, guid: e0b1d2d816ae5624c99b09a2bebb2a39, type: 2} - _position: {x: -2, y: -3, z: 0} - - _tile: {fileID: 11400000, guid: e74655ccbd41a2b46b1ec9615aba0301, type: 2} - _position: {x: -2, y: -1, z: 0} - - _tile: {fileID: 11400000, guid: e74655ccbd41a2b46b1ec9615aba0301, type: 2} - _position: {x: -2, y: 0, z: 0} - - _tile: {fileID: 11400000, guid: e74655ccbd41a2b46b1ec9615aba0301, type: 2} - _position: {x: -2, y: 1, z: 0} - - _tile: {fileID: 11400000, guid: e74655ccbd41a2b46b1ec9615aba0301, type: 2} - _position: {x: -1, y: -1, z: 0} - - _tile: {fileID: 11400000, guid: e74655ccbd41a2b46b1ec9615aba0301, type: 2} - _position: {x: -1, y: 0, z: 0} - - _tile: {fileID: 11400000, guid: e74655ccbd41a2b46b1ec9615aba0301, type: 2} - _position: {x: -1, y: 1, z: 0} + _position: {x: -5, y: 2, z: 0} _isInvisible: 0 _isCollidable: 0 _isTrigger: 0 @@ -210,7 +170,15 @@ MonoBehaviour: - _key: Spawners _tiles: - _tile: {fileID: 11400000, guid: 4002377ed7e87b34699f126f2b10c703, type: 2} + _position: {x: -1, y: -3, z: 0} + - _tile: {fileID: 11400000, guid: 15606c8c503e8164fb69178aa7016f58, type: 2} _position: {x: -1, y: -2, z: 0} + - _tile: {fileID: 11400000, guid: 4002377ed7e87b34699f126f2b10c703, type: 2} + _position: {x: -1, y: -1, z: 0} + - _tile: {fileID: 11400000, guid: 4002377ed7e87b34699f126f2b10c703, type: 2} + _position: {x: -1, y: 0, z: 0} + - _tile: {fileID: 11400000, guid: 4002377ed7e87b34699f126f2b10c703, type: 2} + _position: {x: -1, y: 1, z: 0} - _tile: {fileID: 11400000, guid: 4002377ed7e87b34699f126f2b10c703, type: 2} _position: {x: -1, y: 2, z: 0} _isInvisible: 1 diff --git a/Assets/Scenes/Game.unity b/Assets/Scenes/Game.unity index a1c41c8..4c469d1 100644 --- a/Assets/Scenes/Game.unity +++ b/Assets/Scenes/Game.unity @@ -785,7 +785,7 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 3028288566889208749, guid: 02daecb0115395844b4932445d039051, type: 3} propertyPath: _prefabs.Array.size - value: 15 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3028288566889208749, guid: 02daecb0115395844b4932445d039051, type: 3} propertyPath: _prefabs.Array.data[0] @@ -849,7 +849,7 @@ PrefabInstance: objectReference: {fileID: 6962989255644195630, guid: f20569b5452c2b341a95d656b7534b7e, type: 3} - target: {fileID: 3028288566889208749, guid: 02daecb0115395844b4932445d039051, type: 3} propertyPath: _scriptableObjects.Array.size - value: 12 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3028288566889208749, guid: 02daecb0115395844b4932445d039051, type: 3} propertyPath: _scriptableObjects.Array.data[7] @@ -874,7 +874,7 @@ PrefabInstance: - target: {fileID: 3028288566889208750, guid: 02daecb0115395844b4932445d039051, type: 3} propertyPath: firstLevel value: - objectReference: {fileID: 11400000, guid: f5a11cb6d0d324b47b493042c7615112, type: 2} + objectReference: {fileID: 11400000, guid: d37561e153d6a6448a03839488fdec5e, type: 2} - target: {fileID: 3028288566889208751, guid: 02daecb0115395844b4932445d039051, type: 3} propertyPath: m_RootOrder value: 2 diff --git a/Assets/Tilemaps/LevelEditorPalette.prefab b/Assets/Tilemaps/LevelEditorPalette.prefab index 74f74f0..f55de67 100644 --- a/Assets/Tilemaps/LevelEditorPalette.prefab +++ b/Assets/Tilemaps/LevelEditorPalette.prefab @@ -87,17 +87,27 @@ Tilemap: m_GameObject: {fileID: 5890485537825364348} m_Enabled: 1 m_Tiles: - - first: {x: -1, y: -1, z: 0} + - first: {x: -1, y: -3, z: 0} second: serializedVersion: 2 m_TileIndex: 4 - m_TileSpriteIndex: 0 + m_TileSpriteIndex: 2 m_TileMatrixIndex: 0 m_TileColorIndex: 0 m_TileObjectToInstantiateIndex: 65535 dummyAlignment: 0 m_AllTileFlags: 0 - - first: {x: 0, y: -1, z: 0} + - first: {x: 0, y: -3, z: 0} + second: + serializedVersion: 2 + m_TileIndex: 0 + m_TileSpriteIndex: 6 + m_TileMatrixIndex: 0 + m_TileColorIndex: 0 + m_TileObjectToInstantiateIndex: 65535 + dummyAlignment: 0 + m_AllTileFlags: 0 + - first: {x: 1, y: -3, z: 0} second: serializedVersion: 2 m_TileIndex: 5 @@ -107,16 +117,6 @@ Tilemap: m_TileObjectToInstantiateIndex: 65535 dummyAlignment: 0 m_AllTileFlags: 0 - - first: {x: 1, y: -1, z: 0} - second: - serializedVersion: 2 - m_TileIndex: 6 - m_TileSpriteIndex: 2 - m_TileMatrixIndex: 0 - m_TileColorIndex: 0 - m_TileObjectToInstantiateIndex: 65535 - dummyAlignment: 0 - m_AllTileFlags: 0 - first: {x: -1, y: 0, z: 0} second: serializedVersion: 2 @@ -137,6 +137,16 @@ Tilemap: m_TileObjectToInstantiateIndex: 65535 dummyAlignment: 0 m_AllTileFlags: 1073741825 + - first: {x: 1, y: 0, z: 0} + second: + serializedVersion: 2 + m_TileIndex: 6 + m_TileSpriteIndex: 0 + m_TileMatrixIndex: 0 + m_TileColorIndex: 0 + m_TileObjectToInstantiateIndex: 65535 + dummyAlignment: 0 + m_AllTileFlags: 0 - first: {x: -1, y: 1, z: 0} second: serializedVersion: 2 @@ -157,9 +167,19 @@ Tilemap: m_TileObjectToInstantiateIndex: 65535 dummyAlignment: 0 m_AllTileFlags: 0 + - first: {x: 1, y: 1, z: 0} + second: + serializedVersion: 2 + m_TileIndex: 7 + m_TileSpriteIndex: 7 + m_TileMatrixIndex: 0 + m_TileColorIndex: 0 + m_TileObjectToInstantiateIndex: 65535 + dummyAlignment: 0 + m_AllTileFlags: 0 m_AnimatedTiles: {} m_TileAssetArray: - - m_RefCount: 1 + - m_RefCount: 2 m_Data: {fileID: 11400000, guid: e74655ccbd41a2b46b1ec9615aba0301, type: 2} - m_RefCount: 1 m_Data: {fileID: 11400000, guid: ef5a154519b23a34aaded32e86bf7f2f, type: 2} @@ -173,23 +193,27 @@ Tilemap: m_Data: {fileID: 11400000, guid: e0d57b3c128ba1447920637cdb289530, type: 2} - m_RefCount: 1 m_Data: {fileID: 11400000, guid: 7568f730b2ba3754297a7612452482e2, type: 2} + - m_RefCount: 1 + m_Data: {fileID: 11400000, guid: 15606c8c503e8164fb69178aa7016f58, type: 2} m_TileSpriteArray: - - m_RefCount: 1 - m_Data: {fileID: 21300000, guid: 5c630d8b4d37f5d4f974d38f670ad5c1, type: 3} - - m_RefCount: 1 - m_Data: {fileID: 21300000, guid: f67e7f54162405141b42d32ef8df76ad, type: 3} - m_RefCount: 1 m_Data: {fileID: 21300000, guid: ccca3e050cb082b45af0a099790463f6, type: 3} + - m_RefCount: 1 + m_Data: {fileID: 21300000, guid: 6298844400e212d40bce870425ac2a5b, type: 3} + - m_RefCount: 1 + m_Data: {fileID: 21300000, guid: 43582b3c6b60fd144bc56d8ab3b14349, type: 3} - m_RefCount: 1 m_Data: {fileID: 21300000, guid: 1f8a7d27b012449499d5316045662e1e, type: 3} - m_RefCount: 1 m_Data: {fileID: 21300000, guid: 77a39e873655d3c4b93d0b7696397b83, type: 3} - m_RefCount: 1 m_Data: {fileID: 21300000, guid: b85a4b2ec6433d04895612d791edc260, type: 3} + - m_RefCount: 2 + m_Data: {fileID: 21300000, guid: 5cf7447a03096c04ead18f1855f01cd7, type: 3} - m_RefCount: 1 - m_Data: {fileID: 21300000, guid: 6298844400e212d40bce870425ac2a5b, type: 3} + m_Data: {fileID: 21300000, guid: 8354a544f4ca3514e87d40d2de9afaee, type: 3} m_TileMatrixArray: - - m_RefCount: 7 + - m_RefCount: 9 m_Data: e00: 1 e01: 0 @@ -208,13 +232,13 @@ Tilemap: e32: 0 e33: 1 m_TileColorArray: - - m_RefCount: 7 + - m_RefCount: 9 m_Data: {r: 1, g: 1, b: 1, a: 1} m_TileObjectToInstantiateArray: [] m_AnimationFrameRate: 1 m_Color: {r: 1, g: 1, b: 1, a: 1} - m_Origin: {x: -1, y: -1, z: 0} - m_Size: {x: 3, y: 3, z: 1} + m_Origin: {x: -1, y: -3, z: 0} + m_Size: {x: 3, y: 5, z: 1} m_TileAnchor: {x: 0.5, y: 0.5, z: 0} m_TileOrientation: 0 m_TileOrientationMatrix: @@ -283,7 +307,7 @@ TilemapRenderer: m_Mode: 0 m_DetectChunkCullingBounds: 0 m_MaskInteraction: 0 ---- !u!114 &5180442264077207259 +--- !u!114 &1109561936470111781 MonoBehaviour: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} diff --git a/Assets/Tiles/EnemySpawner.asset b/Assets/Tiles/EnemySpawner.asset index ba34810..d63a169 100644 --- a/Assets/Tiles/EnemySpawner.asset +++ b/Assets/Tiles/EnemySpawner.asset @@ -15,6 +15,6 @@ MonoBehaviour: _sprite: {fileID: 21300000, guid: b85a4b2ec6433d04895612d791edc260, type: 3} _isCollidable: 1 _prefab: {fileID: 80204295746100150, guid: 5bbf0d85fa5bb3f4599da79f0a84e3a9, type: 3} - _spawnOnStart: 1 - _spawnSpeed: 0 + _spawnOnStart: 0 + _spawnSpeed: 0.02 _spawnCounter: 0 diff --git a/Assets/Tiles/EnemySpawnerStart.asset b/Assets/Tiles/EnemySpawnerStart.asset new file mode 100644 index 0000000..6564483 --- /dev/null +++ b/Assets/Tiles/EnemySpawnerStart.asset @@ -0,0 +1,20 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &11400000 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: b28b3004abb3723498a355747c7cd899, type: 3} + m_Name: EnemySpawnerStart + m_EditorClassIdentifier: + _sprite: {fileID: 21300000, guid: 8354a544f4ca3514e87d40d2de9afaee, type: 3} + _isCollidable: 1 + _prefab: {fileID: 80204295746100150, guid: 5bbf0d85fa5bb3f4599da79f0a84e3a9, type: 3} + _spawnOnStart: 1 + _spawnSpeed: 0 + _spawnCounter: 0 diff --git a/Assets/LevelEditor/Levels/Level.asset.meta b/Assets/Tiles/EnemySpawnerStart.asset.meta similarity index 79% rename from Assets/LevelEditor/Levels/Level.asset.meta rename to Assets/Tiles/EnemySpawnerStart.asset.meta index bb443cd..eb00a28 100644 --- a/Assets/LevelEditor/Levels/Level.asset.meta +++ b/Assets/Tiles/EnemySpawnerStart.asset.meta @@ -1,5 +1,5 @@ fileFormatVersion: 2 -guid: e715669e1ed4b294c82d07ac011e89bb +guid: 15606c8c503e8164fb69178aa7016f58 NativeFormatImporter: externalObjects: {} mainObjectFileID: 11400000 diff --git a/Assets/Tiles/RockNode.asset b/Assets/Tiles/RockNode.asset index e9a861d..90feadb 100644 --- a/Assets/Tiles/RockNode.asset +++ b/Assets/Tiles/RockNode.asset @@ -12,7 +12,7 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: 84b05f2a26f63da46a1028488482d079, type: 3} m_Name: RockNode m_EditorClassIdentifier: - _sprite: {fileID: 21300000, guid: f67e7f54162405141b42d32ef8df76ad, type: 3} + _sprite: {fileID: 21300000, guid: 6298844400e212d40bce870425ac2a5b, type: 3} _isCollidable: 0 _yieldPrefab: {fileID: 6962989255644195630, guid: 484f0eca1c74ae34694692de56a36739, type: 3} _yieldSpeed: 0.1