I'm working on a game and i want to add a speedrun timer with milliseconds, seconds, and minutes.
Develop games in your browser. Powerful, performant & highly capable.
Precise timer example
Use a numeric variable for elapsed time
In a text object display :
minutes = zeropad(floor(ElapsedTime/60),2)
seconds = zeropad(int((ElapsedTime)%60),2)
milliseconds = mid(tokenat(str(ElapsedTime),1,"."),0,3)