spritekit-water-node
spritekit-water-node copied to clipboard
🌊 Custom SpriteKit node that allows to simulate 2D water with respect to physics. The app demonstrates Flocking behaviour using GameplayKit, key-frame animation and custom fragment shader chaining (G...
spritekit-water-node
Last Update: 04/July/2021.
If you like the project, please give it a star ⭐ It will show the creator your appreciation and help others to discover the repo.
✍️ About
Custom SpriteKit
node that allows to simulate 2D water with respect to physics 🌊 The app demonstrates Flocking
behaviour using GameplayKit
, key-frame animation
and custom fragment shader chaining
(GLSL
) 🤯. Feel free to play around and hopefully get some inspiration!
⚠️ Caution
- Please note that you have to be very careful if you are going to use the repo in commercial projects - do not use graphics assets. The assets were taken from Kenny and icons8.com and are free to use. However I strongly recommend to double check it.
- The code is not perfect - there are
magic
numbers such aszPosition
of nodes and several pieces can be better organized.
📺 Demo
Please wait while the .gif
file is loading...
👨💻 Author
🔖 Licence
The project is availabe under MIT licence.