Slight UI tweaks; Some Fish Cascade Fixes
This commit is contained in:
@@ -28,6 +28,10 @@ func check_text_files(path):
|
||||
|
||||
# Called when the node enters the scene tree for the first time.
|
||||
func _ready() -> void:
|
||||
$BackgroundMusic.play()
|
||||
$BackgroundMusicAlt.play()
|
||||
$BackgroundMusic.volume_db = -10
|
||||
$BackgroundMusicAlt.volume_db = -80
|
||||
game_mode = null
|
||||
header = self.get_node("Header")
|
||||
fade = self.get_node("Fade")
|
||||
@@ -54,6 +58,9 @@ func _on_comet_pressed() -> void:
|
||||
main_buttons.visible = false
|
||||
word_select.visible = true
|
||||
|
||||
$BackgroundMusic.volume_db = -80
|
||||
$BackgroundMusicAlt.volume_db = -10
|
||||
|
||||
func _on_cascade_pressed() -> void:
|
||||
header.text = "Select Word Set"
|
||||
stage = 1
|
||||
@@ -62,6 +69,14 @@ func _on_cascade_pressed() -> void:
|
||||
main_buttons.visible = false
|
||||
word_select.visible = true
|
||||
|
||||
$BackgroundMusic.volume_db = -80
|
||||
$BackgroundMusicAlt.volume_db = -10
|
||||
|
||||
func _on_lessons_pressed() -> void:
|
||||
$Error.play()
|
||||
|
||||
func _on_options_pressed() -> void:
|
||||
$Error.play()
|
||||
|
||||
func _on_quit_pressed() -> void:
|
||||
$BackgroundMusic.stop()
|
||||
@@ -81,4 +96,6 @@ func _input(event):
|
||||
game_mode = null
|
||||
main_buttons.visible = true
|
||||
word_select.visible = false
|
||||
$BackgroundMusic.volume_db = -10
|
||||
$BackgroundMusicAlt.volume_db = -80
|
||||
|
||||
|
||||
Reference in New Issue
Block a user