Skip to content

GoodgameStudios/RobotlegsJS-Pixi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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