I�m having problems playing the moving animation, because I can�t detect accurately when the enemy object is moving.
I do this:
<img src="http://s24.postimg.org/438kwllxx/Screenshot_32.png" border="0" />
but what I get is that sometimes the object plays the walk animation, without moving. i�m guessing it�s when the object is moving along the path, but moving very, very slowly.
But when the object is moving along path, the 8way behavior don't register movement.
Is there a way to know absolutely if an object is moving regardless of which behavior is making the movement?
or the speed?