GenSetSpriteVelocityXY


GenSetSpriteVelocityXY sprite, vx, vy

sprite

Game Engine sprite object to set.

vx

The new sprite x velocity vector in pixels per second. This vector will be added to the sprites x position every second.

vy

The new sprite y velocity vector in pixels per second. This vector will be added to the sprites y position every second.


Game Engine Overview







Become a Patron