ID:2114212
Jul 10 2016, 6:08 pm
|
|
Testing out the new keyboard handling code and movement system, working at 40FPS now instead of 30, 30 got jumpy for some reason even locally but 40 is smooth even over the network. |
Yeah, I expected 30 to be smooth because it's kind of a standard FPS for 2D games and the sort and was thrown off when changing it to 40 fixed all the jumpiness.
|
1000/30 = 33.3333333
TL;DR: DM struggles with unclean tick frequencies and rounds up world.tick_lag to compensate:
Until recently, world.fps would return 63 in this situation and world.tick_lag would be 1.7 instead of 1.66666666 as it should have been.
40 fps has a very clean result and is less jumpy... Oddly.