How to Design a 2D Game Tilemap for Free With Tiled Map Editor
Use the free Tiled level editor to create a layered 2D tilemap, add collision objects and export a small game-ready map with clear licensing.
Before you begin
A two-dimensional game level often contains repeating ground, walls, decorations and collision areas. Drawing every square as a separate image can make the level tedious to edit. Tiled is a free, open-source tilemap and level editor that lets you arrange reusable art on different map layers and attach structured information for a game engine. The tool does not generate all your game logic automatically, and compatibility with a target engine depends on importers and file formats. A tiny original village or platform level is a useful first project.
1Install Tiled and choose a simple map format
Begin at mapeditor.org and check the official desktop downloads or source package appropriate for your computer. Create a new map with a modest grid such as 20 by 12 cells and a tile size that matches your artwork. Decide whether the map should use orthogonal, isometric or another supported orientation. Orthogonal square tiles are easier for most beginners. Save the project in a dedicated folder with the tileset images it uses. Avoid downloading an unknown 'full game asset pack' without reviewing its license. Original or properly licensed art helps avoid legal problems when publishing your game.
2Create and register a small tileset
Prepare an image containing a few evenly sized tiles: grass, path, water and a wall are enough to learn the workflow. Open Tiled's tileset controls and select the correct tile dimensions and spacing so each visual element aligns with the map grid. If a tileset is imported with the wrong dimensions, painting can produce sliced or overlapping graphics. Check transparency at the edges of objects and maintain consistent perspective. Give the tileset a descriptive name. Do not enlarge low-resolution pixel art with blurry image processing when crisp pixels are an intentional style.
3Build background and foreground layers
Create a ground layer and paint it with basic terrain, then add a separate layer for walls or decorative objects. Layers make it possible to revise one category without repainting the others. Use stamps or fill tools cautiously, since a large fill can overwrite more cells than expected if the wrong layer is selected. Keep paths readable and avoid blocking the main entrance to a building. Preview the map at the approximate size players will see. For a school exercise, include a small legend explaining which tiles are passable and which are obstacles.
4Add objects and collision information thoughtfully
Tiled supports object layers and metadata that can describe entrances, spawn points and collision shapes. Add a player-start object and a few obstacle areas, using clear labels. Some tileset collision editors also define shapes at the tile level, but how those properties are used depends on the game engine. Do not assume painting a wall tile automatically blocks movement. Check the intended engine's Tiled importer to see whether it reads custom properties or expects specific layer names. Keep collision boundaries aligned with the visible scene; otherwise players may appear to pass through walls or stop on invisible objects.
5Export and test with the intended game engine
Save the native map and choose a supported export format such as TMX or JSON where appropriate for your workflow. Make sure any referenced tileset images are included when moving the project to another computer. Load the map through your engine's supported importer and verify tile positions, layers, coordinates and collisions. Some export formats handle external resources differently, so a map that previews correctly in Tiled may still need integration work. Test a short path from the spawn point to the destination. Preserve editable sources and document engine-specific assumptions for future collaborators.
Frequently asked questions
Does Tiled generate a playable game by itself?
No. It produces map data and related structures that game engines or custom software can use.
Is Tiled free and open source?
Yes. Its official site describes it as free, open-source level-editing software.
Official sources and further reading
Interface labels, availability and policies may change. Confirm current details with the relevant service before taking action.