New Dynamic 2d Water effect


I really wanted to make a more dynamic water for Scatteria. Also it will work as limitter on some levels. It took me a way longer than I originally expected. Almost gave up in few times but after spending three days on this I dedicated not to give up and finally I got it working! For the end result Im very happy and it really brings so much into the general "game feel" that it was worth it. Totally time spend 36hours, almost one week.

Also one funny thing happened. While I was making bubbles work with this, that randomly spawn around the water area, I accidently made one bug that let the bubbles come outside of the water. It instantly felt like poison.. So I changed the water color to green and pumped the bubbles amount way up. It actually worked better than I expected.
So thanks to this bug I have now two different liquids in the game.


Here is a short recipe how the water was made:
-Water is a 3d mesh. (Made procedurally with a script. It checks the limits of tilemaps depenging the water spawn position)
-Wave is made by moving top vertices with given hitpoint and velocity.
-LineRenderer is set also to match these top verticies to make the water pop little more.
-Particle effect and audio also into the hit effect.

-Also I have a effect sprite in camera with transparency. Everytime player goes inside water that is enabled.
-Lastly I have an another audio mix with water bubble effects that is put on to make underwater sound (this isnt really heard in the video).

Get Scatteria

Leave a comment

Log in with itch.io to leave a comment.