|
GetMapMaskColour | ||
RgbColour = GetMapMaskColour(MapIndex) | ||
Parameters: MapIndex = The index of the map you wish to query |
||
Returns: RgbColour= The blocks transparent colour in RGB format |
||
The GetMapMaskColour function returns the block sets RGB mask colour (the transparent colour) from a selected map. FACTS: * The colour is returned in RGB format, use the RGBR, RGBG & RGBB functions to caluclate the R,G,B levels if need be 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 | GetMapBlockStatus | LoadMapGfx | MakeMapGfx : |
|
|||||||||||||||||||||||||||||||||||||||
(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com |