https://github.com/cag/tiled-brunch
Tiled integration for Brunch
https://github.com/cag/tiled-brunch
Last synced: about 1 year ago
JSON representation
Tiled integration for Brunch
- Host: GitHub
- URL: https://github.com/cag/tiled-brunch
- Owner: cag
- License: mit
- Created: 2016-09-04T21:02:42.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-09-05T05:54:53.000Z (almost 10 years ago)
- Last Synced: 2025-03-06T18:50:31.814Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# [Tiled](http://www.mapeditor.org/) for [Brunch](http://brunch.io/)
Tiled integration for Brunch.
## Get it like this:
npm install --save-dev tiled-brunch
## Usage
Any TMX files found in your assets folder will be converted into JSON files.
## Configuration
`config.plugins.tiled.tiledBin` (default: `'tiled'`): This is your Tiled executable. By default, assumes that you can invoke Tiled in your shell with `tiled`.
`config.plugins.tiled.targetFormat` (default: `'json'`): This is the target format that will be created by Tiled. Most of the export formats for Tiled don't work. JSON is pretty much it, so I would leave this alone unless you just wrote a Tiled plugin for your own game engine and you are prepared to deal with it or something.
## Note
This will make temporary export files next to your map, as Tiled can't export maps to stdout.