|
GetLevelABSWidth | |||
Width = GetLevelABSWidth(MapIndex, LevelIndex) | |||
Parameters: MapIndex = The Index of the Map you wish to query a level within LevelIndex = The index of the level to query. |
|||
Returns: Width = Width of level in pixels |
|||
The GetLevelABSWidth function returns the absolute width of a level in pixels. It's the same calculation as,
FACTS: * The returned value is in PIXELS not TILES. Mini Tutorial: This example shows how to first create a Map & Level, then displays the size information about this level.
This example would output.
|
Related Info: | CreateLevel | GetLevelABSHeight | GetLevelHeight | GetLevelWidth | ResizeLevel : |
|
|||||||||||||||||||||||||||||||||||||||
(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com |