خروجی دادههای نقشهٔ OpenStreetMap بهصورت Tiled TMX برای ساخت بازی. نقشههای شهری دنیای واقعی به نقشههای کاشیای برای بازیهای دوبعدی، نقشآفرینی، راهبردی و شبیهسازها تبدیل میشوند.
ویژگیهای کلیدی

دربارهٔ قالب Tiled TMX
TMX is the open XML format of the Tiled editor: a grid of tiles, several layers and an object layer on top. It is read by Godot, by Unity through SuperTiled2Unity, by GameMaker, Cocos2d, LÖVE and a dozen other engines, and Tiled itself is free.
The export turns a real city into a game field: streets, blocks, water and greenery are laid out on the grid, and named objects become points on the level map. This is a starting point for a prototype, a simulator or an educational game about your own neighborhood — after that you finish it by hand.
The file holds three tile layers: ground (land and water), structures (buildings, roads, railways) and vegetation (green areas); the data is written in CSV encoding. Named objects are collected into the poi object layer with coordinates in pixels and a caption. The grid size is picked to match the area, up to 512 × 512 tiles, with a base cell of 32 × 32 pixels (16 or 64 can be chosen).
An important detail: the tileset is embedded in the file as a set of tile definitions with color properties, but without an atlas image. In Tiled the map will open and will be structurally correct, but the graphics have to be your own — replace the tileset with your own set of sprites.
چه برنامهای فایلهای Tiled TMX را باز میکند
برنامهها و نرمافزارهای زیر میتوانند فایلهای Tiled TMX (Game Map) (.tmx) صادرشده از OSM2CDR را باز و ویرایش کنند و با آنها کار کنند:
Format specifications
- Open standard
- 2D only
- Lossless (no quality loss)
- Stores feature attributes
- Output: 1 file
- Tiled Map Editor TMX (open spec) — one .tmx file with the tileset embedded. Game-development format for 2D pixel maps.
چه کسانی از نقشههای Tiled TMX استفاده میکنند
چگونه Tiled TMX را خروجی بگیریم
نحوه باز کردن پس از خروجی
- Tiled Map Editor — File → Open; layers, grid and objects are visible right away. To get graphics, add your own tileset and remap the tile identifiers onto it.
- Godot — import TMX through a plugin or convert it into a TileMap; the object layer is convenient to turn into markers, spawn points and triggers.
- Unity — the SuperTiled2Unity package reads .tmx directly: put the file and your tileset into Assets and the map prefab builds itself.
- Phaser, LÖVE, Cocos2d, GameMaker — all of them have TMX loaders; for Phaser it is easier to re-save the map from Tiled into JSON first.
- Editing before the build — the tile size is set at export time, and a level that is too large is cut down in Tiled itself or by reducing the selected area.
نقشههای محبوب در Tiled TMX
خروجی نقشهٔ Tiled TMX (Game Map) را دریافت کنید
نقشههای حرفهای Tiled TMX را از OpenStreetMap دانلود کنید. تولید آنی برای هر ناحیه.