Struggling with a main menu layout

5 views (last 30 days)
Matthew Maher
Matthew Maher on 16 Dec 2017
Commented: Matthew Maher on 17 Dec 2017
I'm creating a game with three different games within it, using GUI, what's the best way to lay this out, i've looked into using multiple tabs but it seems tough. What's the best way to navigate from a main menu to other pages?

Answers (2)

Image Analyst
Image Analyst on 16 Dec 2017
Personally I'd probably just have a simple script that calls questdlg() and asks them which game to run, then launch one of the 3 fully independent GUIs. I think that would be easier than trying to put all GUI's on the same GUi with tabs, panels, or whatever.

Jan
Jan on 16 Dec 2017
It depends on how it should look like. Tabs are a good idea and they are not such tough. Another idea would be to create 3 different GUIs and simply switch from one to the other. But to be true, I have never seen 3 games in 1 GUI yet. Are you sure that this is a good idea?
  1 Comment
Matthew Maher
Matthew Maher on 17 Dec 2017
I'm not sure honestly, I am very new to coding and am making this for a project. The plan is to have a blackjack, roulette and slots game, and i'm trying to think of the best way to lay it out. Would you recommend using separate GUIs and then a main menu that calls each one?

Sign in to comment.

Categories

Find more on Just for fun in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!