fatina-plugin-animator
v2.0.1 tween tweener tweening easing animation sequence typescript game
Fatina Helpers
Small & Light tweening library for Games / Web
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());
npm i fatina-plugin-animator
Metadata
- MIT
- Whatever
- Kevin destrem
- released 4/8/2018