GXSceneColumns - boxgaming/gx GitHub Wiki

Syntax

sceneColumns% = GXSceneColumns

Description

Returns the number of tile columns that can be displayed within the scene.
This value will be zero unless a tiled map has been created or loaded.

Examples

Example1: Get the number of tile columns in the scene.

DIM sceneCols AS INTEGER
sceneCols = GXSceneColumns

See Also

GXScenePos, GXSceneMove, GXSceneX, GXSceneY, GXSceneWidth, GXSceneHeight, GXSceneRows