Hello world.
I've been developing a game for a couple of months and learning in the process. I should have chosen an easier game to make...
The Forum has been a great source of information. Whenever I got stuck I would come here and search for a thread with a problem similar to mine. Alas, I'm stuck and haven't found one regarding my problem.
I simply want to swap between menus. The layout of my game has all the different menu buttons at the bottom. I've made it working to the point where clicking the buttons shows/hides the assigned menu but I can't figure out how to swap if one menu is already being shown.
This is what happens: Press Character Button > Character Menu shows
then press Items button > Item Menu shows on top of Character.
I want: Press Character Button > Hides all Menus > Character Menu shows
then press Items button > Hides all Menus > Item Menu shows.
I simply need to get rid of any Menus as I click on the Menu Button and create the assigned Menu.
The problem is a lot more simple than it sounds, yet too complicated for me to solve.
Capx to show what where I am.
Thank you.
tl;dr
I want to reset all the menus every time I click on a Menu button THEN show the last clicked button's Menu.
Cheers.