@iro/tilemap
v0.1.0
Published
Collision engine may evolve into physical engine.
Downloads
3
Readme
tilemap
The tilemap renderer for pixi.js.
Currently only infinite Map is supported and the layer type is CSV.
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)