Struggling with a main menu layout

조회 수: 5 (최근 30일)
Matthew Maher
Matthew Maher 2017년 12월 16일
댓글: Matthew Maher 2017년 12월 17일
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?

답변 (2개)

Image Analyst
Image Analyst 2017년 12월 16일
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.
  댓글 수: 1
Matthew Maher
Matthew Maher 2017년 12월 17일
Ok, i'll give this a go thanks.

댓글을 달려면 로그인하십시오.


Jan
Jan 2017년 12월 16일
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
Matthew Maher
Matthew Maher 2017년 12월 17일
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?

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Just for fun에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by