MrFish Posted November 5, 2010 Report Share Posted November 5, 2010 (edited) 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 Edited November 6, 2010 by MrFish Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now