Copyright License Bundle Size (Gzipped) NPM Version

LDTK Plugin

🛠️ A Plugin for LDTK JSON data.

Installation

npm install @theatrejs/plugin-ldtk --save

Quick Start

import * as PLUGIN_LDTK from '@theatrejs/plugin-ldtk';

import ldtk from './ldtk.json';

const grid = ldtk.createGrid({
    $level: 'Prototype',
    $layer: 'actors'
});