Score

5Aces5Aces Member Posts: 6
edited November -1 in Working with GS (Mac)
does anyone know how to get a score count like every second my character gets 5 points so that the score will keep going up like a stopwatch

Comments

  • StusAppsStusApps Member, PRO Posts: 1,352
    Create an integer game attribute called score. Then in an actor on screen add a timer set to every 1 second:

    Inside the time put:

    Change attribute: game.score to game.score+5

    The score will then increase by 5 every second. Use a display text with game.score in it to show the score.
  • 5Aces5Aces Member Posts: 6
    Thanks so much:)
Sign In or Register to comment.