Scoring a game

burnout212burnout212 Member Posts: 7
edited November -1 in Working with GS (Mac)
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

Comments

  • DimensionGamesDimensionGames PRO Posts: 993
    Actor: 4 point zone

    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 :)
Sign In or Register to comment.