@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)

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.0
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.0
    0
  • 0.0.2
    0
  • 0.0.1
    0

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