PDA

View Full Version : Game Project


btolor
05-01-2016, 04:57 AM
:DThis 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:confused:. Any advice anyone?

MrMoke
05-02-2016, 11: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---->>

btolor
05-02-2016, 05: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.

MrMoke
05-03-2016, 10: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