Icon

Fluid Dynamics - GM Studio 1

Mytino

Contact Publisher

Description

This is the GM Studio 1 version of Fluid Dynamics. Click here for the GM Studio 2 version.

Click here to download a demo

Forum thread

This asset provides you with realistic fluid simulation and visualization for your games. It includes a guide, a well-commented example, and documentation for each script making it easy to implement it into your game. The physics and visualization are done with shaders, making the fluid simulation very fast. The asset is highly customizable, letting you tweak the fluids extensively. It can be used to simulate fire, smoke, gas, dye, dust, wind, water droplets, cloud formation, and much more. Development and testing has only been done with the windows VM target and the windows YYC target, you might run into problems if you use this asset with other targets.

Features:

  • Can simulate fire, smoke, gas, dye, dust, wind, water droplets, cloud formation, and much more.
  • Using new mathematics from 2014 making fluid simulation faster than ever before.
  • Instances can be pushed around by the velocity field of the simulation.
  • Custom collision masks from sprites and surfaces.
  • Can be tweaked to imitate versions of explosions and tornadoes.
  • 9 different example implementations of fluids.
  • Can be used in small, large and infinite game worlds.
  • Everything is highly customizable, built on top of a fundamental fluid simulation.
  • Custom shaders.
  • Choose between two shader languages, HLSL 9 and GLSL ES.
  • A guide for implementation.
  • Commented and organized code.
  • Fast and optimized, made with efficiency in mind.
  • Custom time step.
  • Customizable acceleration equation.
  • Optional dissipation of fluid velocity and material.
  • All in GML, HLSL 9, and GLSL ES.

Note: You might run into some shader errors after importing the asset due to a GameMaker marketplace import bug, but this can easily be solved by following the instructions in the "readme" script provided with the asset.

End User Licence Agreement (EULA).

Changes in 1.3.4

Fixed the fd_rectangle_replace_velocity script.

Version 1.3.4. Published September 16, 2018

Created with GameMaker: Studio v1.4.1804

Age Rating: 4+

Average Rating

Your review

You can only review assets you've bought.


Gravatar

Steven R 17 February 2018

Brilliant!

This is an amazing asset. Well-documaneted code. Great examples where you can easily adjust several parameters that affect the properties of the fluid in real time. Can't wait to get this implemented in some of my apps!

Update: I am disappointed that implementation into Android is not seamless. I'm guessing that the shaders don't quite work the same way. The velocity surface has a tendancy of moving everything towards to the top left corner of the screen. Granted, the author did state that the asset was only tested on Windows, but I'm wondering if this is code for "Doesn't really work well on other platforms." My exctement level to use this asset has dropped a few notches. (Although I can't bring myself to lower my rating of 5 stars.)

This review was left for a previous version of this asset.

Logo

Mytino (Publisher) 30 September 2017

Thank you for the great review.

I assume you are the one who sent the email about this issue not too long ago. It seems like the graphics related code doesn't work as intended on Android. What I meant in the asset description is that I only made sure it worked well on the Windows VM target and the Windows YYC target, and that I didn't test the asset on other targets. I have updated the descriptions to better state this.


Gravatar

Constantin G 02 June 2017

Fantastic effect

The effect is really fantastic and can be set up in half an hour or less. Really great stuff, thanks a lot!

This review was left for a previous version of this asset.


Gravatar

Alex M 11 May 2017

Amazing! GMS2 Incompatible at the moment.

I mean its the best 2D fluid dynamics you will find anywhere. Would love to have this working in GMS 2!!

This review was left for a previous version of this asset.

Logo

Mytino (Publisher) 17 May 2017

Thank you. A GM Studio 2 version is now available at https://marketplace.yoyogames.com/assets/5402/fluid-dynamics-gm-studio-2.


Gravatar

Bridie D 26 April 2017

Brilliant

This is a very cool asset that is really well documented, so it's pretty easy to get up and running! I also had a little problem, and the dev responded to me very quickly and was really helpful! I thoroughly recommend this :)

This review was left for a previous version of this asset.


Gravatar

Cem B 01 April 2017

Wow

Dude! What magic is this? I don't need it but still bought it to support the dev. Good job.

This review was left for a previous version of this asset.


Gravatar

Gilles P 31 March 2017

Amazing stuff Expert Level Asset

It took me 1 hour to import the asset, first fix the shader type as per instructions and then copy and simplify every bit of code for the effect I wanted from the main demo object to my own simpler controller. I would give a -1 for the huge demo object BUT +1 for how easy it was to navigate my way through, finding each case statement for the demo in every event. The room end is missing a destroy BTW

I removed the unwanted arrays that obfuscated the obvious... I now have an instance for the effect I want. I tweaked the code so that I can have multiple rectangle instances, side by side, tiled through the room. Had to tweak the coord mapping code to allow x,y position other than absolute 0,0 position... Will need to also adjust for the stretching...

Anyway.. long story short, I have a start on this. took an hour to figure it out. I'll be playing with this for a few days. lots of fun ahead

This review was left for a previous version of this asset.

Package contents

Loading, please wait

What is the issue?

Back to Top