The Daily Click ::. Forums ::. Klik Coding Help ::. Game menu
 

Post Reply  Post Oekaki 
 

Posted By Message

hishnak



Registered
  18/04/2004
Points
  994
24th August, 2004 at 17:15:26 -

I'm a newbie and I'm trying to make a game menu with three options.
Start,Story and Controls. I have a selector which stops beside each option as you press down and up. The problem I'm having is that when you press down on the top option it skips to the bottom and when on the bottom option and pressing up it skips to the top. I need ideas of how to make it stop on the middle option.

 
I'm feeling a bit wella

AndyUK

Mascot Maniac

Registered
  01/08/2002
Points
  14456

Game of the Week WinnerSecond GOTW AwardHas Donated, Thank You!VIP Member
24th August, 2004 at 17:55:44 -

its quite easy really

if the pointer is a seperate object just make it move a certain amount of pixels up or down depending on what is pressed.

you may need to use a counter or alterable value to stop the pointer if you keep pressing up or down.

 
.

ChrisB

Crazy?

Registered
  16/08/2002
Points
  5457
24th August, 2004 at 18:06:16 -

How are you doing it? The easiest way would be:

Up is pressed
(Counter) : Subtract 1 from value

Down is pressed
(Counter) : Add 1 to value

Counter = 1
[highlight first option]

Counter = 2
[highlight second option...]

 
n/a

Dr. James MD

Addict

Registered
  08/12/2003
Points
  11941

First GOTW AwardSecond GOTW AwardThird GOTW AwardPicture Me This -Round 26- Winner!
24th August, 2004 at 19:20:29 -

...then

Counter less than 0, set counter to whatever the highest value is (in your case 2)
Counter greater than 2, set counter to 1.

for a nice loopy effect.

 
Image
http://uk.youtube.com/watch?v=j--8iXVv2_U
On the sixth day God created Manchester
"You gotta get that sand out your vaj!" x13
www.bossbaddie.com
   

Post Reply



 



Advertisement

Worth A Click