FANDOM


This command will return an integer value of the current amount of X shift applied to the specified sprite.

SyntaxEdit

int dbSpriteOffsetX ( int iSprite )

UsageEdit

int xOffset = dbSpriteOffsetX( 1 );

This code will look at sprite number 1 and return the value of its horizontal offset into the integer xOffset.

See AlsoEdit

dbSprite
dbOffsetSprite

dbSpriteOffsetX
dbSpriteOffsetY

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.