Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: poc301 on Mon 31/10/2011 19:39:22

Title: Save / Load GUI causes top of screen to be cut off when done. [RESOLVED]
Post by: poc301 on Mon 31/10/2011 19:39:22
I am working on my entry for the Bake Sale, and I noticed a weird bug..  This is my first attempt using the new AGS (all other games have been in 2.7).

When I use the save or load GUI, which is the default GUI for now, for testing purposes, the game works fine, saves, loads, etc.

Now the problem is when I close the GUI.  Whether I save/load or not, it doesn't matter.  The screen is cut.  The background vanishes about 20-30 pixels or so from the top.  The mouse can still go up over it, and be visible, and my Mouse-To-Top-Of-Screen GUI which is bigger than the black cutoff area still shows up, but only under the area which is now cut off.

I don't have any custom GUIs which would cause it.  It happens on any room I am on.

Screenshot:
(http://www.billandnicole.net/games/problem.png)


Anyone have any ideas?

Thanks,

Bill
Title: Re: Save / Load GUI (default) causes top of screen to be cut off when done.
Post by: Khris on Mon 31/10/2011 20:48:48
The black area is 27 pixels high, which is exactly the height of gIconbar.
Also, if you switch your game's color depth to 32bit, all GUI sprites end up black.

In other words, the black rectangle is the iconbar GUI from the default game. Just turn its visibility to "Normal, initially off".
Title: Re: Save / Load GUI (default) causes top of screen to be cut off when done.
Post by: poc301 on Mon 31/10/2011 23:52:14
Amazing lol, thanks so much.  :)

I can see the blacked out icons on my laptop here.  On my PC I am using to write the game, it looked solid black...

Bill