Yvel: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
No edit summary
Fox (talk | contribs)
No edit summary
Line 1: Line 1:
In a sprite that happens to be a player, yvel is the player ID of that player (to be used in conjunction with [[getplayer]] and [[setplayer]], etc.).
Since the velocity is controlled solely by the [[xvel]], the yvel is used to store other values, such as the player ID of an APLAYER actor (to be used in conjunction with [[setplayer]] or [[getplayer]]) or the number of bounces left by a projectile.


[[Category:Sprite structure members]]
[[Category:Sprite structure members]]

Revision as of 12:52, 14 April 2013

Since the velocity is controlled solely by the xvel, the yvel is used to store other values, such as the player ID of an APLAYER actor (to be used in conjunction with setplayer or getplayer) or the number of bounces left by a projectile.