Create sprites trees from an objet
with npm :
npm i pixi-createFrom
with html :
var CreateFrom =var doc =name:'main'type:containerchildren:type:'sprite'src:'/assets/bunny.png'x:100y:100children:type:'sprite'src:'/assets/glass.png'x:0y:5var stage =Pixirenderer
This repo was create to be combine with pixi-createFrom-photoshop.
Photoshop is well know and awesome to create pixels.
1- We will use this tools to generate an json
2- this json will be read by pixi-createFrom
3- pixi-createFrom will create an PIXI.Container with a tree of Sprites
4- and this PIXI.Container will be render by Pixi !