I loaded a tileset via importing from a bmp (which was
several times size the tiles size (128x128). The
picture had some black lines and circles (a node diagram).
When the floodfill is used in areas where the black
lines partitioned the tile area and the correct fill
touched the open edge of the tile it then filled the
adjacent (incorrect) fill areas which the edge touched.
The flood fill should see the edge of the tile as as a
boundry and should not leak around to fill areas
Log in to post a comment.