Alice Community

Alice Community (
-   The Lounge (
-   -   stuck on lab 3 (

tthornton 05-01-2015 05:34 AM

stuck on lab 3
I cannot figure out how to do the counter for lab 3 ring catch game. Somebody please help.

MrMoke 05-01-2015 08:54 AM

I'm guessing that you studied something called collision detection in that chapter, so the simple solution would be to add one to your counter if the ring is within a certain distance of the cone when it lands. I guess the distance would be up to you, as well as the speed of the drop.;)

tthornton 05-01-2015 12:45 PM

so I updated the ring's proximity to the cone but how do I get the actual 3D-Text to change from 1 to 10?

RavenOfCode 05-01-2015 06:08 PM

1 Attachment(s)
Here is an example of adding numbers, depending on what kind you are using it will give decimal and integer values.

MrMoke 05-01-2015 07:59 PM

The answer involves converting the counter to a text string because that's what goes into a 3DText. There is a world function called "(what) as a sting" that you can drag in, and then replace (what) with the name of your counter.

tthornton 05-01-2015 10:45 PM

Thank you for your advice. I think I have it now. :)

All times are GMT -5. The time now is 08:42 PM.

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