After I stopped playing with mode 8 I decided to try working with the "vanilla" (as in, the recommended mode for someone who is new to uzebox), AKA mode 3. So I made a mockup on aseprite (pixel art software) using uzebox's palette knowing full well implementing a scene like that would require some serious tweaking, but I went ahead anyway because the idea is to start with a full ambitious scene and start to trim it down until it fits.
Here is the initial mockup (pixel deformed because of the aspect ratio)
As expected there are too many unique tiles in there but that's ok. It's a mockup and from that the next step would be to reproduce it using premade tiles and the characters would be sprites.
But I still wanted to make this scene fit so I started to paint entire regions of solid colors and crop the scene a little more until the number of unique tiles got small enough. But here's the thing, until now every time I compiled the code would complaint about overflow with warnings
Code: Select all
warning: overflow in implicit constant conversion [-Woverflow]
I have no idea what limit is being broken here. Number of tiles on screen or number of unique tiles on this map?
So that was a question. Now a comment: I think 256 colors is way more than I will ever need with my pixely doodlings, so maybe I should check out mode 13, since it is similar to 3 but with a paletted mode. Hopefully there is something to gain when trading color freedom, right?