Menus

Is there a way to make it so that when you click a button on the UI, a menu appears? thanks.

1 Like

Yes, have you made the button and the menu?

1 Like

yes i have

1 Like

Alright, how do you want the menu to appear? Also could you provide a link

2 Likes

I want the menu to appear around the player
http://flowlab.io/game/play/1397359

1 Like

make a object in user interface and use alpha function in it.

@Mainfunctestalbois Wouldnt you still be able to click it tho? Since its just invisible

That is true, but I think it be better to move it off screen and the UI will keep it off screen and also separates it from the game objects. If you use it in the game world, then you probably want to spawn and delete.

If you use the UI, you can keep it off screen, I’ve made both examples Below.
Also I have an example that uses the similar math for UI objects and behaviors:
https://flowlab.io/game/play/1388657

If you use the game layer and spawns:
2020.04.15-16.32

If you use the UI Layer:
2020.04.15-16.30

2020.04.15-16.23

Thanks mate, for sharing these examples.

1 Like

check the cannon building menu. maybe it’s helpful

1 Like

This is 3 years old…

1 Like

Appreciate your effort in providing these illustrative instances. Your contribution is truly valued.

2 Likes

Hi, it’s typically best to not post on such an old post. This hasn’t been activate in nearly 4 years (8 months ago doesn’t really count, shouldn’t have been revived then).

Bringing back these dead topics pushes down more relevant problems, so it’s best to either create your own topic if you have a question or just read and not comment on it.

5 Likes

I’m not sure how much the forums can be programmed (since it’s a forum base used by dozens of others) but I feel like there should be some kind of way to make a topic not pushed to recent if a comment is left after a 1.5 year gap or longer, that isn’t made by the OP. that way people could still show others appreciation.

2 Likes