I’m making a game where there is an interactive map with clickable regions like in Hearts of Iron or other Paradox games
There, a separate map is used for province boundaries, and another file stores RGB values about each province.
My problem is, how do I implement the provinces system? I made it so that when I hover the cursor, the game recognizes which colour it is hovering over. Now I can’t figure out how to make the provinces system itself so that the provinces are visually displayed. That is, perhaps some sort of zone system. I do not need to do it in the games Paradox, I would at least make the province itself, ie visual zone.
https://forum.unity.com/threads/wip-asset-strategy-game-province-creator.379910/
Although this is done on Unity, but it clearly shows what I need. That is, I want the area to be divided into zones that can have any colour.