 |
| Menu |
Home |
|
Games |
|
Community |
|
Resources |
|
Links |
|
|
 |
 |
 |
 |
UpdatePalette()
Commits the changes you made to the game palette.
The script global variable palette[] stores the state of all the
colours of the palette. You can access the red, green and blue components
with .r, .g and .b. The values range from 0 to 63.
Example:
palette[16].r = 60;
UpdatePalette();
will make the black colour turn bright red. When you actually change the variable, nothing happens. Call this function to update the screen.
See Also: SetPalRGB
|
| User comments and notes | There are currently no user comments on this page. The user comment facility is currently disabled. |
|
|
 |
|