pycraft icon indicating copy to clipboard operation
pycraft copied to clipboard

Adaptive Framerate

Open olls opened this issue 10 years ago • 2 comments

At the moment the framerate is set as a maximum of 15, but this is so that is can run in slower terminals, while on most terminals, it can go much faster. Could we make it adapt somehow, maybe by timing the print statement?

olls avatar Nov 16 '15 13:11 olls

FPS = 15
  Recorded FPS = 92.0%
FPS = 45
  While walking, FPS = 90.4%
  While digging, FPS = 97.5%

I think the error is too high to be meaningful...

olls avatar Nov 16 '15 13:11 olls

This would make the framerate independentness more useful

olls avatar Sep 01 '16 13:09 olls