Flood fill for Tilemaps
Flood fill (simple tilemap)
Great addon! One issue though - if you attempt to flood fill an empty space (not enclosed with other tiles), nothing happens. And after that flood fill stops working completely.
For example - if you have an empty tilemap with an island in the middle, and you want to fill all remaining space with water tiles.
So here is the fixed version. I also added a second action to fill any types of tiles surrounded by border tiles.
dropbox.com/s/ysm71dnoh7v79na/tilemap-flood-fill-1.0.0-stable.c3addon
I'm still having this problem, how do you fix it?
Thanks, I just update the plugin :)
c3plugins.stranianelli.com/tilemap-flood-fill and github.com/el3um4s/construct-plugins-and-addons/tree/master/tilemap-flood-fill
Thanks for this plugin. Very Useful.
Thank you so much for this! Just what I've been looking for. One suggestion, I recommend in the tooltip for specifying the X/Y values, that you let people know that's a tilemap co-ordinate, and not a regular X/Y value. So they need to use Tilemap.PositionToTileX and Tilemap.PositionToTileY in there if they want to tap or click an area to start from.
Thanks for the info.
It would be nice if you could choose how many tiles it would fill, allowing you to, say, fill the 5 closest tiles to 0,0.
Very handy! Would it be possible to also add an option for 8-way filling, so that the fill leaks through adjacent corners?