A_SetScale (float scaleX[, float scaleY])
Changes the calling actor's visual scale. This does not affect the actual collision box and is mainly intended for special effects actors, such as a puff of smoke gradually dissipating by expansion (in combination with A_FadeOut) or a mote of light shrinking and disappearing.
- scaleX: the actor's new horizontal scale. Using negative values will result in mirroring the sprite on the axis. (development version only)
- scaleY: the actor's new vertical scale. If this parameter is not given, or is set to 0, scaleX is used as well.
|Note: This article lists no examples. If you make use of this feature in your own project(s) or know of any basic examples that could be shared, please. This will make it easier to understand for future authors seeking assistance. Your contibutions are greatly appreciated.|