Add a level 2 scaffold and make the level-clear screen load the next level

level_clear.gd gained a next_level_scene export: empty reloads the current level, otherwise it changes to the given scene. Level 1 now points at res://scenes/level_2.tscn. level_2.tscn is an empty but complete level: background, three TileMapLayers wired to the same TileSet, player, HUD, death screen and level-clear screen, plus the empty prefab containers. Its hidden_passages script explicitly sets hidden_cells = [] so level 1's passage cells are not carved here.
This commit is contained in:
2026-10-07 21:10:25 +08:00
parent 7c78a088a0
commit 81ffe989f6
6 changed files with 101 additions and 3 deletions
+1
View File
@@ -0,0 +1 @@
uid://dbjrrn5xe6nbh