b2dSetScale

Sets current scale for 2D overlay images (scaleX/scaleY multipliers, affects image drawing). Takes scaleX (horizontal scale multiplier, 1.0=normal, 2.0=double width, 0.5=half width), scaleY (vertical scale multiplier, 1.0=normal, 2.0=double height, 0.5=half height). Returns nothing.

2D Overlay

Parameters & Returns

Parameters

scaleX Double
scaleY Double

Returns

Void

Quick Summary

Sets current scale for 2D overlay images (scaleX/scaleY multipliers, affects image drawing). Takes scaleX (horizontal scale multiplier, 1.0=normal, 2.0=double width, 0.5=half width), scaleY (vertical scale multiplier, 1.0=normal, 2.0=double height, 0.5=half height). Returns nothing.

Technical Exegesis...

Sets current scale for 2D overlay images (scaleX/scaleY multipliers, affects image drawing). Takes scaleX (horizontal scale multiplier, 1.0=normal, 2.0=double width, 0.5=half width), scaleY (vertical scale multiplier, 1.0=normal, 2.0=double height, 0.5=half height). Returns nothing. Sets g_currentState.scaleX/scaleY (stores in global state, persists until changed).

Example

Example.bam
; No example implemented yet