@iro/tilemap
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

tilemap

The tilemap renderer for pixi.js.

Currently only infinite Map is supported and the layer type is CSV.

DEMO

Install

npm i @iro/tilemap

Usage

import {Tilemap, Layer} from '@iro/tilemap'

const map = new Tilemap({
  data: loader.resources['hometown.json'].data,
  tileset: {
    '1': loader.resources['1.png'].texture
  }
})

stage.addChild(map)

Readme

Keywords

none

Package Sidebar

Install

npm i @iro/tilemap

Weekly Downloads

0

Version

0.1.0

License

MIT

Unpacked Size

52.1 kB

Total Files

9

Last publish

Collaborators

  • jetlua