Tab Style Menus
BlueTronic
Member Posts: 6
I want to have a tab style menu which includes a help section and a controls section. I need to have a background with "Help" and "Controls" button on the side, and when you click one of the buttons, the background is populated by the correstponding group of actors. The controls section will be tweakable, so when the help section is displayed the controls section must not respond to clicks as well as not be visible
Best Answer
-
FallacyStudios Posts: 970If there are actors you want invisible set their Alpha to 0 and when you want them visible again set their Alpha to 1.
Answers
Make an integer like Main Menu. This will be the number of your main menu.
Then put all the buttons or anything that changes that is on the original main menu screen in a Rule (all logic that pertains specifically to that menu screen). The Rule should be when MainMenu = 0 ... then all your logic inside.
Then when they click on the help button while in Main Menu 0 have it turn main menu to 1 (or whatever number you want to have it be). Then if you want to recycle actors that aren't in use that would normally be off the screen simply just put another rule in them for MainMenu = 1.
If you do this... anything that moves will need PositionX and PositionY changed in every main menu option. If the size, image, alpha, or anything else like that changes you will need Change Attributes for those as well so it changes based on which Menu number you are in. Does that make sense?