New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to embed tilesets or templates on export #1850

Closed
bjorn opened this Issue Jan 6, 2018 · 4 comments

Comments

4 participants
@bjorn
Owner

bjorn commented Jan 6, 2018

Apart from external images, a tiled map can currently depend on external tilesets and external template files. It can be useful to embed such dependencies in the map file, either for compatibility reasons or to make deployment easier.

So the idea is to add the following export options:

  • Embed external tilesets
  • Detach template instances
  • Resolve object type and inherited tile properties (mentioned on the forum)

The latter option was requested on the forum twice. And the former option was mentioned before at #1091 (comment).

@kress95

This comment has been minimized.

Show comment
Hide comment
@kress95

kress95 Jan 15, 2018

This would be extremely helpful ^_^

kress95 commented Jan 15, 2018

This would be extremely helpful ^_^

@hexus

This comment has been minimized.

Show comment
Hide comment
@hexus

hexus Mar 31, 2018

Super glad this is on the roadmap! 👌

hexus commented Mar 31, 2018

Super glad this is on the roadmap! 👌

@alaa-eddine

This comment has been minimized.

Show comment
Hide comment
@alaa-eddine

alaa-eddine Jun 8, 2018

This would be really nice ! it was one of my requests when Tiled changed the export format.
Well, the workaround is pretty simple (importing the tilesets manually befaure exporting the map) but when working with lot of shared tilesets, it's a source of issues.

I'm very happy to see thi in the roadmap !

alaa-eddine commented Jun 8, 2018

This would be really nice ! it was one of my requests when Tiled changed the export format.
Well, the workaround is pretty simple (importing the tilesets manually befaure exporting the map) but when working with lot of shared tilesets, it's a source of issues.

I'm very happy to see thi in the roadmap !

bjorn added a commit that referenced this issue Jul 25, 2018

WIP: Added several export options
Closes #1850

TODO
* Export Options are not saved yet in the Preferences
* Export Options are only applied when doing "Export As", and not when
  repeating the action using "Export"
* Check tabstops in Preferences dialog

bjorn added a commit that referenced this issue Jul 26, 2018

WIP: Further work on adding several export options
* Export Options are now saved yet in the Preferences
* Export Options are applied when doing "Export" as well
* tabstops in Preferences dialog fixed
* Now detaches templates and resolves types and properties also for
  objects in tile collision info.

Issue #1850

@bjorn bjorn closed this in fe13589 Jul 27, 2018

bjorn added a commit that referenced this issue Jul 27, 2018

Apply export options also when exporting a tileset
This is currently only relevant for tilesets where tiles have tile
collision info, and the collision objects use types or templates.

Also refactored the code to allow the export options to be applied from
elsewhere. Next up is adding them to the command-line.

Issue #1850

bjorn added a commit that referenced this issue Jul 27, 2018

Roadmap automation moved this from Tiled 1.2 (next feature release) to Recently Completed Jul 27, 2018

@bjorn

This comment has been minimized.

Show comment
Hide comment
@bjorn

bjorn Jul 27, 2018

Owner

The options mentioned in this issue are now all implemented and can be set in the Preferences. They are applied both when exporting maps as well as when exporting tilesets.

In addition, these options are available when exporting maps or tilesets on the command-line. In this case, the preferences are not used.

I tested it quite a bit, but please let me know if you find any issues. Also if you're still missing a particular export option, feel free to suggest it!

Owner

bjorn commented Jul 27, 2018

The options mentioned in this issue are now all implemented and can be set in the Preferences. They are applied both when exporting maps as well as when exporting tilesets.

In addition, these options are available when exporting maps or tilesets on the command-line. In this case, the preferences are not used.

I tested it quite a bit, but please let me know if you find any issues. Also if you're still missing a particular export option, feel free to suggest it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment