| .. | |||
| src | 6 years ago | ||
| test | 6 years ago | ||
| LICENSE | 7 years ago | ||
| README.md | 7 years ago | ||
| package.json | 6 years ago | ||
npm install @pixi/ticker
Create a Ticker object directly:
import { Ticker } from '@pixi/ticker';
const ticker = new Ticker();
ticker.start();
Use as an Application plugin:
import { TickerPlugin } from '@pixi/ticker';
import { Application } from '@pixi/app';
Application.registerPlugin(TickerPlugin);
const app = new Application();
app.ticker.start();