Hacker News new | past | comments | ask | show | jobs | submit login

Fantastic game! Can anyone recommend any books/courses on how to make simulations/games like this?

"Fluid Simulation for Computer Graphics" by Robert Bridson would be my suggestion for getting started with grid-based methods. The SIGGRAPH course notes on his website are very similar to the 1st edition. [1] It's no longer the state of the art (which is probably APIC), but the new methods are all based on the same fundamentals.

Particle-based methods like Smoothed Particle Hydrodynamics (SPH) are simpler to implement and are more intuitive than grid-based methods, but they're also harder to analyze mathematically. SPH is the method used by PixelJunk Shooter. "Fluid Simulation for Video Games" by Michael Gourlay is mostly about a different fluid technique (vortons), but does include SPH. [2]

[1]: https://www.cs.ubc.ca/~rbridson/fluidsimulation/

[2]: https://software.intel.com/en-us/articles/fluid-simulation-f...

One of the prices is the book "HTML5 Games: Novice to Ninja" [1]. However the best way to learn is to read other code. Look at the js13kgames entries [2]. There are more than 1000 games entries. All with source code.

[1] https://www.amazon.com/HTML5-Games-Novice-Ninja-Create/dp/09...

[2] https://2018.js13kgames.com/entries

The author gives a few recommendations in the Readme:


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact