This is a Unity version of a Falling Sand Game or a Powder Toy Game.
Basically the game allows you to add one pixel particle (AKA powders) of different elements (sand, water, acid...) on screen and each of these element is simulated individually as it interacts with other elements.
This uses the newly release Entities Component Systems unity library to parallized entities simulation.
These are resources that have influenced and help the creation of this project:
- ECS Annoncement
- The Official Powder Toy app
- Powder Toy sources
- Powder Toy in Javascript
- Powder Clone in C#
- Powder game in java
- Water remove fire
- Fire burns wood and turns it into smoke or fire.
- Acid destroy everything except Glass
- Lava destroy evertyhing except Stone
- Steam condenses on Stone and turns into water
- Water turns into steam when touching lava
- Sand turns into glass when eated by fire.
Most elements who are not solid (everythign except Stone, Wood and Glass) can have a generator that will poured new elements each frame.