0.8.0 • Published 11 months ago

@masatomakino/tween.js-ticker v0.8.0

Weekly downloads
-
License
MIT
Repository
-
Last release
11 months ago

tween.js-ticker

!WARNING We do not recommend new installations of tween.js-ticker and tween.js v25 or later. manage tween instance creation/update manually.

This module is a simple Tween.js mainGroup substitute.

MIT License Test Maintainability Test Coverage

ReadMe Card

Demo

Demo page

Getting Started

Install

npm install @masatomakino/tween.js-ticker -D

How to use

import { TWEENTicker } from "@masatomakino/tween.js-ticker";

const tween = new Tween({ x: 0 })
  .to({ x: 100 }, 1000)
  .start();

TWEENTicker.group.add(tween); // start updating

tween.remove(); // if you want to stop updating, call remove method.

Just import it, tween.js-ticker will start automatically.

In Tween.js v25 and later, completed tween instances are not automatically removed from a group. To remove a tween instance, you must manually call the remove function.

API documentation

License

MIT licensed.

0.7.2

11 months ago

0.8.0

11 months ago

0.7.1

1 year ago

0.7.0

1 year ago

0.5.0

2 years ago

0.4.0

2 years ago

0.6.0

2 years ago

0.5.1

2 years ago

0.3.1

2 years ago

0.3.0

2 years ago

0.2.3

2 years ago

0.2.2

2 years ago

0.2.1

3 years ago