generated from SGDA/GodotExampleProject
feat: THE SOUND PAIN MAN
This commit is contained in:
@ -11,6 +11,9 @@ extends Control
|
||||
@onready var accept_button_1: Button = %AcceptButton1
|
||||
@onready var accept_button_2: Button = %AcceptButton2
|
||||
|
||||
@onready var failed_audio: AudioStreamPlayer2D = $FailedAudio
|
||||
@onready var aha_audio: AudioStreamPlayer2D = $AHAAudio
|
||||
|
||||
var growing_text: String = ""
|
||||
var text_split: PackedStringArray
|
||||
var text_fine_split: PackedStringArray
|
||||
@ -39,6 +42,9 @@ func _on_further_connexion_timeout() -> void:
|
||||
|
||||
func _on_text_start_timeout() -> void:
|
||||
message.text = ""
|
||||
accept_button_1.visible = true
|
||||
accept_button_2.visible = true
|
||||
failed_audio.play()
|
||||
time_between_words.start()
|
||||
|
||||
func _on_time_between_words_timeout() -> void:
|
||||
|
Reference in New Issue
Block a user