@melonjs/tiled-inflate-plugin
TypeScript icon, indicating that this package has built-in type declarations

1.1.2 • Public • Published

melonJS Tiled inflate plugin

melonJS Logo

License: MIT

a melonJS plugin to enable loading and parsing of zlib and gzip compressed Tiled maps

zstd compressed maps are not supported, see here 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:

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, but we can still also find the previous one here
  • Chat: come and chat with us on discord
  • we tried to keep our wikipage up-to-date with useful links, tutorials, and anything related melonJS.

Package Sidebar

Install

npm i @melonjs/tiled-inflate-plugin

Weekly Downloads

8

Version

1.1.2

License

MIT

Unpacked Size

244 kB

Total Files

6

Last publish

Collaborators

  • melonjs