When it comes to developing Games, Tilemaps are one of the more common item you will see. They are featured in many different styles of games such as Platformers, Role Playing Games (and much more) so when it came to developing Kiwi, having a robust Tilemap System was a must.
Tiled: What is it?
Tiled is free, flexible map editor that is specifically designed for creating Tilemaps in a fast and easy manner. Using it you can create Tilemaps of any width/height, that use tiles of any width/height as well as add custom properties to a number of different items, plus much much more.
Safe to say it makes developing TileMaps, a much easier, painless job.
Why should I use Tiled?
Now, why should you use it? Well, when it comes to making a TileMap without a mapeditor it can often be laborious, time consuming and just painful.
Not being able to see exactly how it will look at the end and then hoping that you placed the tile in the right place is something that just doesn’t give us the nicest feeling. Plus then coming back to editing the map at a later date All these are problems we face when creating it without a map editor.
And so to help you with those issues we have use the Tiled format for our JSON.
Where to start using Tiled or Kiwi?
Well to start using Tiled you we recommend you visit the Tiled website and download a copy there. We also have a some new tutorials on using Tiled with Kiwi.
Tiled Intergation Notes:
Below is a list of key points of difference in the two systems, so you should consider the following when creating your map in Tiled.
Orientations Supported: Currently we only have the Orthogonal Orientation supported for Tilemaps. We would like to (and will) in the future add in support for Isometric Tiles, but felt they are not completely needed for the first version.
Object/Image Layers: Currently are not supported, we do have a space for them to be implemented and do have plans for them in the future.
Properties: All properties that you added through Tiled, either to types of tiles, layers or the map itself are currently placed onto a properties attribute on their respective Kiwi Object. You can read/write and do what ever you want with them but currently there are no presets to do with them.
Multiple Tilesets?
Now I know in Tiled you can use multiple Tilesets per layer, which is cool, but when we were developing the new Tilemap system we made the decision not to allow multiple tilesets per layer. Now the reason why is simple, performance. Now there are whole list of optimisations/reasons behind it, but suffice to say that in WebGL having multiple textures is less optimal in comparison to having a single one with everything on it.
BUT, you can use a different tileset for each TileMapLayer. All you have to do is change the atlas property of a tilemaplayer.
Recent Comments