The TilemapKit Roadmap is yours! All the ideas and discussions
0 votes Vote

TK: Individual tileOverlap per Layer

When using a special layer with only black, half transparent tiles (e.g. to darken specific tiles with a fog of war), using the TKMap.tileOverlap = 0.25 setting re-introduces the dreaded black lines, since on the junctions in between the tiles the fog-of-war-tile gets drawn twice.

If this option could be switched on on a per layer basis, one could profit from it for the solid ground tiles, but ignore it for layers with half-transparent tiles. Not sure, if this would improve the rendering, though, as this may introduce other problems.

Jegge , 31.07.2015, 12:18
Idea status: completed

Comments

sitterheim, 31.07.2015, 18:14
It's actually already handled by each tile layer individually. I made the property public, it will appear under TKTileLayerNode in the reference.

TKMapNode tileOverlap -> applied to all tile layers (overrides any previous tileOverlap in each layer)
TKTileLayerNode tileOverlap -> applied only to specific layer

Leave a comment