You should start here:
Thanks for your help but i know how to add animation ^^
my question is a little more difficult than this ...
i have my npc with animation.., i just need to know how to program the animation for the movement
every tick if x<x.npc play leftanimation ... something like that ...
but i don t know how can i write this
(i hope you understand with my bad english )
thanks a lot for answer ..
at first i want to test with basic 4 direction (i have isometric chars for my project but i think its the same way )