Infamous Pause Menus
Posted: 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
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.
Please help.
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.
Please help.