Skip to content

v0.1.8 - Faster on slow computers

Latest

Choose a tag to compare

@itzzace0 itzzace0 released this 03 Nov 16:21

Faster on slow computers

A lot of work went into running smoothly on cheap laptops, Chromebooks and phones.

  • More frames on a slow computer. On a slowed-down test setup, the street outside Roman's went from 43 to 53 frames a second, and busy downtown from 31 to 40.
  • Low settings hold a steady 30. With the settings phones and Chromebooks get automatically, the same setup held 30 frames a second downtown and while driving across Algonquin.
  • Fewer hitches when the browser page itself is busy.

These numbers come from a fast Mac slowed down to stand in for a low-end device, not from a real Chromebook or phone yet.

Less memory

  • About 1.1 GB less memory after you pause the game for the first time. A search the pause menu did kept that much memory in use for the rest of the session on Mac and Windows.
  • A smaller disc cache in browser memory on devices with 4 GB of RAM or less (96 MB instead of 320 MB).
  • In testing, the browser tab now ends a busy downtown session at 3.4 GB instead of 4.5 GB, and a drive on low settings at 2.8 GB instead of 3.9 GB.

More stable

  • Two more cases where the game's physics could freeze the game (after a car landed somewhere it shouldn't) are now caught.
  • A rare crash in the physics code now gets skipped instead of ending the game.

Updating

Unzip over your old folder or next to it; the installed game and your saves stay in the browser. If you host the game for others, restart the server with the new files, and players should reload once (Ctrl+Shift+R).