Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: tanstig on Sun 01/06/2008 04:15:29

Title: Problem with background graphics
Post by: tanstig on Sun 01/06/2008 04:15:29
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?
Title: Re: Problem with background graphics
Post by: Gilbert on Sun 01/06/2008 06:43:18
What are the colour depth of the game and that of the background file?
Title: Re: Problem with background graphics
Post by: tanstig on Sun 01/06/2008 13:53:49
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.
Title: Re: Problem with background graphics
Post by: Gilbert on Sun 01/06/2008 14:02:58
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).
Title: Re: Problem with background graphics
Post by: Khris on Sun 01/06/2008 15:50:35
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.
Title: Re: Problem with background graphics
Post by: tanstig on Sun 01/06/2008 21:39:27
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?