Opinions on best way to do this...
Posted on 2004-03-30
I'm creating an application that will accompany a board game that some friends and I play. Basically the application is to keep track of our map movements.
I have a HUGE image that has territories on it. I want to be able to color those territories based on who owns them. I had originally intended to do this via the web and just use HTML but it turned into a larger task and I think it requires an application of its own.
My question is, what is the best way to individually color each territory. Do I need to "cut" each territory into its own image, or is there a way I can overlay a color for that specific territory?
Each map segment (territory) can be any random shape, sort of like the board game RISK. Plus there can be hundreds of them.. A way to individually color them without having to resort to creating a colored image for each would be nice..
Thoughts? Did I explain what I want well enough?
I use Delphi 5 btw..