|
GetLevelHeight | ||
Height = GetLevelHeight(MapIndex, LevelIndex) | ||
Parameters: MapIndex = The Index of the Map you wish to query a level within LevelIndex = The index of the level you wish to query within this map |
||
Returns: Height = Height of level in tiles |
||
The GetLevelHeight function will returns the height of a level in tiles. FACTS: * The returned value is in TILES, not pixels. You can compute the number of pixels using the GetLevelAbsWidth & GetLevelAbsHeight functions. 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 | GetLevelABSWidth | ResizeLevel : |
|
|||||||||||||||||||||||||||||||||||||||
(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com |