Editing Wikifang:Network Translation Patchsite/SpriteManager
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 36: | Line 36: | ||
Bit 2: Metasprite is in motion. New animations won't be queued, and choreography scripts won't run, until the animation completes. Stationary animations do not set this flag and are always interruptible animations. | Bit 2: Metasprite is in motion. New animations won't be queued, and choreography scripts won't run, until the animation completes. Stationary animations do not set this flag and are always interruptible animations. | ||
Bit 3: Metasprite | Bit 3: Metasprite has been locked to it's stationary animation. | ||
Bit 4: Metasprite | Bit 4: Metasprite has been locked to it's stationary animation. For some reason, there are two bits with the same effect. It is unknown if one bit has different semantics from the other. | ||
For some reason, there are two bits with the same effect | |||
|- | |- | ||
| SpriteY || +$01 || Y coordinate of sprite (16bit) | | SpriteY || +$01 || Y coordinate of sprite (16bit) | ||
Line 152: | Line 150: | ||
|} | |} | ||
''Please keep in mind that directional commands such as | ''Please keep in mind that directional commands such as IDOWN, IUP, ILEFT, and IRIGHT do not actually move the sprite.'' Instead, they queue the animation script associated with that direction. The animation script itself moves the sprite; it's only by convention that, e.g. IDOWN always executes a script that moves the sprite down two tiles. Furthermore, script execution is predicated upon the target tiles being free; if they are occupied, then the choreography script will halt until that slot becomes free. This has the following consequences: | ||
* The movement path specified by the choreography script will be followed exactly. | * The movement path specified by the choreography script will be followed exactly. | ||
* Sprites can get 'stuck' on stationary walls, or even each other. | * Sprites can get 'stuck' on stationary walls, or even each other. | ||
* NPCs will 'box in' players, never moving until the player moves out of their way, as the player is just another sprite. | * NPCs will 'box in' players, never moving until the player moves out of their way, as the player is just another sprite. | ||
=== Animation Script Instructions === | === Animation Script Instructions === |