16 lines
530 B
GDScript3
16 lines
530 B
GDScript3
|
extends Node2D
|
||
|
|
||
|
@onready var dial = $CharacterBody2D/CanvasLayer
|
||
|
# Called when the node enters the scene tree for the first time.
|
||
|
func _ready():
|
||
|
await get_tree().create_timer(3).timeout
|
||
|
dial.typewrite("Oh what a wonderful day today!", load("res://assets/meow.wav"),2, false)
|
||
|
await dial.Done
|
||
|
dial.typewrite("I should do my chores!", load("res://assets/meow.wav"),2, true)
|
||
|
await dial.Done
|
||
|
$CharacterBody2D.moving = true
|
||
|
|
||
|
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||
|
func _process(delta):
|
||
|
pass
|