sprite.flipX = -1;
sprite.flipY = -1;
Sprite is well… your sprite, and then flipX to flip horizontally, while flipY to flip vertically.
makes games and other things
sprite.flipX = -1;
sprite.flipY = -1;
Sprite is well… your sprite, and then flipX to flip horizontally, while flipY to flip vertically.