Alice Community stuck on lab 3

 stuck on lab 3
 tthornton Junior Member   Status: Offline Posts: 5 Join Date: Jan 2015 stuck on lab 3 - 05-01-2015, 05:34 AM I cannot figure out how to do the counter for lab 3 ring catch game. Somebody please help. Last edited by tthornton; 05-01-2015 at 12:47 PM.
 MrMoke Senior Member     Status: Offline Posts: 501 Join Date: Sep 2007 Location: Austin, Texas 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.
 updated
 tthornton Junior Member   Status: Offline Posts: 5 Join Date: Jan 2015 updated - 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
Senior Member

Status: Offline
Posts: 408
Join Date: Oct 2013
Location: Northern Virginia
05-01-2015, 06:08 PM

Here is an example of adding numbers, depending on what kind you are using it will give decimal and integer values.
Attached Files
 Example.a2w (171.0 KB, 6 views)

Stuff + Other Stuff + Different Other Stuff = Things :)

My best Alice game:

Clash of the Cubes (an arena fighting game):

 MrMoke Senior Member     Status: Offline Posts: 501 Join Date: Sep 2007 Location: Austin, Texas 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.
 counter
 tthornton Junior Member   Status: Offline Posts: 5 Join Date: Jan 2015 counter - 05-01-2015, 10:45 PM Thank you for your advice. I think I have it now.

 Thread Tools Display Modes Linear Mode

 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 Rules
 Forum Jump User Control Panel Private Messages Subscriptions Who's Online Search Forums Forums Home Announcements     Community News and Announcements Alice 3     How Do I?     Works In Progress     Share Your World     Share Custom Classes     Bugs and Trouble Shooting     Suggestion Box Alice 2     How do I...?     Works-In-Progress     Share Worlds     Share Objects     Bugs and Troubleshooting     Suggestion Box Educators     Teaching with Alice     Teaching Using Alice 3     Teaching Using Alice 2     CS Principles and Alice     AP CSA and Intro to Java and Alice     Workshops General Discussion     Questions and Comments     The Lounge