Skip to content
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

TileSet Python export plugins (fixes #1865) #3857

Merged
merged 14 commits into from
May 24, 2024
12 changes: 9 additions & 3 deletions docs/manual/python.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ Python Scripts
platforms. It should be preferred over the Python plugin when possible.

Tiled ships with a plugin that enables you to use Python 3 to add
support for custom map formats. This is nice especially since you don't
need to compile Tiled yourself and the scripts are easy to deploy to any
platform.
support for custom map and tileset formats. This is nice especially since
you don't need to compile Tiled yourself and the scripts are easy to deploy
to any platform.

For the scripts to get loaded, they should be placed in ``~/.tiled``.
Tiled watches this directory for changes, so there is no need to restart
Expand Down Expand Up @@ -119,6 +119,12 @@ above script.

This example does not support the use of group layers.

Tileset Plugins
---------------

To write tileset plugins, extend your class from ``tiled.TilesetPlugin``
instead of ``tiled.Plugin``.

Debugging Your Script
---------------------

Expand Down
Loading
Loading