Something like this: https://lh5.ggpht.com/8K9pxLeVjB9OCSue_ ... fBg5g=h900
I have a black and white image and need to enable paint-bucket filling with different colours. Any idea?
you can create each element with flled colour
I was thinking of making up the whole picture with segments, but there are too many segments...
Develop games in your browser. Powerful, performant & highly capable.
Gogafem
I did a drawing sample for someone a week or two ago, I very quickly adapted it to do flood fills. It requires the Canvas plugin... not the cleanest code, because it started as a test by my 14 year old son - but it should give you some ideas.
left clicking draws with a brush, right clicking fills.
http://www.rieperts.com/games/forum/CanvasPainterFill.capx
hmm thanks for the comments guys though this post is late, I would like to try your suggestions and its so beneficial to me