Fatina
Small & Light tweening library for Games / Web
Description
A comprehensive and easy to use animation library for Typescript / Javascript
- Easy to use (API strongly inspired by Dotween)
- Lightweight with no dependencies ( < 20KB )
- Unit tested + code coverage
- Open source and MIT License (use it as you please)
Getting Started
Install
If you use directly the minified version
<script src="fatina.min.js"></script>
Or if you use NPM
> npm install fatina
And load it with
var Fatina = require('fatina');
import * as Fatina from 'fatina';
Usage
Fatina.tween(obj)
.to(destination, duration)
.start();
Fatina.tween(sprite)
.to({ x: 12, y:25 }, 0.5)
.start();