Author Topic: Vertical scrolling problem with GUIs [RESOLVED]  (Read 269 times)  Share 

Trent R

  • "I am the weapon" -Richard Cypher
    • I can help with AGS tutoring
    •  
    • I can help with scripting
    •  
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
« Last Edit: 27 Oct 2008, 21:44 by Trent R »
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

Iceboty V7000a

  • Local Moderator
  • * KILL* * KILL * * KILL *
    • Lifetime Achievement Award Winner
    •  
Re: Vertical scrolling problem with GUIs
« Reply #1 on: 27 Oct 2008, 09:26 »
Works okay for me. Can you post the part of codes that bring up the GUI in question?

Trent R

  • "I am the weapon" -Richard Cypher
    • I can help with AGS tutoring
    •  
    • I can help with scripting
    •  
Re: Vertical scrolling problem with GUIs [RESOLVED]
« Reply #2 on: 27 Oct 2008, 17:52 »
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