Struggling with a main menu layout

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?

Réponses (2)

Image Analyst
Image Analyst le 16 Déc 2017

1 vote

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 le 16 Déc 2017

0 votes

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 commentaire

Matthew Maher
Matthew Maher le 17 Déc 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?

Connectez-vous pour commenter.

Catégories

En savoir plus sur Number games dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by