This command will cause the sprite to be reversed around the horizontal axis.


void dbFlipSprite ( int iSprite )

This command causes the sprite specified by iSprite to be displayed upside down. The image remains unmodified.


dbFlipSprite ( 1 );

The above statement will display sprite number 1's image upside down.

In order to return the sprite to an uflipped state:

if (dbSpriteFlipped (1) == 1) {
	dbFlipSprite (1);

The above uses the dbSpriteFlipped function to test if the sprite is currently flipped. If it is, it reverses the state.

See AlsoEdit



Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.