mirror of
https://github.com/JHDev2006/Super-Mario-Bros.-Remastered-Public.git
synced 2025-10-28 10:19:41 +00:00
couple more improvements, im pretty happy with how this is shaping up
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user