Xvel

From EDukeWiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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.