Sean Barton - Game Developer

Additional Tileset Support in Tiled2Unity

22 June 2014

Hi there! Tiled2Unity is no longer in development nor supported. Use SuperTiled2Unity to import Tiled Map Editor maps into your Unity projects instead.

A quick update on some Tileset settings that are now supported in Tiled2Unity. (With thanks to readers alerting me to such shortcomings.)

Note: You can download the newest version of Tiled2Unity here.

Alpha Color Key Support

Previously, the shader used by Tiled2Unity on the Unity side was dependent on the alpha channel of textures alone. Old-school games have a history of using a color-key for transparency though so I’ve followed the lead from Tiled Map Editor to support this in Tiled2Unity.

Tranparent color Tiled supported in Tiled2Unity

Note that in Tiled2Unity you can use both the transparent color and the alpha channel in the same Tileset/texture. You don’t have to go with just one transparency scheme.

Tilesets Made From Collection of Images

Tiled gives you the ability to create a Tileset from a collection of images. I always work with Tilesets where one image contains many tiles and didn’t even know this feature existed.

Tiled Tileset from Collection of Images

This is now supported but a word of warning: This will increase the number of textures and meshes in your Unity scene. I think it’s worth supporting for prototyping or the odd Tileset but as a rule you’re better served by grouping tiles into larger textures.

Seanba

Hi! My name is Sean Barton (aka Seanba).

I’m an American-Canadian software developer working in Austin, Texas where I never have to shovel snow. :fire:

My career focuses exclusively on video game software and tools. You can read more about me here.


Seanba

SuperTiled2Unity is my new collection of Unity scripts that import Tiled Map Editor files to your Unity projects. You can download for free or name your price.

Get SuperTiled2Unity.

(Note that regular Tiled2Unity is now deprecated.) :zzz:


Seanba

Like my tools? Consider making a donation as a way of thanks!