Thank you so much ! I totally agree, I originally wanted to add random rooms to make the walk back at least different each time but ended up not having time. I'll take this into account if I work on it any further, tyy !
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