how can I limit my character on gaining score to 1x only as it jumps to a sprite that is jump through.
and how to do the text score that increments fast instead of changing automatically. for example, as the player jumps it gets 50 pts. of score then the text from 0 increments fast up to 50 instead of 0 to 50 without inrementing.
You want to simulate the growing of your score so you need variables
score = points in my example (It keeps the actual score, than you add 1 to it every X seconds)
newPoints = a variable to help you let the score growing, it just saves how much you need to add over time to the players score.
For your first problem: -> Do you try to make achievements ? If yes trigger once is the false condition. If yes you need a small achievement system, with an array or something else. If you want I can explain it you a bit more.
Sry for the bad english, need some coffee :DDarklinki2013-05-14 09:22:09