Skip to content

Commit

Permalink
fade out when button
Browse files Browse the repository at this point in the history
  • Loading branch information
zabayrer committed May 17, 2024
1 parent bb93b1f commit a1def39
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/start_menu.gd
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ func _on_start_button_pressed():
func _on_quit_button_pressed():
get_tree().quit()

#func _process(delta):
# if music_fade:
# title_theme.volume_db -= 0.1
# print(title_theme.vo
func _process(delta):
if music_fade:
title_theme.volume_db -= 0.5
print(title_theme.volume_db)


func _on_tutorial_pressed():
Expand Down

0 comments on commit a1def39

Please sign in to comment.