Alice Community  

Go Back   Alice Community > General Discussion > The Lounge

Reply
 
Thread Tools Display Modes
Game Project
Old
btolor
Junior Member
 
Status: Offline
Posts: 13
Join Date: Jan 2016
Question Game Project - 05-01-2016, 03:57 AM

This is my game project i created for my intro programming class. It came out pretty good but I cant figure out how to make the music stop at the right time. Any advice anyone?
Attached Files
File Type: a2w Game Project-BT.a2w (6.08 MB, 18 views)
   
Reply With Quote
Old
MrMoke
Senior Member
 
MrMoke's Avatar
 
Status: Offline
Posts: 501
Join Date: Sep 2007
Location: Austin, Texas
Default 05-02-2016, 10:10 AM

The main problem is most likely the length of the tune. Once it has been started, it will continue until the end. So, if you finish the game a few seconds after it restarts, then 8 more minutes---->>

Last edited by MrMoke; 05-02-2016 at 10:25 AM.
   
Reply With Quote
lab 4 help
Old
btolor
Junior Member
 
Status: Offline
Posts: 13
Join Date: Jan 2016
Question lab 4 help - 05-02-2016, 04:42 PM

Mr. Moke I am trying to figure out how to make my counters for rings missed and caught work. I have tried a few different things with no success. I was wondering if you or anyone reading this could look at what i have done and share any advice or ideas on how to properly fix my counters.
Attached Files
File Type: a2w new lab.a2w (2.86 MB, 17 views)
   
Reply With Quote
Old
MrMoke
Senior Member
 
MrMoke's Avatar
 
Status: Offline
Posts: 501
Join Date: Sep 2007
Location: Austin, Texas
Default 05-03-2016, 09:56 AM

As your professor has mentioned, you may not be using arrays properly. A review of reading materials that cover the use of Loops will reveal that rather than using specific number such as "1" or "2", you can instead use the loop variable for your testing
Example:
Play attached
Attached Files
File Type: a2w RingLoopy.a2w (204.4 KB, 3 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.