Skip to content

2025

Using Tiled Object Layers with Defold Tilemaps

Defold is great, but when it comes to designing levels, integrating an external tool like Tiled can significantly enhance your workflow. Tiled is a free, open-source map editor that supports a wide range of formats and allows you to create tile-based game worlds with ease. It's snappy, fast, highly extendable, and its been around for as long as I can remember.

Tiled Layers

What's even better is that out of the box, it supports exporting Defold tilemaps and collections. What's slightly disappointing is that after getting Tiled-pilled, you realize there's a lot of things it would be nice to specify in the level editor that you can't because Defold tilemaps do not support those features.

I'm going to show you how I set object spawn positions in Tiled, export them as JSON, and load them with Defold.