GXSceneWindowSize - boxgaming/gx GitHub Wiki

Syntax

GXSceneWindowSize width%, height%

Description

Scale the scene to the specified window size.

NOTE: This method is called automatically by the engine when GX is managing the game loop.

Examples

Example1: Scale the scene to the current window size on a resize event.

GXSceneWindowSize _RESIZEWIDTH, _RESIZEHEIGHT

See Also

GXSceneCreate, GXSceneConstrain, GXSceneDraw, GXSceneResize, GXSceneScale, GXSceneStart, GXSceneStop