how do i make a water moving/filling system like in minecraft. (it doesnt have to be detailed, just it will slowly replace open spots on the same level with water, basically what is the algorithim for finding the spots)
players in my game can dig and i want the lakes and rivers to flow.
You can check if a tile is water, if so, for all tiles around it that are air, make those tiles water too, and add a “water level” attribute to them that will correlate with their water level. Then on those tiles, do the same thing, but make sure that the new tile’s water level is lower than the current tile’s water level.