Xvel

From EDukeWiki
Revision as of 20:20, 11 October 2010 by Daedolon (talk | contribs) (Fixed typo.)
Jump to navigation Jump to search

xvel holds the forward/backward velocity of the sprite. Positive values are forward, negative are backward.

The projectile doesn't move at the same speed as the normal actor, it moves faster. In order to make an actor move alongside a projectile (using defineprojectile), the speed of the actor should be multiplied by 2.5.