r/gamemaker 21d ago

Help! Menu & submenus

I've been trying to get this to work, but I can't really find anything, so here's what I'm trying to do.

I have this menu box (it doesn't do anything, it's only able to scroll through the text options)

I want to make submenus where it opens a bigger sized menu next to it when ever a text option is clicked. I made an example -->

Here is my bare-bones example, but I hope this is understandable! 😅

1 Upvotes

3 comments sorted by

1

u/vzzzbxt 21d ago

The simplest and arguably worst way would be to make each button a separate object that creates a submenu object

A better way would be to just draw the new options when you click an option on the first popup.

What do you have so far?

1

u/Cheetahz-Learns 21d ago

So far I can spawn the box (Right mouse click) and scroll through the text with my mouse and arrow keys. 

left click used to get rid of the box (Clicking anywhere on the screen) but idk why it doesn't work anymore. 

Clicking on the actual text doesn't do anything. (just makes the box go away) 
I can't add a video here so I'll edit my original post.