couple more improvements, im pretty happy with how this is shaping up

This commit is contained in:
JHDev2006
2025-10-26 16:35:41 +00:00
parent 3466e7c4c2
commit 53f3bce94c
11 changed files with 33 additions and 16 deletions

View File

@@ -7,7 +7,8 @@ func _ready() -> void:
func do_cycle() -> void:
if BooRaceHandler.countdown_active == false:
AudioManager.play_sfx("burner", global_position)
if $OnScreen.is_on_screen():
AudioManager.play_sfx("burner", global_position)
do_animation()
await get_tree().create_timer(0.25, false).timeout
%Shape.set_deferred("disabled", false)