Asset - Scripts DyLiquid - Dynamic Water Physics Simulation

MusNik

Member
Download: Marketplace - Itch.io

DyLiquid - fully customizable realistic surface tension dynamic simulation. You can create various kinds of liquid (even with texture) such as water, paint, oil, lava, mud and other. You can use it for 2D game genres like platformers or physics arcades.

It doesn't use phisics engine (Box2D or LiquidFun) for working but it can work with it.

Demo: Download

Features:
  • Fully customizable physics properties of liquid (like surface tension and spread of waves).
  • Fully customizable visual properties (like position, size, colour, gradient, alpha, texture and blend mode).
  • Can create several instances of liquid with different properties.
  • Precise y collision checking with liquid surface.
  • Wave reaction on collision influenced by velocity.
  • Particle splash effects.
  • Can create wave directly in some point of liquid surface.
  • Can create floating / swiming in water object.
  • Can generate auto-wawing on a water surface.
  • Optimized, clean and commented code.
  • Perfect work on all platforms - Windows, Mac, Linux, Android, iOS, HTML5 and other.
  • Technical support for all who purchased.
  • And even more.
You need intermediate knowledge of GML to use.
It doesn't use surfaces for drawing.
It doesn't use shaders for drawing.


Please write a review if you like the asset and tell me your suggestions for improvement. If you found an error in my code or my English, please contact me ;)

My other assets! Fixture editor, LUT, physics rope, textured terrain, custom savegame system, day night cycle, breakable physics objects, shaders and more.



 
Last edited:

JeffJ

Member
Just bought this. I need to have multiple areas of water within one room - how would I achieve this?
 

MusNik

Member
A long-awaited update is finally released!

UPDATE 1.1.3
  • GMS2 VERSION ADDED
  • More than one liquid in a room fix
  • dyliquid_move added to change the liquid position and size
  • dyliquid_get_bounds added
  • Some optimizations
  • Bug fixes
DOWNLOAD: ON MARKETPLACE | ON ITCH.IO
 
Last edited:

twalkerp

Member
A long-awaited update is finally released!

UPDATE 1.1.3
  • GMS2 VERSION ADDED
  • More than one liquid in a room fix
  • dyliquid_move added to change the liquid position and size
  • dyliquid_get_bounds added
  • Some optimizations
  • Bug fixes
DOWNLOAD: ON MARKETPLACE | ON ITCH.IO
Would this work for my purposes? I need a "liquid" to flow through pipes. I have custom collision set on each side of the pipe. The liquid would need to be able to "trigger" some collision event on contact with character objects.
See Video:
https://streamable.com/tjbr4
 

mojo2go

Member
Is it possible to make an oil and water effect, with two liquids of different densities....oil layered on top of water, both in motion?
 
Top