Liquid Simulation

Anyone knows how to create liquid(water) simulation for game like “where’s my water” using corona sdk? Or there is another third party for corona to create it? The water should be splashing out from a water tap and fill up the mobile screen. Please help!

Here is one way to simulate a fixed body of water, but the WmW effect is very difficult, currently, in Corona because it requires much more graphical processing than is available. The forth-coming Gfx2.0 may help with this, so keep your eyes open!

http://developer.coronalabs.com/code/box2d-water-buoyancy

Have you looked at Particle Candy?

Particle Candy is not really for fluid simulation but rather cloud and other particle effects; sparks, etc.

There are ways to simulate water and I expect that the new Gfx2.0 will provide enhanced methods - possibly going as far as allowing Where’s My Water style fluid.

Thanks for your response! By the way, anyone knows when the gfx 2.0 will be released?

No one knows yet.

Graphics 2.0 is currently in a closed Developer Preview. No public release date has been set yet.

Here is one way to simulate a fixed body of water, but the WmW effect is very difficult, currently, in Corona because it requires much more graphical processing than is available. The forth-coming Gfx2.0 may help with this, so keep your eyes open!

http://developer.coronalabs.com/code/box2d-water-buoyancy

I presume this is a horizontal side on perspective? If you’re good at trig, you could draw the water line with vector graphics using sin waves. frequency and amplitude control could be used. the waves could also emanate from a splash ‘point’ and the amplitude would decrease the further from this point. I have developed something similar in flash. One day when I find the time I could build a corona class for this kind of effect.

Have you looked at Particle Candy?

Particle Candy is not really for fluid simulation but rather cloud and other particle effects; sparks, etc.

There are ways to simulate water and I expect that the new Gfx2.0 will provide enhanced methods - possibly going as far as allowing Where’s My Water style fluid.

Thanks for your response! By the way, anyone knows when the gfx 2.0 will be released?

No one knows yet.

Graphics 2.0 is currently in a closed Developer Preview. No public release date has been set yet.

I presume this is a horizontal side on perspective? If you’re good at trig, you could draw the water line with vector graphics using sin waves. frequency and amplitude control could be used. the waves could also emanate from a splash ‘point’ and the amplitude would decrease the further from this point. I have developed something similar in flash. One day when I find the time I could build a corona class for this kind of effect.