Scoring a game
burnout212
Member Posts: 7
hi
im new to game salad
and i was wondering how to add scores for a game based on cricket
...and how to mark where the six points are , where the 4 points is... etc
thanks
im new to game salad
and i was wondering how to add scores for a game based on cricket
...and how to mark where the six points are , where the 4 points is... etc
thanks
Comments
When actor collides with ball
Change attribute game.score to game.score + 4
Actor 6 point zone:
When actor collides with ball
Change attribute game.score to game.score +6
------------------
Alternatively instead of using actors as the detection of the ball colliding as if the pitch is going to be round that could require a lot of actors you could use code monkeys NO ACTOR demo which let's you use the co-ordinates instead of an actor.
Hope this helps