![]() ![]() ![]() |
|
ResizeLevel | ||
ResizeLevel MapIndex, LevelIndex, Width, Height | ||
Parameters: MapIndex = The Index Identifier of the Map you wish to alter this level within. LevelIndex = The index of the level you wish to resize. Width = The new width of the level in tiles Height = The new Height of the level in tiles |
||
Returns: NONE | ||
Resizelevel will resize an existing created a level without destroying it's contents. FACTS: * Levels can not be drawn until the maps graphics tiles have been loaded/created. * The Level Width parameter is in TILES not pixels. * The Level Height parameter is in TILES not pixels. Mini Tutorial: This example shows how to first create a Map & Level, then resize it. While displaying the size information about this level before and after the resize.
This example would output.
|
Related Info: | CloneLevel | CopyLevel | CreateLevel | CreateMap | DeleteLevel | GetLevelStatus : |
|
|||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() ![]() ![]() |
(c) Copyright 2002 - 2025 - Kevin Picone - PlayBASIC.com |