4.0.0 • Published 4 months ago

pixi-console v4.0.0

Weekly downloads
25
License
MIT
Repository
github
Last release
4 months ago

Pixi-console

code style: prettier

Console class for Pixi.js useful for developing mobile game.

By default attaches itself to console log and error and will show itself if error is occurred.

showcase image

Recent update ( 25.12.2023 )

  • 🆕 Added support for Pixi v7 alongside with v6

Table of Contents

Installation

npm install pixi-console
  • For backward compatibility ( pixi.js v5 ) go with pixi-console 3.0.0 or greater version
  • For backward compatibility ( pixi.js v4 ) go with pixi-console 2.5.0 or greater version

Usage

import { PixiConsole, PixiConsoleConfig } from "pixi-console";

// customize default values of PixiConsole
const consoleConfig = new PixiConsoleConfig();
consoleConfig.consoleWidth = 800;
consoleConfig.consoleHeight = 600;

const pixiConsole = new PixiConsole(consoleConfig);
stage.addChild(pixiConsole);

const secondConsole = new PixiConsole(consoleConfig); // Error PixiConsole is singleton..
pixiConsole == PixiConsole.getInstance(); // true

Documentation

Support

Please open an issue for support.

Contributing

Please contribute using Github Flow. Create a branch, add commits, and open a pull request.

4.0.0

4 months ago

3.2.1

3 years ago

3.2.0

3 years ago

3.1.1

4 years ago

3.1.0

4 years ago

3.0.1

5 years ago

2.5.0

5 years ago

3.0.0

5 years ago

2.4.1

5 years ago

2.4.0

5 years ago

2.3.3

5 years ago

2.3.2

5 years ago

2.3.1

5 years ago

2.3.0

5 years ago

2.2.0

5 years ago

2.1.1

5 years ago

2.1.0

5 years ago

2.0.3

5 years ago

2.0.2

5 years ago

2.0.1

5 years ago

2.0.0

5 years ago

1.1.0

5 years ago

1.0.0

6 years ago

0.9.0

6 years ago

0.8.0

6 years ago

0.7.0

6 years ago

0.6.1

6 years ago

0.6.0

6 years ago

0.5.1

6 years ago

0.5.0

6 years ago

0.4.1

6 years ago

0.4.0

6 years ago

0.3.3

6 years ago

0.3.2

6 years ago

0.3.1

6 years ago

0.3.0

6 years ago

0.2.0

6 years ago

0.1.0

6 years ago