| |
| | Modeling Sprite Animation by Diana Gruber |
 | | The offsets are used to adjust the position of the sprite, and are useful with things like explosions, which must be centered around a midpoint, rather than displayed from a corner. |
 | | The sprite image changes as the sprite moves, and may represent a sprite as walking, running, or shooting, for example. |
 | | It causes the sprite to move (by changing the object's x and y coordinates), it checks for collisions, it may spawn new objects or kill off old ones, but most importantly, the action function determines what the object will do in the next frame. |
| www.fastgraph.com /fsm.html (1382 words) |
|