0.9.1 • Published 1 month ago

@masatomakino/pixijs-basic-button v0.9.1

Weekly downloads
-
License
MIT
Repository
-
Last release
1 month ago

pixijs-basic-button

Interactive button library for pixi.js

MIT License CI Maintainability Test Coverage

ReadMe Card

Demo

Demo Page

Getting Started

Install

pixijs-basic-button depend on pixi.js

npm install pixi.js --save-dev

and

npm install @masatomakino/pixijs-basic-button.git --save-dev

Import

pixijs-basic-button is composed of ES6 modules and TypeScript d.ts files.

At first, import classes.

import { BasicClickButton } from "@masatomakino/pixijs-basic-button";

Add to stage

import { Assets, Sprite } form "pixi.js"

await Assets.load(bitmapURL);
const button = new BasicClickButton({
  normal: Sprite.form(bitmapURL),
});
stage.addChild(button);

API documents

License

MIT licensed.

0.9.1

1 month ago

0.9.0

2 months ago

0.8.0

3 months ago

0.7.1

8 months ago

0.7.0

8 months ago

0.6.2

11 months ago

0.5.0

1 year ago

0.4.1

1 year ago

0.6.1

1 year ago

0.6.0

1 year ago

0.3.1

1 year ago

0.3.0

1 year ago

0.2.2

2 years ago

0.2.1

2 years ago