A question about menus

Non-platform specific questions.

A question about menus

Postby draxido » Fri Feb 12, 2010 11:04 pm

Hey, me again.
Im having some trouble understanding what is needed to set up a working menu system.
I took a look at a demo for a menu, but i still dont get what you're supposed to do.

Is there a step by step tutorial for this or could someone explain it for me?

Also.. I know this next question is going to seem redundant, but i understand GE has a multiplayer ability, Is it able to do split screen?


Thanks again :]
draxido
 
Posts: 18
Joined: Mon Feb 01, 2010 7:36 pm
Score: 0 Give a positive score

Re: A question about menus

Postby Bee-Ant » Sat Feb 13, 2010 2:32 am

Menus :
1. Make an integer variable "menuindex"
2. Make a text actor, type the menu text, for instance :
LOAD GAME
NEW GAME
OPTION
EXIT
3. Make a pointer actor. Make its animation to fit the height of the text. And put it straight the LOAD GAME
4. Pointer-Keydown-Down-ScriptEditor :
menuindex+=1;
y+=20;
5. Pointer-Keydown-Up-ScriptEditor :
menuindex-=1;
y-=20;
6. Pointer-Keydown-Enter-ScriptEditor :
if(menuindex==0)
{
//load game here
}
if(menuindex==1)
{
//new game here
}
if(menuindex==2)
{
//option here
}
if(menuindex==3)
{
//exit here
}


Split Screen :
Yes, its able. But dont talk about splitscreen if you dont even know about menus. Really, its super complicated.
User avatar
Bee-Ant
 
Posts: 3723
Joined: Wed Apr 11, 2007 12:05 pm
Location: http://www.instagram.com/bee_ant
Score: 210 Give a positive score

Re: A question about menus

Postby draxido » Sat Feb 13, 2010 2:28 pm

Thanks for the reply, im going to give it a go now.

And about the split screen thing, I was just curious as to if it could be done, I know im not anywhere near good enough to attempt it yet :]
draxido
 
Posts: 18
Joined: Mon Feb 01, 2010 7:36 pm
Score: 0 Give a positive score

Re: A question about menus

Postby Hblade » Sat Feb 13, 2010 3:56 pm

Nice explanation bee :D
Subscribe to my YouTube? - Yes| No
User avatar
Hblade
 
Posts: 4455
Joined: Fri Dec 08, 2006 11:14 pm
Score: 181 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest

cron