Antother Problem. This time it's about a dysfunctional GUI

Started by rtf, Tue 10/02/2004 04:27:19

Previous topic - Next topic

rtf

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
I fail at art.

strazer

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.

Ishmael

Do you have any while loops in there? Sounds like the game hangs, so it's not about the GUI...
I used to make games but then I took an IRC in the knee.

<Calin> Ishmael looks awesome all the time
\( Ö)/ ¬(Ö ) | Ja minähän en keskellä kirkasta päivää lähden minnekään juoksentelemaan ilman housuja.

Ben

No, Pupup GUIs block all keyboard input, so the game probably isn't hanging. I think Strazer is right.

rtf

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
I fail at art.

SMF spam blocked by CleanTalk