yess the bane of my existence I spend like 2 hrs yesterday trying to figure it out but gave up :(
Oh yeah itch doesnt have messaging thats uncool :O
Here’s my discord : fifigrade_ send me a text there !!
Personnaly I go simple with the code for the animation for platformer characters:
func _process() –> void:
––if is_on_ground():
––––if Input.is_action(“left”):
————sprite.play(“walk”)
————sprite.flip_h = true
––––elif Input.is_action(“right”):
————sprite.play(“walk”)
————sprite.flip_h = false
––––else:
————sprite.play(“idle”)
––else:
––––sprite.play(“falling”)
This code can be optimized but its not THAT BAD :D