An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

        

# melonJS Tiled inflate plugin
![melonJS Logo](https://github.com/melonjs/melonJS/raw/master/media/Banner/Banner%20-%20Billboard%20-%20Original%20Logo%20-%20horizontal.png)

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](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 higher

Installation
-------------------------------------------------------------------------------
`$ [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.