diff --git a/scripts/Main.gd b/scripts/Main.gd index 2c26fd9..082b193 100644 --- a/scripts/Main.gd +++ b/scripts/Main.gd @@ -89,6 +89,15 @@ func _input(event: InputEvent) -> void: else: Input.mouse_mode = Input.MOUSE_MODE_CAPTURED + if OS.is_debug_build(): + var key := event as InputEventKey + if key != null and key.pressed and not key.echo: + if key.keycode == KEY_F5: + boss_active = true + _trigger_win() + elif key.keycode == KEY_F6: + _on_player_died() + # ─── Level ──────────────────────────────────────────────────────────────────── func _spawn_level() -> void: