Alice Community  

Go Back   Alice Community > Alice 2 > How do I...?

Reply
 
Thread Tools Display Modes
How to make the ring catching game
Old
keke62809
Guest
 
Status:
Posts: n/a
Arrow How to make the ring catching game - 04-21-2010, 04:15 PM

I completed the events part of making it I jus need help putting a timer for when you catch the ring and making the ring drop and reset if anybody can help me I would be very thankful.
   
Reply With Quote
Old
Niteshifter
Guest
 
Status:
Posts: n/a
Default 04-21-2010, 06:15 PM

First, make two global variables. One is a number and the other as a boolean. Next, have a method with a while statement with the condition "while not break", this will make it easier to pause and resume the timer. Inside the while will wait 1 second and then add 1 to the timer.

Next, you make an event that will check if the ring has been caught and inside the body will be something that sets the timer number to 0.

You can also put beside each piece that changes the timer variable to set some 3D text to the number that's in the timer variable.
   
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Copyright ©2017, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.