generated from SGDA/GodotExampleProject
feat: sound for intro
This commit is contained in:
@ -21,7 +21,6 @@ var text_showing = false
|
||||
func _ready() -> void:
|
||||
text_split = message.text.split("---")
|
||||
text_fine_split = text_split[2].split(" ")
|
||||
print(len(text_fine_split))
|
||||
message.text = ""
|
||||
|
||||
accept_button_1.visible = false
|
||||
@ -34,7 +33,6 @@ func _on_start_connexion_timeout() -> void:
|
||||
message.text = text_split[0]
|
||||
further_connexion.start()
|
||||
|
||||
|
||||
func _on_further_connexion_timeout() -> void:
|
||||
message.text = text_split[1]
|
||||
text_start.start()
|
||||
@ -43,9 +41,9 @@ func _on_text_start_timeout() -> void:
|
||||
message.text = ""
|
||||
time_between_words.start()
|
||||
|
||||
|
||||
func _on_time_between_words_timeout() -> void:
|
||||
if text_fine_split.is_empty():
|
||||
time_between_words.stop()
|
||||
time_before_show_buttons.start()
|
||||
return
|
||||
|
||||
|
Reference in New Issue
Block a user