2 registered members (AndrewAMD, ozgur),
1,415
guests, and 7
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: Buttons not reacting
[Re: halfpint]
#213330
06/27/08 05:16
06/27/08 05:16
|
Joined: Oct 2004
Posts: 1,655
testDummy
Serious User
|
Serious User
Joined: Oct 2004
Posts: 1,655
|
Quoting BOK. (the background doesn't take up the whole screen in the pause panel though) 1. make sure version supports selected resolution 2. try setting main menu image to image of same size as pause menu 3. check mouse mode 4. change declared flags for panel
|
|
|
Re: Buttons not reacting
[Re: halfpint]
#213331
06/27/08 05:17
06/27/08 05:17
|
Joined: Apr 2004
Posts: 23
BOK
OP
Newbie
|
OP
Newbie
Joined: Apr 2004
Posts: 23
|
Sorry if I was vague. There's just not much more to it- the buttons don't work. They won't change their bitmaps or execute functions on hover or click. Here's the code for the main menu panel with a single button: panel main_menu{
pos_x=0;
pos_y=0;
bmap=mainmenuback;
alpha=0; //will be faded in later
layer=950;
button(400,400,button_start,button_start,button_start2,init_level,null,null);
flags=refresh,translucent;
} That's basically it, I think. If there's any other code you think would be helpful to see, let me know. Thanks. EDIT: That's it! It was the mouse mode. I set the mouse mode in the init_level function, which would be executed by the start button in the menu. Thanks, testDummy! I was pulling my hair out for over an hour trying to solve this... I knew it was going to be something stupid on my part
Last edited by BOK; 06/27/08 05:26.
|
|
|
Re: Buttons not reacting
[Re: xbox]
#213540
06/28/08 19:42
06/28/08 19:42
|
Joined: Nov 2007
Posts: 1,143 United Kingdom
DJBMASTER
Serious User
|
Serious User
Joined: Nov 2007
Posts: 1,143
United Kingdom
|
xbox are you trying to fade the panel or create like a black fade in to different menus etc. I built one like this ages ago...i'll try and find it...
Last edited by DJBMASTER; 06/28/08 19:42.
|
|
|
|