Xvel: Difference between revisions
Jump to navigation
Jump to search
m Reverted edits by 201.21.216.176 (Talk) to last version by Hunter byte |
mNo edit summary |
||
(4 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
'''xvel''' holds the forward/backward velocity of the sprite. Positive values are forward, negative are backward. | '''xvel''' holds the forward/backward velocity of the sprite. Positive values are forward, negative are backward. | ||
Note: An even value of xvel has some significance for sprite bridges (more investigation needed) | |||
Sprite bridge flags in the player structure ([[spritebridge]] and [[sbs]]) will not be set unless xvel is even. | |||
[[Category:Sprite structure members]] | [[Category:Sprite structure members]] |
Latest revision as of 13:14, 29 November 2014
xvel holds the forward/backward velocity of the sprite. Positive values are forward, negative are backward.
Note: An even value of xvel has some significance for sprite bridges (more investigation needed)
Sprite bridge flags in the player structure (spritebridge and sbs) will not be set unless xvel is even.