Tiled: GameMaker Studio 2 support

Created on 7 Jul 2017  路  14Comments  路  Source: mapeditor/tiled

Currently Tiled ships with an export plugin for GameMaker: Studio 1.4. With GameMaker Studio 2, YoYo Games has changed the map format entirely. It is now JSON based instead of XML and the tile layer data is saved in a very similar fashion as Tiled JSON maps.

Even though GameMaker Studio 2 ships with quite a decent tile map editor, it would still be interesting to add support for this new version as well. It would be helpful for those already using Tiled that are porting their game to the newer version, as well as for people who have reason to prefer Tiled for making their maps.

Requested in this forum post and this forum post.

feature help wanted

Most helpful comment

In case this helps, I made a runtime loader for TMX projects for GMS2: GMTiled2

All 14 comments

Bump! Any plans for GMS 2 support in the works at all ??

@mccordgh It's definitely in the plans (embodied by this issue), but I can't say when I would get around to it. There's a lot of other high-priority stuff I need to get around to first.

@bjorn Anyway I could help? :)

@mccordgh Sure, you can either fund it or code it. I'm here for questions if you need any help to get started with implementing this. You can read this page about how to get started compiling Tiled yourself, and you could start the GameMaker Studio 2 plugin by copying the GameMaker: Studio 1.4 plugin that lives in src/plugins/gmx (probably to src/plugins/gms2).

The old format was XML-based, so the plugin used QXmlStreamWriter. The new format is JSON-based and you could probably use QJsonDocument to construct the contents. Unless the limited formatting options are a problem, in which case we could adapt the LuaTableWriter from the Lua plugin to be able to write JSON files.

@bjorn Thanks for that info, I would love to contribute if I can.

I am not going to be able to work on this right now, as my attention is needed elsewhere. Just wanted to let you know. Sorry!

Any progress on this? :(

@Dene33 No. Maybe you'd be interested in helping out with this?

While this export option is not available yet, people who want to export Tiled maps to GMS 2 can give GMTiled a try.

Would love to have this feature!

In case this helps, I made a runtime loader for TMX projects for GMS2: GMTiled2

Would love to see this as well.

Hello, can we expect some update regarding this topic? Thanks.

If the above linked GMTiled or GMTiled2 don't work, there's another potential tool for moving data between Tiled and GMS2 available here: https://leo150250.gitlab.io/tiledtostudio2/.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

niedzielski picture niedzielski  路  16Comments

leonidax picture leonidax  路  47Comments

Bobjt picture Bobjt  路  16Comments

Bladum picture Bladum  路  23Comments

bgulanowski picture bgulanowski  路  22Comments