
05-07-2012, 01:33 AM
I found a couple of errors in your code that are easy to fix in the "my first method" tab you have it play the music infinite times before checking for collision.
You need a "do together" command so they both work at the same time.
In addition you also need a loop infinite around the check for collision so that it constantly checks for collision.
Your collision detection is also a bit sketchy i wasn't really sure what you were trying but what I did was create a method that had an if else statement that looks like this
-DO TOGETHER
--IF [[helicopter distance to [torus]] < 1]
---Score Increment
Then create that same if/else statement inside that do together for each torus
If you want to see the code i came up with let me know
|