SpriteKit Water Simulation

I’ve put together a physical water simulation for SpriteKit for a game that I’m working on, which I’ve made open source.

I know there’s quite a few SpriteKit users on the forums, so thought it might be useful.

There’s a gif on the github repo so you can check it out without having to go to the bother of downloading and building the code. I’ve also included a little settings pane on the demo project so that you can tweak different properties of the simulation to see how the water reacts.

DynamicWaterNode GitHub

Enjoy!

1 Like

Very nice! Thanks for sharing. Im sure many readers will find this highly useful. You might want to tweet it as well!

Wow, that’s a very neat effect - congratulations and thanks for sharing.