Alice Community  

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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Help resetting torus position in ring toss, catch game.
Old
todd0312
Member
 
todd0312's Avatar
 
Status: Offline
Posts: 35
Join Date: Sep 2011
Exclamation Help resetting torus position in ring toss, catch game. - 11-05-2011, 01:54 PM

I have the following project:

Create a ring catching game using a torus and cone created from the Shapes gallery. The ring should fall from the sky while the user moves the cone along the ground with the mouse. The user’s objective is to catch the ring with the cone. Following each attempt, reset the ring’s position. Stop when the user has caught 10 rings.

Just to test it, I have my cone set up directly below the torus. When it falls from the sky and lands w/i a certain distance of another cone (placed inside the first), both torus and cone change color, and the counter at the top (Rings Caught) sets to one.

Theoretically, rings should keep falling from the sky from different positions, but I can't figure out how to "reset the ring's position."

The problem I have is resetting the rings positions so that if falls from a different position each time. It is fairly difficult to catch the rings, and I don't want to have 50 rings hanging in the sky ready to drop from different positions.

Can I set it up so the one torus rises after landing switches position (right, left, fwd, bwd) randomly? I am completely lost on how to set this up. I have attached my lame little program - any help - Greatly, Greatly appreciated.

Confucius says: take pity on the noob.

Thanks.
Attached Files
File Type: a2w Lab3.a2w (162.8 KB, 48 views)
   
Reply With Quote
 


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 ©2024, Carnegie Mellon University
Alice 2.x © 1999-2012, Alice 3.x © 2008-2012, Carnegie Mellon University. All rights reserved.