Backwards Scoring

One of the things that I’ve wanted to add to Coloraze is online highscores. Today I finished my online highscore system. I decided to make my own because I can have one php file handle more than one level and that it will only keep the highest score for each user. (ie. it will replace a lower score with a lower one instead of adding a second entry) The only problem is that it was created for HIGHscores, not LOWscores, which is what you might want for time trials… I tried to edit the php file but it seems to prove to be too much of a hassle. So I’ve decided to fix this problem with a simple, hack… All scores will be saved as milliseconds and the game will convert it to xx:xx.xx, when a score is submitted it will be in negative milliseconds, and the highscore system will handle them perfectly fine!

()
Comments (View)
blog comments powered by Disqus