Lantern Crawler

notes / under the hood

Smoother movement

Walking around looks even now.

  • The game would drop from 120 fps to 80 and stay there. Its wait between frames kept oversleeping a little.
  • Now it sleeps most of the wait and counts out the rest. In 12 test walks it never dropped.
  • Moving left and right looked jerkier. Turned out the direction had nothing to do with it.
  • A first fix guessed the pace from how busy each frame was. It sat at 48 fps, so out it went.