basic dialogue progression

This commit is contained in:
wooshings
2026-09-04 21:04:58 -07:00
parent 624a6c1c73
commit 3112d6b8bf
13 changed files with 98 additions and 2 deletions
+18
View File
@@ -0,0 +1,18 @@
extends Node
class_name DialogueEncounter
var dialogue: DialogueScene
signal step
func _init(path: Resource) -> void:
self.dialogue = path
await Start()
func _input(_event: InputEvent) -> void:
if Input.is_action_just_pressed("ui_accept"):
step.emit()
func Start():
for i in self.dialogue.get_scene():
print(i.dialogue)
await step