clowder/main.gd
2024-03-03 20:22:50 +01:00

16 lines
530 B
GDScript

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