I was tasked with the following wishlist:
- I like building, management, and systems that interact with each other.
- Space, robots, aliens!
- A game where violence isn’t front-and-center.
- Red is my favorite color.
- Music!
I wanted to make a robot game were you evade corroding fluids, which led me to fluid animation and Mathias Müller’s Ten Minutes Physics videos and tutorials (see https://matthias-research.github.io/pages/index.html)
I ended up only being able to port his Javascript demo to C, but here it is, and working (need allegro5 installed):
Video of the effect;
UPDATE:
The last version in github is now a threaded processing version.
It’s way quicker.
I left both threaded and unthreaded functions in the sources.
How the same demo is looking now: