melonJS
    Preparing search index...

    melonJS Tiled Inflate Plugin

    melonJS Logo

    License: MIT NPM Package jsDeliver

    A melonJS plugin to enable loading and parsing of compressed Tiled maps.

    Supports gzip, zlib, and zstd compressed tile layer data.

    npm install @melonjs/tiled-inflate-plugin
    # or
    pnpm add @melonjs/tiled-inflate-plugin
    import { plugin } from "melonjs";
    import { TiledInflatePlugin } from "@melonjs/tiled-inflate-plugin";

    // register the plugin before loading any compressed Tiled maps
    plugin.register(TiledInflatePlugin);

    Once registered, melonJS will automatically decompress compressed tile layer data when loading Tiled maps.

    Format Supported Library
    gzip Yes pako
    zlib Yes pako
    zstd Yes fzstd

    MIT