Lantern Crawler

notes / under the hood

Keeping the game fast

Aiming for 120 fps with half of every frame to spare.

  • At 120 fps a frame gets about 8 ms. The graphics card and the processor each get half of that.
  • Each test room has a count of how much it draws. Go over and a test fails until someone writes down why.
  • Stuff that only loads once gets loaded at startup or at a door, never mid-play.
  • Something new goes in only if it fits, or something else comes out.