robotlegs-pixi

PIXI View Integration with RobotlegsJS

Usage no npm install needed!

<script type="module">
  import robotlegsPixi from 'https://cdn.skypack.dev/robotlegs-pixi';
</script>

README

RobotlegsJS PixiJS Extension

Join the chat at https://gitter.im/GoodgameStudios/RobotlegsJS Build Status Code Climate Test Coverage npm version Greenkeeper badge

NPM NPM

Integrate RobotlegsJS framework with PixiJS.

Usage

/// <reference path="node_modules/robotlegs-pixi/definitions/pixi.d.ts" />

import { Context, MVCSBundle } from "robotlegs";
import { PixiBundle ,ContextView } from "robotlegs-pixi";

let context = new Context();
context.
  install( MVCSBundle, PixiBundle ).
  configure( new ContextView((<any>this.renderer).plugins.interaction) );

Running the example

Run the following commands to run the example:

npm install -g typings
typings install
npm install
npm start

License

MIT