Title Screen Choices

Non-platform specific questions.

Title Screen Choices

Postby Super Pieman » Sat Nov 03, 2007 3:37 pm

I have started making a game and I have a Title Screen with 2 choices; either play game or see instructions. You move between the two using the arrow keys and press enter to choose. It works exept when I press enter for the game it still shows the Instructions. What do I do? I do not want any use of the mouse in this game.
Current Projects:
*Lonely (2%)
**LinkSys (1%)

*To be made in GE, then ported to DS.
**To be made for the DS.
User avatar
Super Pieman
 
Posts: 57
Joined: Sat Nov 03, 2007 3:27 pm
Location: Manotick (Ontario, Canada)
Score: 2 Give a positive score

Re: Title Screen Choices

Postby Bee-Ant » Tue Nov 06, 2007 11:45 am

make variables called MENU

On Menu 1 DrawActor>ScriptEditor>
Code: Select all
if(MENU==0)
{
    r=256;
    g=0;
    b=0;
}
else
{
    r=256;
    g=256;
    b=256;
}
if(MENU<0)
{
    MENU=1;
}
if(MENU>1)
{
    MENU=0;
}


Keydown Event of Menu 1>DownArrow>ScriptEditor>
Code: Select all
MENU++;

Keydown Event of Menu 1>UpArrow>ScriptEditor>
Code: Select all
MENU--;

Keydown Event of Menu 1>Return>ScriptEditor>
Code: Select all
if(MENU==0)
{
    //your first menu
}
if(MENU==1)
{
    //your second menu
}


DrawActor of Menu 2>ScriptEditor>
Code: Select all
if(MENU==1)
{
    r=256;
    g=0;
    b=0;
}
else
{
    r=256;
    g=256;
    b=256;
}
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: Title Screen Choices

Postby Bee-Ant » Tue Nov 06, 2007 2:33 pm

If you still confused, i'll make a demo...or email me beeant_darkboy@yahoo.co.id
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


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest

cron