Alice Community  

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

Reply
 
Thread Tools Display Modes
Ring Toss
Old
meelabean
Junior Member
 
Status: Offline
Posts: 8
Join Date: Sep 2011
Location: meela78@yahoo.com
Default Ring Toss - 11-07-2011, 06:53 AM

I am having the hardest time figuring out how to track which rings are caught and which ones aren't (chapter 4, exercise 4.9). Any suggestions would be much appreciated. Thanks!
   
Reply With Quote
Function
Old
Centuri0n
Member
 
Centuri0n's Avatar
 
Status: Offline
Posts: 44
Join Date: Oct 2011
Location: In a box with free wifi
Question Function - 11-07-2011, 09:21 PM

Have you tried using a function to measure the rings distance to the target?


Current Project: NEW ERA
Approx. Completion: 15%
Starting date: 7/12/2012
ETA: 8/3/2012

http://sylentknightgamedesign.weebly.com/
   
Reply With Quote
Re: Function
Old
meelabean
Junior Member
 
Status: Offline
Posts: 8
Join Date: Sep 2011
Location: meela78@yahoo.com
Default Re: Function - 11-08-2011, 08:46 PM

Quote:
Originally Posted by Centuri0n View Post
Have you tried using a function to measure the rings distance to the target?
Yes, I think I have it framed right, but I am missing a step. I have tried every function possible, but it is still not registering when the ring "misses" the cone. I have attached the program, I just need to figure out what step I am missing. Any suggestion are appreciated. Thanks for taking the time to reply!
Attached Files
File Type: a2w lab3.a2w (199.1 KB, 15 views)
   
Reply With Quote
Old
agoldman
Guest
 
Status:
Posts: n/a
Default 11-20-2011, 12:13 PM

is this what you wanted?
Attached Files
File Type: a2w lab3.a2w (187.9 KB, 25 views)
   
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 ©2020, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.