How can I get a small amount of liquid in my spriteKit application?
I want that liquid in a container, it will be sealed inside but I want it to be able to move around.
Is there a better way to implement this? Maybe an option without SpriteKit?
EDIT: I was able to simulate water using this tutorial: http://www.raywenderlich.com/85515/liquidfun-tutorial-1
and this sample project I found: https://github.com/safx/liquidfun-ios-sample
BUT it requires me to run 2 physics worlds (1 for box2D and 1 with spriteKit). Does anyone know how I can get my particles from box2D into spriteKit? I imagine this should be doable since spriteKit runs on box2D as well right?
I can suggest you "LiquidFun". Its very easy to Install and it is fun to play around with it. You can build Games like "Where's my Water?"... and others!
Here is a link to a tutorial from RayWenderlich: Click Me
I hope that this was helpful!
// But Note that this Version of LiquidFun is only for XCode 6.3
Greetings!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With