1
$\begingroup$

I want to make a button that when clicked opens up a popup menu, say like an options menu or something. After the button is clicked to open the popup menu I want to be able to click something in the popup menu.

How can this be done?

$\endgroup$
1
$\begingroup$

Have your first button in the game trigger a new object (lets call it menu2) to be added to the game, or play a animation to move menu2 on screen. Then on menu2 have several other objects parented to the menu, each with logic set up like in this question.

In the blend file you will find the object menu2 has a animation to move it in to view. That animation is triggered by the first button (a cube). The trick to playing the animation is to have the Action Actuator on the menu. The logic bricks look like this.
logic bricks
So every time there is a click on the cube it triggers the animation to play on the menu. You can have logic bricks go between objects, just select both objects and they will show up on the logic brick editor.

BGE menu demo blend file.

$\endgroup$
  • $\begingroup$ hey im sorry to say this but how do i trigger an object? $\endgroup$ – sketcherskt Dec 18 '14 at 2:36
  • $\begingroup$ @sketcherskt look through the logic bricks in the blend file, let me know if you need more help with something. $\endgroup$ – David Dec 18 '14 at 2:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.