Hacker News new | ask | show | jobs
by purple-leafy 23 days ago
Slow software sucks and simple is good.

I’m making browser games and my core idea is that they must be fast as hell and light as hell. Such that they can run on a potato!

Unfortunately this means cutting non essential animations lol.

And testing on throttled devices (low end mobile) and respecting thermal throttling

A recent win for me for performance was:

- 8192 simultaneous entities on screen path finding, checking reward functions, making strategy decisions with zero frame drops

- sub millisecond average frame Time (more like sub 0.5ms) with 256 entities on screen (logic and rendering)

- “compressing” game replays from 100KB naive to 1KB