|
GetMapBlockQuantity | ||
NumberOfBlocks = GetMapBlockQuantity(MapIndex) | ||
Parameters: MapIndex = The index of the map you wish to query |
||
Returns: NumberOfBlocks = The number of blocks this map has defined |
||
The GetMapBlockQuantity function returns the number of blocks this map contains. FACTS: * Depending upon the block format, Maps are either limited to 1023 blocks (Video formatted blocks) or 4096 for FX/AFX formatted blocks * GetMapBlockQuantity and GetMapBlocks() perform the same function. GetMapBlockQuantity exists to uphold the syntax style that used in other command sets. Ie. GetMapQuantity, GetSpriteQuantity', GetImageQuantity etc etc Mini Tutorial: The example creates a MAP and block set, then displays the related information about the created block set.
This example would output.
|
Related Info: | CreateMapGfx | GetMapBlocks | GetMapBlockStatus | LoadMapGfx | MakeMapGfx : |
|
|||||||||||||||||||||||||||||||||||||||
(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com |