fixed a tiling error, and not being able to skip the challenge "miss.." screen

This commit is contained in:
JHDev2006
2025-09-29 11:58:21 +01:00
parent a1e6ed85c1
commit 4fa07b7d06
3 changed files with 5 additions and 5 deletions

View File

@@ -344,6 +344,7 @@ func transition_to_scene(scene_path := "") -> void:
$Transition/AnimationPlayer.play("RESET")
$Transition.hide()
transitioning_scene = false
transition_finished.emit()

View File

@@ -21,8 +21,11 @@ func _ready() -> void:
func _process(_delta: float) -> void:
print(can_continue)
if Input.is_action_just_pressed("jump_0") and can_continue:
go_back_to_title()
can_continue = false
if Global.transitioning_scene:
await Global.transition_finished
await get_tree().create_timer(0.15, false).timeout
go_back_to_title()
func go_back_to_title() -> void: