itch.io is community of indie game creators and players

Devlogs

New Dynamic 2d Water effect

Scatteria
A downloadable game for Windows

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).

Download Scatteria
Leave a comment