https://github.com/melonjs/tiled-inflate-plugin
a plugin to allow the loading and parsing of Tiled compressed (gzip/zlib) maps in melonJS
https://github.com/melonjs/tiled-inflate-plugin
game-development javascript melonjs plugin tiled tiled-map-editor typescript
Last synced: 3 months ago
JSON representation
a plugin to allow the loading and parsing of Tiled compressed (gzip/zlib) maps in melonJS
- Host: GitHub
- URL: https://github.com/melonjs/tiled-inflate-plugin
- Owner: melonjs
- License: mit
- Created: 2023-04-03T01:30:36.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-12T08:58:32.000Z (over 1 year ago)
- Last Synced: 2025-02-23T06:42:03.766Z (4 months ago)
- Topics: game-development, javascript, melonjs, plugin, tiled, tiled-map-editor, typescript
- Language: JavaScript
- Homepage:
- Size: 75.2 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG
- License: LICENSE
Awesome Lists containing this project
README
# melonJS Tiled inflate plugin
[](https://github.com/melonjs/es6-boilerplate/blob/master/LICENSE)
a melonJS plugin to enable loading and parsing of zlib and gzip compressed [Tiled](https://www.mapeditor.org) maps
>zstd compressed maps are not supported, see [here](https://github.com/melonjs/tiled-inflate-plugin/issues/2) for more details
>Note: this plugin requires melonJS version 15.2.1 or higherInstallation
-------------------------------------------------------------------------------
`$ [sudo] npm install @melonjs/tiled-inflate-plugin`Then import and instantiante the plugin in your project. For example:
```JavaScript
import { plugin } from 'melonjs';
import { TiledInflatePlugin } from '@melonjs/tiled-inflate-plugin';// register the plugin
plugin.register(TiledInflatePlugin);
```Once successfully registered, compressed maps will automatically be loaded and parsed by melonJS, no further actions are required.
Questions, need help ?
-------------------------------------------------------------------------------
If you need technical support, you can contact us through the following channels :
* Forums: with melonJS 2 we moved to a new discourse [forum](https://melonjs.discourse.group), but we can still also find the previous one [here](http://www.html5gamedevs.com/forum/32-melonjs/)
* Chat: come and chat with us on [discord](https://discord.gg/aur7JMk)
* we tried to keep our [wikipage](https://github.com/melonjs/melonJS/wiki) up-to-date with useful links, tutorials, and anything related melonJS.