0.1.0 • Published 4 years ago

@iro/tilemap v0.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

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

4 years ago

0.0.2

4 years ago

0.0.1

5 years ago