Problem with background graphics

Started by tanstig, Sun 01/06/2008 04:15:29

Previous topic - Next topic

tanstig

I'm going through the tutorial and I'm using one of the backgrounds download from the downloads page.  When I run the game to test it, the background shows up mostly black with a pixeled outline of the background and it continuously flashes like a strobe light.  Am I missing something in the tutorial or are others having issues with this?

Gilbert

What are the colour depth of the game and that of the background file?

tanstig

The background is 16 bit.  I notice that the char doesn't flash and I can walk him around the walkable areas but that the background flashes?  I've tried using another background which is supposed to be 256 colors but I'm not sure if I'm doing this right.

Gilbert

If your background is 16bit+, make sure that your game is setup to use 16 or 32bit colours.
Also, try converting the background to 24/32 bit first. As importing a 16bit background is not gauranteed to work (even if the game is set at 16bit colours).

Khris

Make sure you didn't accidentally turn on background animation by having imported more than one room background (frame).
In the room settings, where it says "Background to display", open the drop-down menu and check if there's a second entry. Select and delete it.

tanstig

That was it.  It was importing a new background so I had the main and then background 1.  I created a 256 color background and used the 8bit version and it didn't freak out with pixels.  Thanks for the help.  I'll keep working through the tutorial and now see if I can figure out when I would import a new background instead of using the main for a room.  Maybe scripting?

SMF spam blocked by CleanTalk