a melonJS plugin to enable loading and parsing of compressed Tiled maps. Supports gzip, zlib, and zstd compressed tile layer data.
import { TiledInflatePlugin } from "@melonjs/tiled-inflate-plugin";import { plugin as mePlugin } from "melonjs";// register the pluginmePlugin.register(TiledInflatePlugin); Copy
import { TiledInflatePlugin } from "@melonjs/tiled-inflate-plugin";import { plugin as mePlugin } from "melonjs";// register the pluginmePlugin.register(TiledInflatePlugin);
a reference to the app/game that registered this plugin
a melonJS plugin to enable loading and parsing of compressed Tiled maps. Supports gzip, zlib, and zstd compressed tile layer data.
Example