I am working and when loading a scene it shows me the following error 0: 00: 00: 664 and 0: 00: 00: 0136 help me to fix it.
extends KinematicBody2D
const speed = 50
var anim = ""
var Animaction
var nira = ""
func ready():
Animacion = getnode("AnimationPlayer")
setphysicsprocess(true)
func fixedprocess(delta):
var direction = Vector2()
var newanim = anim
if Input.is_action_pressed("ui_down"):
direction.y += speed
new_anim = "down"
nira = "down"
elif Input.is_action_pressed("ui_up"):
direction.y += -speed
nira = "up"
elif Input.is_action_pressed("ui_left"):
direction.x += -speed
new_anim = "left"
nira = "left"
elif Input.is_action_pressed("ui_right"):
direction.x += speed
new_anim = "right"
nira = "right"
else:
new_anim = ""
Animacion.stop();
if new_anim != anim:
anim = new_anim
Animaction.play(anim)
var movement = direction.normalized() * speed * delta
move(motion)