Background Colour


if you want a whole map cleared and filled with a certain colour you can use the map_clear command(file, map, colour). In 8 bit mode colour is the palette entry, in 16 bit use the rgb(r,g,b) command do calculate the colour value. The background map is map 0 in file 0 so you would use:

8 Bit:
map_clear(0,0,whiteColourPaletteEntry);

16 Bit:
map_clear(0,0,rgb(255,255,255));
 
Back
Top