[SORTED]Whoa! Freaky colours of Drawingsurface sprites...

Started by Technocrat, Sat 22/05/2010 10:19:56

Previous topic - Next topic

Technocrat

My game started as 16bit. Using different kinds of sprites as tiles, it would draw an entire room as a landscape, and work fine and dandy - it looked like this.



So far, so good. But then, when I upped the colours to 32 bit so I could make some of the characters partially transparent, the landscape started looking like this:



It's only the stuff on the drawingsurface that's come out weird, not just the wrong colours but a little warped too. I tried reimporting the sprites, but that just changed the colour of weird. Does drawingsurface have issues at 32 bit?

abstauber

Do you have a background image imported in your room? It can be black, it just has to be there.

Dualnames

Worked on Strangeland, Primordia, Hob's Barrow, The Cat Lady, Mage's Initiation, Until I Have You, Downfall, Hunie Pop, and every game in the Wadjet Eye Games catalogue (porting)

Technocrat

#3
Quote from: abstauber on Sat 22/05/2010 10:31:39
Do you have a background image imported in your room? It can be black, it just has to be there.

Indeed I do, a big black grid underlies it.


And it may look retro, but I'm trying to go for a NES feel, rather than a Sinclair Spectrum feel!


EDIT: Ah, that got it. The background thing gave me an idea, and so I reimported the background after going to 32 bit, and now the landscape draws correctly on top of it. Thanks for the inspiration!

Gilbert

In the default room template the (black) background is a 8-bit image, and room backgrounds won't be converted even after changing the game to 16- or 24-bit, and any attempt in using Drawing Surface functions on the background would result in corrupted graphics  (I know this because I am making something at the moment and got a lot of this kind of problems).

SMF spam blocked by CleanTalk