Install via Godot
To maintain one source of truth, Godot Asset Library is just a mirror of the old asset library so you can download directly on Godot via the integrated asset library browser
Add water physics to any TileMap in Godot.
You can install the plugin using this repository by following the instructions found here
This addon is pending approval to the official Godot Asset Library at this time.
Once the plugin is installed in your project, simply add a
WaterMap node as a child to any TileMap!
You can find Demo 1 under
demos/WaterMapDemo1.tscn. This shows a few of the basic features such as click add liquid tiles and TileMap index translation to liquid tiles.
Cell Capacity - Maximum number of liquid units a given cell can contain
Liquid Color - Base color for the liquid
Click Spawn Liquid - Enable mouse left click to spawn liquid cell
Liquid Spawn Tile Indices - Add tile indices here from the TileMap's TileSet that you'd like to have converted into full capacity liquid cells at scene ready.
Should Remove Liquid Spawn Tiles - Remove tiles from the TileMap that are given as liquid spawn tiles. This is useful if you want a water tile on your tilemap to just turn into actual liquid at scene ready.
Liquid Cell Capacity Signal Threshold - The cell liquid capacity that should trigger signals. If the capacity becomes equal to or greater than this then the WaterMap will emit a
liquid_cell_capacity_over_threshold with the cell's coordinates. If the capacity becomes less than the threshold it will emit a
liquid_cell_capacity_under_threshold with the cell's coordinates.
liquid_cell_capacity_over_threshold (cell coordinates) - Emitted when a cell's liquid capacity becomes equal to or greater than the configured threshold value.
liquid_cell_capacity_under_threshold (cell coordinates) - Emitted when a cell's liquid capacity becomes less than the configured threshold value.
Please use Github's issue tracker!
Add water physics to any TileMap with a single node!