RobotlegsJS Phaser Extension
You can get the latest release and the type definitions using NPM:
npm install @robotlegsjs/phaser --save-prod
Or using Yarn:
yarn add @robotlegsjs/phaser
0.2.0 of this package, the Phaser dependency was moved to peerDependencies,
allowing the final user to choose the desired version of the
phaser library on each project.
@robotlegsjs/phaser package is compatible with versions between the
>=3.11.0 <4 version range of
As example, when you would like to use the version
phaser library, you can run:
npm install email@example.com reflect-metadata --save-prod
yarn add firstname.lastname@example.org 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
RobotlegsJS integration with Phaser CE (Community Edition)
@robotlegsjs/phaser package was updated to support Phaser v3 plugin.