Colouring part of an image
Hi Everyone
Can anyone point me in the right direction as to how I can create a children's colouring book style App? I have all the images but am getting a little lost with the best approach - should I split the image up into layers? Ideally I'd like to be able to detect where the user has tapped on a single image and colour that part.
If there are any tutorials (on-line or books) or source code examples anybody is aware of it would be much appreciated.
Thanks in advance
Can anyone point me in the right direction as to how I can create a children's colouring book style App? I have all the images but am getting a little lost with the best approach - should I split the image up into layers? Ideally I'd like to be able to detect where the user has tapped on a single image and colour that part.
If there are any tutorials (on-line or books) or source code examples anybody is aware of it would be much appreciated.
Thanks in advance
If your images are relatively simple you can just use a flood fill. If you have more complicated source images, or you want more fine control over the shape of colored regions then in addition to the image, you should have a file describing the separate regions in the image - maybe using a vector format like SVG - and then map mouse clicks to locations within those regions.
Possibly Related Threads...
| Thread: | Author | Replies: | Views: | Last Post | |
| Sharing textures in AGL contexts? Part II | isgoed | 3 | 2,944 |
Oct 6, 2004 12:06 AM Last Post: isgoed |
|
| Part III of SPUP (uDG poll) | stevejohnson | 12 | 4,988 |
Aug 4, 2003 05:10 PM Last Post: Carlos Camacho |
|

