Skip to content

zhou-yg/pixi-react

Repository files navigation

pixi-react

organize pixi object group like react style

installation

npm i --save-dev pixi-react

in the past

const c1 = new PIXI.Container();
const c2 = new PIXI.Container();
const c3 = new PIXI.Container();

c1.addChild(c2);
c1.addChild(c3);

now

class C1 extends PactComponent {
  render () {
    return (
      <c>
        <c/>
        <c/>
      </c>
    );
  }
}

how to dev

npm run build-w

npm run mocha-w

About

react style for pixi.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published