pixi.js / packages / ticker /
@Matt Karl Matt Karl authored on 29 Apr 2019
..
src Updated comments and docs for deprecated methods / properties. (#5616) 6 years ago
test Disable additional breaking Ticker test 6 years ago
LICENSE Update LICENSE files to 2018 (#4585) 7 years ago
README.md Application plugin structure (#4933) 6 years ago
package.json v5.0.0 5 years ago
README.md

@pixi/ticker

Installation

npm install @pixi/ticker

Usage

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();