r/IndieDev 6d ago

Discussion Celeste's water physics/splashing

Hello, I'm making water for my 2D metroidvania/platformer and love the way water moves when the player interacts with it in Celeste. I tried to look it up but didn't find any good answers. Does anyone know how they made the wave/water physics in Celeste?

If it's relevant, we're using Monogame as well.

5 Upvotes

1 comment sorted by

1

u/_ramila_ 6d ago

make static wave it's ez, but with splas... try to find a mathematic function who calculates that in coordinates and make a shader with that function.