Hi, as proposed
here it's now possible to change the color of the background. The background basically persists out of a tile frame that's drawn over and over again. Unfortunately it's a bit less simple, as there are some special cases due to elevated coast lines. As a result you have to provide 3 frames to override the background:

- frames_explain.png (1.95 KiB) Viewed 2336 times
Frames b and c are used to draw the background above water at the edges. This is crucial as ocean is drawn everywhere and has to be overdrawn at the correct positions.
The the used original frames look like:

- frames_orig.png (408 Bytes) Viewed 2336 times
This sample replaces the background with a black one:

- frames.png (381 Bytes) Viewed 2336 times
For your own background, just recolor this image
The code to override the background looks like:
Code: Select all
[
{
"override":true,
"id":"$anim_blank00",
"type":"animation",
"frames":[
{"bmp":"frames.png","w":32,"h":16,"handle y":8},
{"bmp":"frames.png","x":32,"w":16,"h":16,"handle y":8},
{"bmp":"frames.png","x":48,"w":16,"h":16,"handle x":-16,"handle y":8}
]
}
]
As you might notice it is also responsible for setting the handles properly. I recommend to just reuse this code instead of writing it on your own.