Hacker News new | ask | show | jobs
by speps 790 days ago
You probably found it already but performance wise you should look into WebAssembly: https://maxbittker.com/making-sandspiel
1 comments

Yes, this is a really good article that I can highly recommend if you're interested in these type of "falling sand" simulations.

A big difference between a classic powder toy game like in the article and Noita is that Noita needs to run a much larger simulation that extends beyond the visible canvas. So while multithreading is probably not needed in the former it's most likely needed when the game is a scrolling platformer. I posted a GDC talk by the Noita devs as a reply to a sibling comment if you're interested in their tech.