Skip to content

mapeditor/tiled-extensions

Repository files navigation

Tiled Extensions

Tiled can be extended using JavaScript. This repository provides a number of example extensions that can either be useful as-is or can provide a starting point when writing your own extensions.

Installation

When you want to add these extensions to your Tiled installation:

  • Open Tiled and go to Edit > Preferences > Plugins and click the "Open" button to open the extensions directory.

  • Download the files in this repository and extract them to that location. The scripts can be placed either directly in the extensions directory or in a subdirectory.

    (Alternatively, clone this git repository into the extensions directory)

Project-specific extensions can be placed in a directory in your project instead, to make it easier to share them with teammates!

Contributing

If you have written an extension that you think makes a great example or would be generally useful for others, please don't hesitate to open a pull request to have it added to this repository or to the list below!

Please run the linter to check for avoidable issues in the .js files:

npm install
npx eslint [your-extension.js]

Awesome Tiled Extensions

Noteworthy extensions in other repositories:

Also check out my starred Tiled extensions.