Lantern Crawler

notes / under the hood

Big worlds load in chunks

Only the area around you is loaded.

  • The world is cut into squares 256 cells across. The nine around you are loaded.
  • New squares load in the background and get added between turns.
  • When a square loads, its people jump to wherever they should be for the hour.
  • Peak memory walking across the test world dropped from 350 MB to 191.