Added more sound
This commit is contained in:
@@ -71,5 +71,6 @@ func _on_credits_button_pressed() -> void:
|
||||
|
||||
|
||||
func _on_quit_button_pressed() -> void:
|
||||
SoundManager.play_ui_stream(SoundManager.ui_stream_decline)
|
||||
var player := SoundManager.play_ui_stream(SoundManager.ui_stream_decline)
|
||||
await player.finished
|
||||
quit_game.emit()
|
||||
|
||||
@@ -72,6 +72,7 @@ func _on_seed_edit_text_submitted(new_text: String) -> void:
|
||||
|
||||
|
||||
func _on_back_button_pressed() -> void:
|
||||
SoundManager.play_ui_stream(SoundManager.ui_stream_decline)
|
||||
back.emit()
|
||||
|
||||
|
||||
@@ -86,8 +87,10 @@ func _on_visibility_changed() -> void:
|
||||
|
||||
|
||||
func _on_use_random_button_pressed() -> void:
|
||||
SoundManager.play_ui_stream(SoundManager.ui_stream_accept)
|
||||
_start_game(random_edit.text)
|
||||
|
||||
|
||||
func _on_use_custom_button_pressed() -> void:
|
||||
SoundManager.play_ui_stream(SoundManager.ui_stream_accept)
|
||||
_start_game(custom_edit.text)
|
||||
|
||||
@@ -33,6 +33,7 @@ size_flags_horizontal = 4
|
||||
|
||||
[node name="Options" parent="MarginContainer" instance=ExtResource("3_88gnj")]
|
||||
unique_name_in_owner = true
|
||||
visible = false
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Credits" parent="MarginContainer" instance=ExtResource("4_w1y3c")]
|
||||
|
||||
Reference in New Issue
Block a user