1. Hey! Guest! The 36th GMC Jam will take place between February 27th, 12:00 UTC - March 2nd, 12:00 UTC. Why not join in! Click here to find out more!
    Dismiss Notice

Asset - Scripts DyLiquid - Dynamic Water Physics Simulation

Discussion in 'Marketplace' started by MusNik, Aug 18, 2016.

  1. MusNik

    MusNik Member

    Joined:
    Jun 21, 2016
    Posts:
    140

    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.


    [​IMG] [​IMG]
    [​IMG] [​IMG]
     
    Last edited: Feb 24, 2018
    Nocturne and Desix like this.
  2. JeffJ

    JeffJ Member

    Joined:
    Jun 20, 2016
    Posts:
    355
    Just bought this. I need to have multiple areas of water within one room - how would I achieve this?
     
  3. MusNik

    MusNik Member

    Joined:
    Jun 21, 2016
    Posts:
    140
    Hello, @JeffJ

    Just add two instances of liquid in room. For example, two o_waters or o_water and o_lava in the Demo project.
     
  4. MusNik

    MusNik Member

    Joined:
    Jun 21, 2016
    Posts:
    140
    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: Feb 23, 2018
    twalkerp likes this.
  5. twalkerp

    twalkerp Member

    Joined:
    Oct 12, 2018
    Posts:
    31
    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
     
  6. ❤️×1

    ❤️×1 Member

    Joined:
    Sep 4, 2018
    Posts:
    31

Share This Page