RobotlegsJS PixiJS Extension
You can get the latest release and the type definitions using NPM:
npm install @robotlegsjs/pixi --save
Or using Yarn:
yarn add @robotlegsjs/pixi
0.2.0 of this package, the PixiJS dependencies were moved to peerDependencies,
allowing the final user to choose the desired version of the
pixi.js library on each project.
@robotlegsjs/pixi package is compatible with versions between the
>=4.2.1 <5 version range of
Since each version of
pixi.js library defines which version of
eventemitter3 library is being used, remember to also install the proper version of
eventemitter3 in your project.
As example, when you would like to use the version
pixi.js library, you can run:
npm install email@example.com eventemitter3@^2.0.0 reflect-metadata --save
yarn add firstname.lastname@example.org eventemitter3@^2.0.0 reflect-metadata
Then follow the installation instructions of RobotlegsJS library to complete the setup of your project.
Running the example
Run the following commands to run the example:
npm installnpm start
yarn installyarn start