Vertical scrolling problem with GUIs [RESOLVED]

Started by Trent R, Mon 27/10/2008 09:09:07

Previous topic - Next topic

Trent R

I have a vertical scrolling room (640x700) in 640x480 resolution, and my character moves around perfectly fine with keypresses and the room scrolls with him.

However, once you press Ctrl-Q or F9 to bring up the related GUIs, the screen gets locked to the top section of the room (where a normal sized room would be). How do I fix this?


~Trent
To give back to the AGS community, I can get you free, full versions of commercial software. Recently, Paint Shop Pro X, and eXPert PDF Pro 6. Please PM me for details.


Current Project: The Wanderer
On Hold: Hero of the Rune

Gilbert

Works okay for me. Can you post the part of codes that bring up the GUI in question?

Trent R

Gah!! I'm an idiot!!
In my global script I have a function that hides my GUI windows (including the aforementioned Quit and Restart) and in there it does a check to set the player as cEgo if it's not. (Cause I have two inventories for the player, so I used that workaround).

However, in this room I have a third character as the player, so it was messing that up completely.

Sorry for the pointless post, but thanks nonetheless Gilbet.
~Trent
To give back to the AGS community, I can get you free, full versions of commercial software. Recently, Paint Shop Pro X, and eXPert PDF Pro 6. Please PM me for details.


Current Project: The Wanderer
On Hold: Hero of the Rune

SMF spam blocked by CleanTalk