Newer
Older
pixi.js / packages / app / README.md
@Matt Karl Matt Karl on 10 Jun 2018 595 bytes Application plugin structure (#4933)

@pixi/app

Installation

npm install @pixi/app

Usage

import { Application } from '@pixi/app';

const app = new Application();
document.body.appendChild(app.view);

Plugins

PixiJS provides a few plugins to add features to the Application. These can be installed from the following packages. Use Application.registerPlugin to use these plugins. Note: if you are using pixi.js or pixi.js-legacy bundles, this is unnecessary since plugins are installed automatically by default.

  • LoaderPlugin from @pixi/loaders
  • TickerPlugin from @pixi/ticker