GameMaker Studio 2

Water Physics - GMS 2 and 1


Contact Publisher


Click here to download a demo

Click here to download a simplified demo

Forum thread

This asset provides you with realistic water physics and water visualization for your 2D game. 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 water simulation very fast. You can have more than a million blocks of water simulated simultaneously with great frame rates. The asset is highly customizable, letting you tweak the water extensively.

The asset is compatible with GM Studio 2 and GM Studio 1.


  • Water currents (water can push objects around).
  • Water pressure (water can be pushed up through e.g. pipes).
  • Highly customizable reflections (reflections are optional in case you prefer no reflections).
  • Light source reflection (letting e.g. the sun and moon have longer reflections in water).
  • Textured water.
  • Adjustable colors (for water bodies, water surfaces, and falling water).
  • Refraction (making the water's background look distorted through the water).
  • Reflection displacement (different types of distortions to apply to reflections).
  • Customizable waves.
  • Waterfalls.
  • Four gravity directions.
  • Choose between two shader languages (if you're using GM Studio 1), HLSL 9 and GLSL ES. GM Studio 2 has GLSL ES only.
  • Reading/writing of volume and velocity, allowing e.g. a player to swim and splash the water around.
  • Reading of pressure (e.g. to damage a player if he has dived too deep without diving equipment).
  • Synchronization system between GPU memory and RAM.
  • Saving/loading of water from files.
  • A guide for implementation.
  • Commented and organized code.
  • Fast and optimized, made with efficiency in mind.
  • Supports logic and display separation.
  • Irrespective of room speed, dependent on delta_time (and easily convertable to other game loops if need be).
  • All in GML and GLSL ES, and HLSL 9 if you're using GM Studio 1.

Note: You might run into some shader errors after importing the asset in GM Studio 1 due to a GameMaker marketplace import bug, but this can easily be solved by following the instructions in the "before you start" section of the "guide" script provided with the asset.

Remember to read the asset's EULA:

End User Licence Agreement (EULA).

Changes in 1.0.5

Fixed a bug where tex_filter wasn't set to true at the beginning of the simulation script.

Version 1.0.5. Published August 18, 2017

Age Rating: 4+

Average Rating

Your review

You can only review assets you've bought.


Anonymous 28 June 2019


S X 21 June 2018


LI B 16 June 2018


Trung L 27 December 2017

Fantastic effect

I have never been fan of all-in-one-demo myself but the scripts is well commented and easy to understand. It only took me 1 hour to figure out everything and integrated the asset into my game. The asset is optimized and performs very well in my game which contains quite large maps (4096x4096) with all effects and physics turned on. Definitely recommend for games with large maps.

Edit: I mean one big example contains everything possible instead of several smaller ones that show certain features of the asset.


Mytino (Publisher) 16 July 2018

Thank you very much!

Not completely sure what you mean about all-in-one-demo. If you mean the asset only includes one example implementation I see what you mean. It would be a benefit to have more example implementations. If you mean demo as in the actual asset, it's not all-in-one, but actually divided into two parts: The example implementation folders, which can be deleted if not needed, and the essential resource folders (the ones named "Water Physics").

Edit: Ah, okay. I'd say I have several examples though. I have four worlds you can go through, each showing off certain features of the asset. I could divide it more, but I don't think it's very necessary considering the amount of time it will take, so I will keep it as it is.


Brent E 01 July 2017


I heard a lot of good things about this asset, so it was really hard to pass up on it. It is very neatly organized and perfectly documented. Considering what it is--it is surprisingly very optimized as well--I had no issues pushing it to acceptable limits. I personally have no need for it other than pure curiosity behind its magic, but if you need a solution for dynamic water, look no further. In and of itself, it's a fun little toy to play around with, but it would definitely compliment and show its true potential in a fully fleshed out game. (So buy it, and do it!)

Be sure to read the README script before running it the first time! I was a little too excited to test it and saw a few error messages. Fortunately it's not an issue with the asset, but with GMS itself.

The creator is very kind and helpful and responds promptly. I am definitely looking forward to more of his assets!

In conclusion, its a well-thought out asset and I look forward to seeing it utilized.

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


Florin V 17 April 2017

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


Daniel B 17 March 2017

Works Great

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


Matthew K 05 March 2017


Very detailed and optimized, the author put a great deal of attention towards this asset. Brilliantly done!

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


Anonymous 22 December 2016

Awesome :D

I was really exited about this purs. for learning shaders and implementing into my game w/ new render engine! Nice work dude!

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

Package contents

Loading, please wait

What is the issue?

Back to Top