Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: SilverSpook on Fri 17/04/2015 12:17:16

Title: Icon Bar Messed Up
Post by: SilverSpook on Fri 17/04/2015 12:17:16
I'm not sure when it happened but it seems my GUI Icon Bar (The walk, take, speak, look, etc.. buttons) at the top has gotten messed up, like the sprites are all garbled and a weird pink color.  Only thing I can think of is I recently changed to 32 bit true color and I tried changing from LucasArts speech style to Sierra.  Any idea what might've happened?

(Also had trouble screenshotting, when I try to paste the capture into Paint I just get a black box.)
Title: Re: Icon Bar Messed Up
Post by: Crimson Wizard on Fri 17/04/2015 12:31:23
This is a very well known error, which was asked about numerous times on these forums.

These icons are originally 8-bit images, and they cannot be displayed correctly in a 32-bit game.
Title: Re: Icon Bar Messed Up
Post by: Monsieur OUXX on Fri 17/04/2015 12:39:00
Quote from: Crimson Wizard on Fri 17/04/2015 12:31:23
These icons are originally 8-bit images, and they cannot be displayed correctly in a 32-bit game.
+1
Solution: export the sprite, then re-import the exact same file that you just exported over the same sprite slot. Problem solved.
Title: Re: Icon Bar Messed Up
Post by: Crimson Wizard on Fri 17/04/2015 13:11:19
Well, proper solution is to fix the game template, I think. Someone should do this...
Title: Re: Icon Bar Messed Up
Post by: Monsieur OUXX on Fri 17/04/2015 16:50:37
Quote from: Crimson Wizard on Fri 17/04/2015 13:11:19
Well, proper solution is to fix the game template, I think. Someone should do this...

I can do that.
So, 32-bits / D3D9 game by default?
Title: Re: Icon Bar Messed Up
Post by: monkey0506 on Fri 17/04/2015 17:15:41
I really think those should be the default settings by now. Most modern computers really aren't (properly) compatible with the other modes.

Oh, and as for exporting the files, some of the cursor images I know have a black border but the exported image has a black background. These will need to be corrected by hand to be reimported.
Title: Re: Icon Bar Messed Up
Post by: Monsieur OUXX on Fri 17/04/2015 17:59:51
Quote from: monkey_05_06 on Fri 17/04/2015 17:15:41
some of the cursor images I know have a black border but the exported image has a black background. These will need to be corrected by hand to be reimported.
I'll have a look.

By the way, how about a little freshening up of the template's graphics? The topic was around recently. I'm not changing Roger, but I could update a few things (icons, etc.). I could also add a few fonts from the SCI fonts of the AGS wiki. I'll first make sure they have accented characters.
Title: Re: Icon Bar Messed Up
Post by: SilverSpook on Fri 17/04/2015 23:49:07
Ok I'll do the export / reimport for now; thanks guys for the assistance!