GMS 2 How can I change the letterbox color from black with scripts?

L

Lonewolff

Guest
Sorry dude, pretty sure you can't.

Do you really want black bars (or any other colour for that matter) in your game?
 
I just tried changing my black bars to green with the code below, and it works. :)

GML:
if (window_get_colour() != c_green)
{
    window_set_colour(c_green);
}
 

Yal

🍋 *lemon noises*
GMC Elder
You can also draw stuff outside the game region in the Draw GUI event, which makes them show up over the letterboxes when e.g. fullscreened. I do this in my old vertical shmup Road Warriors 2, since it's got a lot of unused space on a landscape monitor.
 
Top