So I’m back at my little game project, and I used the function “TimeFromStart” In a few places, in lack of a better alternative.
Coming back to my project and updating the program, resulted in some weird things happening when I compiled my game.
It seems the function has been changed, to produce a much higher numerical value than before.
Does anyone know the exact change, so that I can change my code accordingly?
All time functions have indeed a better accuracy as they are now internally managed using microseconds ( instead of milliseconds ).
It should changes nothing for you but it turns out that I forgot to update the function associated to TimeFromStart.
I’ve fixed that, thanks for pointing it out.
While waiting for the next update, you can divide the result of TimeFromStart by 1000 to convert it to seconds. ( Just do not forget at the next update to remove these /1000 ).
They way I use the function (probably not they way people usually use the function), this would mean I get a number 10x higher? So bu dividing my code with 10 should solve the problem then. I’ll try that.