Page 1 of 1

Infamous Pause Menus

PostPosted: Sat Jan 26, 2008 6:57 pm
by NUTINC
http://game-editor.com/forum/viewtopic.php?f=2&t=3963&st=0&sk=t&sd=a&hilit=pause
On another topic for pause menus I found this code from Fuzzy
Code: Select all
while(Pause == 1)
{
    if (getLastKey() == KEY_p)
    {
    Pause = !Pause;
    }
}


I have a menu that appears when the player press p and everything works but I don't know how to get the buttons on my pause menu to work. The buttons use a mouse button down to do things like use items and open map.
Anyone know how to get the buttons to work? Kodo said that if the needed code is placed in the while part of the code shown that it will work but i am not sure how. :oops:
Please help.

Re: Infamous Pause Menus

PostPosted: Sat Jan 26, 2008 8:04 pm
by makslane

Re: Infamous Pause Menus

PostPosted: Sat Jan 26, 2008 9:26 pm
by NUTINC
thanks Makslane!