Page 1 of 1

A question about menus

PostPosted: Fri Feb 12, 2010 11:04 pm
by draxido
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 :]

Re: A question about menus

PostPosted: Sat Feb 13, 2010 2:32 am
by Bee-Ant
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.

Re: A question about menus

PostPosted: Sat Feb 13, 2010 2:28 pm
by draxido
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 :]

Re: A question about menus

PostPosted: Sat Feb 13, 2010 3:56 pm
by Hblade
Nice explanation bee :D