pixi.js / packages / ticker /
@Dave Moore Dave Moore authored on 2 Jul 2019
Matt Karl committed on 2 Jul 2019
..
src Max FPS can be disabled by setting to 0. (#5833) 5 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 Bump floss for 3.0 & codecov integration (#5792) 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();