pixi-animate
TypeScript icon, indicating that this package has built-in type declarations

1.3.5 • Public • Published

PIXI Animate

A plugin for Pixi.js which provides a runtime for content export using PixiAnimate Extension.

Build Status Dependency Status npm version

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

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!
import animate = require('pixi-animate');
 
let myMC:animate.MovieClip = new animate.MovieClip();

Or use a triple slash reference for using the PIXI.animate namespace:

// Note: Must also include the pixi.js typings globally!
/// <reference path="node_modules/pixi-animate/ambient.d.ts" />
require('pixi-animate');
 
let myMC:PIXI.animate.MovieClip = new PIXI.animate.MovieClip();

Or simply import pixi-animate (after importing pixi.js):

// Note: Must also include the pixi.js typings globally!
import('pixi-animate');

License

Copyright (c) 2016 Jibo, Inc.

Released under the MIT License.

Dependents (1)

Package Sidebar

Install

npm i pixi-animate

Weekly Downloads

4

Version

1.3.5

License

MIT

Unpacked Size

689 kB

Total Files

47

Last publish

Collaborators

  • marstonstudio
  • squiddisco
  • wwlib
  • jibo-jonathan
  • justin-perez
  • golgobot
  • mividtim
  • bigtimebuddy
  • andrewstart
  • ericente