Infamous Pause Menus

Talk about making games.

Infamous Pause Menus

Postby NUTINC » Sat Jan 26, 2008 6:57 pm

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.
To those of you out there, I am not dead. I am a ghost! There is a difference!
Currently Working on: Parts, A self-assembling adventure
User avatar
NUTINC
 
Posts: 98
Joined: Fri Feb 09, 2007 1:06 am
Location: Lost in the deep dark recesses of my mind, wondering why the exit sign leads to brick wall
Score: 6 Give a positive score

Re: Infamous Pause Menus

Postby makslane » Sat Jan 26, 2008 8:04 pm

Game Editor is an open source game creator software that's wants to pay it's developers to keep evolving.
If you like Game Editor, make a review!
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score

Re: Infamous Pause Menus

Postby NUTINC » Sat Jan 26, 2008 9:26 pm

thanks Makslane!
To those of you out there, I am not dead. I am a ghost! There is a difference!
Currently Working on: Parts, A self-assembling adventure
User avatar
NUTINC
 
Posts: 98
Joined: Fri Feb 09, 2007 1:06 am
Location: Lost in the deep dark recesses of my mind, wondering why the exit sign leads to brick wall
Score: 6 Give a positive score


Return to Game Development

Who is online

Users browsing this forum: No registered users and 1 guest

cron