Ok so I know this forum is dead but I need help here
How do I actually go about making a timer? A project I'm working on is only half done and it's lagging like hell when I try to implement a timer.
Then I look at a content packed game like ssf2 and the timers are working flawlessly.
The timer by itself is fine, but adding any type of content will make it lag.
How I went about it is I call this one function every second, make it update the time, and then save it to a shared object so it can resume from the time played next time you run it. basically, I'm trying to make a "Time Played" Viewer thingy.
The code below shows my timer code and how I went about it.
I REALLY NEED A PROGRAMMER RIGHT ABOUT NOW
google and I aren't friends at the moment