creating a point system

TailGamesTailGames Member Posts: 76
edited July 2012 in Community Tutorials
ok so i need to make a point system from scratch and i need it set up where if you collect this star it only counts once and not 30 or more times, if you decide to replay the level, this is crucial for my game so that i can sumbit it.

kudos to anyone who can help :)




www.twitter.com/TailGames

Answers

  • lukey5227lukey5227 Member Posts: 111
    Its pretty simple!

    We want the player to be able to touch a star and have it add one to the score, right?

    First, we're going to make a new rule in the coin actor saying that when "Actor receives event" "overlaps or collides" with "actor of type" and then here, select your player's actor.

    Inside, make a "Change Attribute" behavior and change the score to score + 1. That means if the score is 4 it will say change Score to 4 + 1 which is 5. Finally, add the destroy behavior. This will make the coin disappear once the user touches it.

    - 5227
Sign In or Register to comment.