Yvel: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
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.). | 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.). | ||
In a projectile, yvel is the number of bounces that the projectile has left. Setting the yvel of a RPG-type projectile cause it to explode (simulate impact). | |||
[[Category:Sprite structure members]] | [[Category:Sprite structure members]] |