added some sound triggers and holes in the map
This commit is contained in:
@ -5,8 +5,8 @@ signal completed(outcome)
|
||||
|
||||
func set_popup(prompt_text, confirm_text, cancel_text):
|
||||
$VBoxContainer/Label.text = prompt_text
|
||||
$VBoxContainer/HBoxContainer/MarginContainer/Confirm.text = confirm_text
|
||||
$VBoxContainer/HBoxContainer/MarginContainer2/Cancel.text = cancel_text
|
||||
$VBoxContainer/HBoxContainer/Confirm.text = confirm_text
|
||||
$VBoxContainer/HBoxContainer/Cancel.text = cancel_text
|
||||
|
||||
|
||||
func _on_confirm_pressed() -> void:
|
||||
@ -17,3 +17,7 @@ func _on_confirm_pressed() -> void:
|
||||
func _on_cancel_pressed() -> void:
|
||||
completed.emit(false)
|
||||
queue_free()
|
||||
|
||||
|
||||
func _on_button_mouse_entered() -> void:
|
||||
$AudioStreamPlayer.play()
|
||||
|
Reference in New Issue
Block a user