DbScaleSprite

This command will cause a sprite to shrink or expand depending on the value passed.

Syntax
void dbScaleSprite ( int iSprite, int iScale ) This command resizes the sprite specified by iSprite by scaling it both horizontally and vertically. The scaling is based on the value 100. Any value of iScale smaller than 100 will shrink the sprite to that percentage. Any value over 100 will expand it.

Usage
dbScaleSprite ( 1, 50 ) The above will cause the width and height of sprite number 1 to be cut in half (50/100 = 1/2) dbScaleSprite ( 1, 200) The above will cause the width and height of sprite number 1 to double (200/100 = 2)