MrFish Posted November 5, 2010 Share Posted November 5, 2010 Like a fill tool in paint or photoshop. I'm working on a program where you create maps for a game with the provided tiles. However, I'm having trouble thinking of a working fill algorithm.This is obviously a 2D array so you can think of it in that way. Any help is much appreciated! This is a real head scratcher for me.Algorithm here: http://en.wikipedia.org/wiki/Flood_fill Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.