Timer counting up for score (longer distance, higher score)
williamtyleradair
Member Posts: 12
Hey all,
SO I hope someone out there can help me. In one of @tshirtbooth 's videos, he explained custom fonts and scorekeeping. Like in his video, I now have 10 custom PNG files for every number 0-9. Basically, I want to simulate distance traveled with these numbers. My character is constantly moving forward, so every 0.5 seconds or so, I want the ticker to count up 1 digit. The further you get, the higher the number, until you get hit and die. Anybody know how I could accomplish this? Any help is greatly appreciated!!
Thanks in advance,
Tyler
SO I hope someone out there can help me. In one of @tshirtbooth 's videos, he explained custom fonts and scorekeeping. Like in his video, I now have 10 custom PNG files for every number 0-9. Basically, I want to simulate distance traveled with these numbers. My character is constantly moving forward, so every 0.5 seconds or so, I want the ticker to count up 1 digit. The further you get, the higher the number, until you get hit and die. Anybody know how I could accomplish this? Any help is greatly appreciated!!
Thanks in advance,
Tyler
Comments
I'm a big fan of tables as I like the fact they're saved (assuming you use the save table behaviour!) for when the player comes out of the game etc..
For greater accuracy, I don't use GS's in-built timers. I've used http://forums.gamesalad.com/discussion/44707/timers-are-for-chumps-gs-optimization-tips/p1