mapeditor / mapeditor/tiled

Need help exporting map to json with tileset as an image instead of tsx

Open
#1,676 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
12.9k
Forks
2k
Avg merge
4h 27m
Merged PRs (30d)
8

Description

Hello,

I am using gosu-tiled , a Ruby Gem to load Tiled json map, it seems that this Gem supports loading only a json map with the tileset as image tileset, it doesn't support a reference to tsx file, see in this example

https://github.com/spajus/gosu-tiled/blob/master/spec/files/tiled_map.json

How can I export my tmx map to a json with the tileset being a png tileset instead of tsx ?

example of image tileset

https://github.com/spajus/gosu-tiled/blob/master/spec/files/ground.png

Thanks

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Compare the linked tiled_map.json and ground.png examples with the TMX and TSX export workflow in Tiled. Determine whether an image-based JSON tileset can be exported directly, and document the steps or limitation so the requested output format is clear.

Written by the indexing model from the issue text.

Assessment

Tech stack
json, ruby
Domain
game-dev, tooling
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.