ID:185448
 
I've realized many of the people who upload demos and libraries have no idea of how to use "movement icons". Most of the time they make an animation for "moving", and another to be the "still" animation.
That's why the ption called "Movemet Animation" exists!
It does the following:
After you move in a direction, it plays the whole animation, then go back to the 1st frame, and DO NOT PLAY THE REST unless you move!
Yeah, so next time I download a demo or library, I will see if you learnedf how to use that feature.
Thank you for reading this.
Nice...creation....>_>
Almost.

The movement state plays through its animation until it is finished taking its step, whether it plays through the animation fully or not. Also, it does not always play the animation from the beginning either, rather it starts the animation from whatever frame it would be on at the moment if it were still advancing normally.

So basically, it starts on an apparently random frame and loops around until it is finished taking its step, possibly not even finishing the animation the first time if the pixel_step_size is small enough or the delay large enough.
Blinking can be created using this.
Make a movement animation with the moving character. Then make a still, which has a still delay and every so often "blinks" (with the characters eyes). While the character is standing still, it blinks. When it moves, it moves.

Quite brilliant, actually.
In response to Loduwijk
Loduwijk wrote:
Almost.

The movement state plays through its animation until it is finished taking its step, whether it plays through the animation fully or not. Also, it does not always play the animation from the beginning either, rather it starts the animation from whatever frame it would be on at the moment if it were still advancing normally.

So basically, it starts on an apparently random frame and loops around until it is finished taking its step, possibly not even finishing the animation the first time if the pixel_step_size is small enough or the delay large enough.

yeah. Let's suppose a char's animation has 10 frames: Sometimes the char's animation starts like, in frame #2, and ends in frame #6... that's what I dont like about icons' movements >=|
In response to Gooseheaded
couldn't blinking make the game Lag?
In response to Budboinker
No. The icon file will be slightly larger (not enough for you to notice), but all animation is handled client-side, so it's quite fast.