Add a debug-only level skip overlay so testing level 3 does not require beating levels 1 and 2

Registered as an autoload so every scene gets it for free. Top-right shows a row of buttons generated from the levels array (main, level2, level3) plus keyboard shortcuts 1/2/3, and it runs with PROCESS_MODE_ALWAYS at layer 30 so it still works while the tree is paused on a death or level-clear screen. Hidden in exported release builds, same rule as the debug flight.
This commit is contained in:
2026-10-07 23:02:57 +08:00
parent 8127c787f8
commit 44e4c3a751
3 changed files with 92 additions and 0 deletions
+4
View File
@@ -15,6 +15,10 @@ run/main_scene="res://scenes/main.tscn"
config/features=PackedStringArray("4.7", "Forward Plus")
config/icon="res://icon.svg"
[autoload]
LevelSkip="*res://scenes/level_skip.tscn"
[display]
window/size/viewport_width=468