Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: rtf on Tue 10/02/2004 04:27:19

Title: Antother Problem. This time it's about a dysfunctional GUI
Post by: rtf on Tue 10/02/2004 04:27:19
I have another problem, but this one puts the others to dust.

I have no GUI on my intro, splash screen, and first room.  Everything works fine.
But as I enter the second room, everything is NOT fine.
When I enter the second room, i made it do that the GUI appears.  Normally that would be good, but in this case it is bad .
When my GUI appears, everything stops.  I can't click my mouse, so I can't walk, I can't do the keyboard, so I can't do Ctl Q to exit, so I am forced to do the abort key.

Somehow I think that this is directly linked to the GUI pooping on and off.

Needless to say, I think that it would be best if I were to get this problem solved.


Thanks,
Me
Title: Re:Antother Problem. This time it's about a dysfunctional GUI
Post by: strazer on Tue 10/02/2004 04:51:05
GUIs that are set to "Popup Modal" will pause the game when activated.
You will need to set your GUI to "Normal" and turn it off in the game_start function.
Title: Re:Antother Problem. This time it's about a dysfunctional GUI
Post by: Ishmael on Tue 10/02/2004 16:03:04
Do you have any while loops in there? Sounds like the game hangs, so it's not about the GUI...
Title: Re:Antother Problem. This time it's about a dysfunctional GUI
Post by: Ben on Tue 10/02/2004 22:17:46
No, Pupup GUIs block all keyboard input, so the game probably isn't hanging. I think Strazer is right.
Title: Re:Antother Problem. This time it's about a dysfunctional GUI
Post by: rtf on Tue 10/02/2004 23:37:40
Quote from: strazer on Tue 10/02/2004 04:51:05
GUIs that are set to "Popup Modal" will pause the game when activated.
You will need to set your GUI to "Normal" and turn it off in the game_start function.

oh, yeah, of course  :-X

I have a reason for this.  I was inserting some code for a popup GUI, whic is what I want to have, but it diddnt work and I forgot to change it back.

silly me