PIXI Animate
A plugin for Pixi.js which provides a runtime for content export using PixiAnimate Extension.
Running Content
Installing Library
To run content exported with PixiAnimate, you must load the JavaScript library within your project. You can install using Bower or NPM:
NPM
npm install pixi-animate
Dependencies
- Pixi.js v4 is required
Documentation
https://pixijs.io/pixi-animate/
Typescript
You can use require to get the namespace for PixiAnimate:
// Note: Must also include the pixi.js typings globally!; ;
Or use a triple slash reference for using the PIXI.animate namespace:
// Note: Must also include the pixi.js typings globally!/// require'pixi-animate'; ;
Or simply import pixi-animate (after importing pixi.js):
// Note: Must also include the pixi.js typings globally!;
License
Copyright (c) 2016 Jibo, Inc.
Released under the MIT License.