GenSetSpriteCenterX


GenSetSpriteCenterX sprite, x

sprite

Sprite to be positioned.

x

The screen x coordinate to position the sprite. The center of the sprite will be positioned on this x coordinate.


The diagram below shows the X and Y axis and their direction of movement.


Game Engine Overview







Become a Patron