Skip to content

Commit

Permalink
Removed src
Browse files Browse the repository at this point in the history
  • Loading branch information
ShukantPal committed Mar 7, 2020
1 parent 4e8ce90 commit b2f53c7
Show file tree
Hide file tree
Showing 50 changed files with 5,218 additions and 20,994 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,6 @@ docs/


/menu

lerna-debug.log
npm-debug.log
27 changes: 27 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,30 @@

This project was built to provide an user experience module that can be integrated with your
PixiJS application. It allows you to render your scene graph _with your user interface with very little overhead_.

## Usage

This project is work-in-progress and is not yet published. The following instructions are draft-only.

```js
npm install @puxi/core
```

```js
const app = new PIXI.Application({ <options> });

const uxStage = new PUXI.Stage({
width: 512,
height: 512;
});

app.stage.addChild(uxStage);

uxStage.addChild(new PUXI.Button({
text: "Hello world!"
}));

uxStage.addChild(new PUXI.Text({
value: "Click me!"
}));
```
Loading

0 comments on commit b2f53c7

Please sign in to comment.