fatina-plugin-animator
TypeScript icon, indicating that this package has built-in type declarations

2.0.1 • Public • Published

Logo

Fatina Helpers

Small & Light tweening library for Games / Web

NPM Version NPM Downloads Build Status Coverage Status Codacy Badge License

Description

This plugin provide tools to manage and use animations in html5 games any library (pixi, phaser, ...)

This is split in two parts:

  • AnimationManager: use to store/instantiate animations and manage tickers
  • Animator: Component added to an object to animate.

This plugin requires Fatina : Here

Getting Started

Install

If you use directly the minified version

<script src="fatina-plugin-animator.min.js"></script>

Or if you use NPM

> npm install fatina-plugin-animator

Init

// standard node.js require
var FatinaPluginAnimator = require('fatina-plugin-animator');
// OR
// standard import with typescript (typed version)
import * as FatinaPluginAnimator from 'fatina-plugin-animator';

and initialize (add this plugin to Fatina)

Fatina.init();
Fatina.loadPlugin(FatinaPluginAnimator.get());

Package Sidebar

Install

npm i fatina-plugin-animator

Weekly Downloads

6

Version

2.0.1

License

MIT

Unpacked Size

152 kB

Total Files

22

Last publish

Collaborators

  • kefniark