toggle menu
Categories
Discussions
Dashboard
Sign In
·
Register
Sign In
·
Register
Categories
Discussions
Dashboard
Sign In
·
Register
×
Home
›
GameSalad 101
›
Working with GS (Mac)
Score
5Aces
Member
Posts:
6
February 2011
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
StusApps
Member, PRO
Posts:
1,352
February 2011
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.
5Aces
Member
Posts:
6
February 2011
Thanks so much:)
Sign In
or
Register
to comment.
Comments
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.