feat: choice system
This commit is contained in:
@ -13,7 +13,6 @@ extends Node
|
||||
@onready var e_ui_button: TextureRect = %E
|
||||
@onready var next_label: Label = %NextLabel
|
||||
|
||||
|
||||
@export_multiline var dialogue = ""
|
||||
@export var start_with_left = false
|
||||
@export var left_picture: Texture2D
|
||||
@ -31,7 +30,6 @@ func _ready() -> void:
|
||||
is_left_speaking = start_with_left
|
||||
left_speaker.texture = left_picture
|
||||
right_speaker.texture = right_picture
|
||||
display_profiles()
|
||||
|
||||
e_ui_button.visible = false
|
||||
next_label.visible = false
|
||||
@ -70,15 +68,18 @@ func load_next_dialogue():
|
||||
|
||||
func on_dialogue_started():
|
||||
bubbles.visible = true
|
||||
bubble_label.visible = true
|
||||
bubbles_back.visible = true
|
||||
bubbles_interior.visible = true
|
||||
|
||||
display_profiles()
|
||||
is_dialogue_ongoing = true
|
||||
time_between_letters.start()
|
||||
load_next_dialogue()
|
||||
|
||||
func end_dialogue():
|
||||
bubbles.visible = false
|
||||
bubble_label.visible = false
|
||||
bubbles_back.visible = false
|
||||
bubbles_interior.visible = false
|
||||
e_ui_button.visible = false
|
||||
|
Reference in New Issue
Block a user