Sure ! I used a player controller by someone else but tweaked it with my spaghetti code ^^
I can share the git repo ? Idk how to do this lol
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