@theatrejs/plugin-ldtk
Version:
🛠️ A Plugin for LDTK JSON data.
27 lines (17 loc) • 921 B
Markdown
[](https://github.com/deformhead) [](https://github.com/theatrejs/plugin-ldtk/blob/master/LICENSE) [](https://www.npmjs.com/package/@theatrejs/plugin-ldtk/v/latest) [](https://www.npmjs.com/package/@theatrejs/plugin-ldtk/v/latest)
# LDTK Plugin
> *🛠️ A Plugin for LDTK JSON data.*
## Installation
```shell
npm install @theatrejs/plugin-ldtk --save
```
## Quick Start
```javascript
import * as PLUGIN_LDTK from '@theatrejs/plugin-ldtk';
import ldtk from './ldtk.json';
const grid = ldtk.createGrid({
$level: 'Prototype',
$layer: 'actors'
});
```
## [API](https://theatrejs.github.io/plugin-ldtk/index.html)