GenSetSpriteScale


GenSetSpriteScale sprite, scaleX, scaleY

sprite

The sprite to set.

scaleX

The sprite's new x scale.

scaleY

The sprite's new y scale.


This command set the sprite's scale. The X and Y axis may be scaled independently. The scale factors are in the range of 0.0 - 1.0+. By default the scale is 1.0.


Game Engine Overview







Become a Patron