Skip to content

ianmcgregor/pixi-animate

 
 

Repository files navigation

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

http://jiborobot.github.io/pixi-animate/

Typescript

You can use require to get the namespace for PixiAnimate, or use a triple slash reference for using the PIXI.animate namespace.

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

let myMC:animate.MovieClip = new animate.MovieClip();
// 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();

License

Copyright (c) 2016 Jibo, Inc.

Released under the MIT License.

About

Pixi.js runtime library for content from Adobe Animate CC

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%