Xvel: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
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. | ||
A projectile doesn't move in the same rate as a normal actor, it is faster. If you want to make a actor move alongside a projectile (using [[define projecile]]), you will need to multiply the value by 2.5. | |||
[[Category:Sprite structure members]] | [[Category:Sprite structure members]] |
Revision as of 06:19, 31 August 2008
xvel holds the forward/backward velocity of the sprite. Positive values are forward, negative are backward.
A projectile doesn't move in the same rate as a normal actor, it is faster. If you want to make a actor move alongside a projectile (using define projecile), you will need to multiply the value by 2.5.