WaterMap

An asset by garrett_makes
The page banner background of a mountain and forest
WaterMap hero image

Quick Information

0 ratings
WaterMap icon image
garrett_makes
WaterMap

Add water physics to any TileMap with a single node!

Supported Engine Version
3.4
Version String
1.0.1
License Version
MIT
Support Level
community
Modified Date
1 year ago
Git URL
Issue URL

README WaterMap

Add water physics to any TileMap in Godot.

Installation

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! README WaterMap added to scene

Demos

Demo1

README Demo 1 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.

Configuration

Node Parameters

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.

Node Signals

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.

Reporting Issues

Please use Github's issue tracker!

Add water physics to any TileMap with a single node!

Reviews

0 ratings

Your Rating

Headline must be at least 3 characters but not more than 50
Review must be at least 5 characters but not more than 500
Please sign in to add a review

Quick Information

0 ratings
WaterMap icon image
garrett_makes
WaterMap

Add water physics to any TileMap with a single node!

Supported Engine Version
3.4
Version String
1.0.1
License Version
MIT
Support Level
community
Modified Date
1 year ago
Git URL
Issue URL

Open Source

Released under the AGPLv3 license

Plug and Play

Browse assets directly from Godot

Community Driven

Created by developers for developers