I am working on a 2D isometric tile-based game where I need to mark tiles that are owned by different players. I want to place a "border fence" in the owning player's color around the tiles that the player owns. Other requirements and limitations are as follows:
Some tiles are not 'flat' and have a slight overflow into neighboring tiles from the top (ie. mountain). Therefore having the border tilemap stacked on top of the terrain tilemap does not look realistic. Borders should 'wrap around' overflowing tiles
I currently have 20 different types of tiles and 10 different player colors. Were I to create a different tile for each border + tile type combination I would end up with 20 x 10 x 13 = 2600 different types of tiles in the tileset
Tile ownership will change dynamically within the game
What would be the best way to implement the border feature?