you can now have as MANY checkpoints as you want, in as many rooms as you want!

This commit is contained in:
JHDev2006
2025-09-25 09:29:00 +01:00
parent d058425c13
commit 8126439a81
8 changed files with 21 additions and 12 deletions

View File

@@ -160,7 +160,7 @@ func _physics_process(delta: float) -> void:
elif current_state == EditorState.TILE_MENU:
close_tile_menu()
if Input.is_action_just_pressed("editor_play") and (current_state == EditorState.IDLE or current_state == EditorState.PLAYTESTING) and Global.current_game_mode == Global.GameMode.LEVEL_EDITOR:
Checkpoint.passed = false
Checkpoint.passed_checkpoints.clear()
if current_state == EditorState.PLAYTESTING:
stop_testing()
else: