GUI won't display correctly in a 640x480 game.

Started by Squinky, Sat 15/12/2012 03:10:06

Previous topic - Next topic

Squinky

Hey folks, I can't find info on this. But in my game (640x480) the standard GUI will pop up when I hover over it but it shows nothing. I can click around and get various results, and all the boxes that pop up containing buttons have the buttons all greyed out. Oddly, when I hit the escape key to exit the game all those buttons appear just fine.

Any ideas what this is about?

Thanks for any help. 

Khris

Has your game a color depth of 32bit? This will turn all the default sprites black since they're ancient and still 8bit. (The quit GUI is hardcoded, it doesn't use imported sprites).
Either import your own sprites or as a workaround, right-click the sprites in the sprite manager, select "copy to clipboard", then right-click them again and select "overwrite with clipboard". This will re-import them @ 32bit, resolving the display problem.

Squinky

Yes! I went 32 bit for the alpha channels. Thanks a ton!

SMF spam blocked by CleanTalk