Struggling with a main menu layout

5 visualizzazioni (ultimi 30 giorni)
Matthew Maher
Matthew Maher il 16 Dic 2017
Commentato: Matthew Maher il 17 Dic 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?

Risposte (2)

Image Analyst
Image Analyst il 16 Dic 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 il 16 Dic 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 Commento
Matthew Maher
Matthew Maher il 17 Dic 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?

Accedi per commentare.

Categorie

Scopri di più su Just for fun in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by