SprSetYFlip() (Basic4GL)
SprSetYFlip()
(Basic4GL 2.4.10)
SprSetYFlip - flip or "un-flip" a sprite vertically.
Syntax
SprSetFlip(bool)
- bool - True or False.
Description
SprSetYFlip() will flip or "un-flip" a sprite vertically depending on whether it's argument is True or False. Sprites do not flip over and over like a card, instead, using True will flip a sprite only if it is "un-flipped" and using False will only "un-flip" a sprite if it has been previously flipped.
Examples
Related Pages
- SprYFlip() - check if a sprite is flipped vertically
- SprSetXFlip() - flip or "un-flip" a sprite horizontally
page revision: 9, last edited: 02 Jul 2012 01:55