Xvel

From EDukeWiki
Revision as of 13:14, 29 November 2014 by Jwaffe (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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.