I'm trying to figure out how to keep score based on how many instances of an object are overlapping another object.
For Each + is overlapped > Add 1 to Score
For Each (Ordered) + is overlapped > Add 1 to Score
Object is overlapping > Toggle Instance Boolean
Compare Boolean > Add 1 to Score
All of these seem to work, except the score just keeps running up every tick once an instance is overlapping instead of just adding one to the current score.
I had this too. You need to put the overlap check as a sub-event to something else. In mine, the user presses an OK button, and a sub-event to that is the overlap check.
Develop games in your browser. Powerful, performant & highly capable.
Thanks for the response! This seems much more logical.
It's somewhat inconsistent in it's count for some reason. Does this look right to you?
<img src="http://i.imgur.com/Tc4kJ.jpg" border="0" />