17 lines
436 B
GDScript3
17 lines
436 B
GDScript3
extends KinematicBody2D
|
|
|
|
|
|
# Declare member variables here. Examples:
|
|
# var a: int = 2
|
|
# var b: String = "text"
|
|
onready var animation_player: AnimationPlayer = get_node("AnimationPlayer")
|
|
|
|
# Called when the node enters the scene tree for the first time.
|
|
func _ready() -> void:
|
|
animation_player.play("appear")
|
|
|
|
|
|
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
|
#func _process(delta: float) -> void:
|
|
# pass
|