Alice Community  

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

Reply
 
Thread Tools Display Modes
Please Help! Keeping Score with multiple items
Old
micaelayars
Junior Member
 
Status: Offline
Posts: 2
Join Date: Dec 2013
Location: Vineland
Question Please Help! Keeping Score with multiple items - 12-08-2013, 07:08 PM

Hello everyone. Basically I am making a game where A plane flies through multiple circles and keeps score based on which/how many rings you fly through. My problem is that I cannot figure out how to keep score for multiple items. I want the score to go up once when i fly through a ring and then go up again when I fly through another. I hope I explained well enough and I really appreciate any help that is offered. Thank you in advance!
   
Reply With Quote
Lot's of Possibilities
Old
MrMoke
Senior Member
 
MrMoke's Avatar
 
Status: Offline
Posts: 500
Join Date: Sep 2007
Location: Austin, Texas
Default Lot's of Possibilities - 12-09-2013, 01:29 PM

First of all you need to create either an object array or list, and add your ring objects. Then add an event to an infinite method that checks for distance to items in the list.
Things to Consider:
1. If you stop at ground zero of a specific object, will the counter skyrocket or wait until you leave the object before allowing another pop for that object?
2. Is each object counted and displayed separately, or as one total count?
3. Is there a countdown timer, or is the game infinite length?
   
Reply With Quote
Old
micaelayars
Junior Member
 
Status: Offline
Posts: 2
Join Date: Dec 2013
Location: Vineland
Default 12-09-2013, 02:20 PM

Quote:
Originally Posted by MrMoke View Post
First of all you need to create either an object array or list, and add your ring objects. Then add an event to an infinite method that checks for distance to items in the list.
Things to Consider:
1. If you stop at ground zero of a specific object, will the counter skyrocket or wait until you leave the object before allowing another pop for that object?
2. Is each object counted and displayed separately, or as one total count?
3. Is there a countdown timer, or is the game infinite length?
Thank you very much. I was able to get it to work well enough for this project . Thank you!
   
Reply With Quote
Reply

Tags
game, keeping score, multiple objects, plane

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.