Windows SDK 2.7.4 and 2.7.3, running on simulator.
(I was running 2.7.3 and updated to see if it would fix the issue.)
I have the following code surrounding my main code to run each frame:
playdate.resetElapsedTime()
local startPhysicsTime = playdate.getElapsedTime()
...
local endPhysicsTime = playdate.getElapsedTime()
print(endPhysicsTime - startPhysicsTime)
print(endPhysicsTime, startPhysicsTime)
I would expect to see the amount of time it took to run the code with mircosecond precision, but all I see is 0.0, sometimes 0.001
Here is the output I see in the playdate console: ( over a few frames)
0.0
0.0 0.0
0.0
0.0 0.0
0.0
0.0 0.0
0.0
0.0 0.0
0.0
0.0 0.0
0.0
0.0 0.0
0.0
0.0 0.0
0.0
0.0 0.0
0.001
0.001 0.0