collision detection please help ..
as7494
Member Posts: 70
Sorry for posting this so many times, however I havent been able to get an answer. I really need to get my actors of the same actor"type" to register individual collisions with another actor to update the score. Ive tried using different actors, creating a rule to change an integer value (+1,-1), however none of these methods worked to successfully change the score as the actors collided with the other actor. Thank you for you help.
Comments
New Game attribute, lets call it - Score.
So as an integer, you now have game.score
You then need your 2 actors, lets call 1 player and the other 1 enemy.
In player, you'll have a rule that says;
When overlap or colliding with enemy
Change attribute game.score to game.score + 1 (use whatever number you want)
You get into the attributes by using the little 'e' symbol which opens up the expression editor.
You'll then want another actor that has a display text behaviour, in this, click the 'e' and select game.score
Hope that helps
Cheers