Custom Balloon resizing

This commit is contained in:
2025-06-10 01:05:24 +02:00
parent 03c3e2dc17
commit cdc0b1f5f4
13 changed files with 637 additions and 51 deletions
+15 -3
View File
@@ -72,6 +72,8 @@ func skip_intro():
transition("big", [$TitleScreen], [$ScreeningDesk, UI, UI.get_node("UI/UpperContainer")])
await TransitionScreen.transition_finished
gameplay_loop(load("res://Dialogues/patient_1.dialogue"))
#Plays the entire introduction
@@ -91,12 +93,22 @@ func play_intro():
transition("big", [$TextScreens, text_container.get_child(4), UI, UI.get_node("UI/SkipContainer")], [$DialogueScreens])
await TransitionScreen.transition_finished
$DialogueScreens.dialogue(dialogue_intro, "start")
DialogueManager.show_dialogue_balloon(dialogue_intro, "start")
await DialogueManager.dialogue_ended
#Transition to the Screening Desk
transition("big", [$DialogueScreens], [$ScreeningDesk])
await UI.next_slide
transition("big", [$DialogueScreens], [$ScreeningDesk, UI, UI.get_node("UI/UpperContainer")])
await TransitionScreen.transition_finished
gameplay_loop(load("res://Dialogues/patient_1.dialogue"))
func gameplay_loop(dialogue_resource):
CurrentPatient.new_patient(dialogue_resource)
pass