Adding score when hit an actor!
lanto
Member Posts: 31
Hi! I need some help about adding score, when an actor collide with an other actor it will set 1+.... Anyone know how?
I really preciate for response!
I really preciate for response!
Comments
Change attribute (in behaviours)
game.score to game.score+1
-----
You will need to make an attribute called game.score.
Go into the attributes section of the inspector and then press the plus sign.
Then select integer.
Hope this helps you out.
Cheers.
In the actor create a display text rule and select to display game.score
If you don't want the background square of the actor then change its opacity to 0.