pixi-losing-connection-effect
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

Pixi Losing Connection Effect

AKA Zoom Escaper

Simulate Losing Connection Effect from pixijs

img

Install

# npm
npm install pixi-losing-connection-effect

# yarn
yarn add pixi-losing-connection-effect

Usage

import { LosingConnection } from "pixi-losing-connection-effect";

const app = new Application({
  // **
});

const LC = new LosingConnection(app, 75);
LC.start();

//  change the dealy level 1-100
LC.delay = 90;

//  stop the effect
LC.stop();

//  start the effect
LC.start();

//  destroy
LC.destroy();

Demo

# clone this repository
$ git clone https://github.com/carl-jin/pixi-losing-connection-effect.git

$ cd pixi-losing-connection-effect

$ yarn install

$ yarn serve

License

This project is licensed under the MIT License.

Package Sidebar

Install

npm i pixi-losing-connection-effect

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

2 MB

Total Files

8

Last publish

Collaborators

  • buff2017