-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Reorganized files * Adds new files * Adds new files * Updated to next-lerna * Linting fixes, disable deprecations * Created bundles and plugins folders * Adds polyfill plugin * Test pass * Better build dest selection * Externalized fragment shaders and vertex shaders * Renamed plugins to packages * Creates core package, updates Rollup version * Reorganized pixi.js into packages * Added packages, readmes, licenses for all packages * Resolve minor build, dependency issues * Ignore non-first comments with uglify * Fixes fragment dependencies * Adds settings, constants, utils, math, display, app * Fixes import issues with core * Fixes build all modules, updates deprecations * Fixes listing issues * Temporarily disable coverage * Broke up tests * Rename GeometryBuffer to Buffer * Fixes tests for all * Remove placeholder test * Adds test for constants * Add test for accessibility * Created integrations tests * Travis-friendly test concurrency * Un-did concurrency for tests * Better tester shebang * Temporarily disable tests for mesh * Log out floss error * Moves filters to new filters root folder * Combines premultiply, deprecates PIXI.extras namespace * Documentation fixes * Moves integration tests to tools * TimeLimiter test is too unstable for slow environments
- Loading branch information
1 parent
db0caa6
commit 64ca373
Showing
541 changed files
with
6,564 additions
and
4,321 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<!-- | ||
Thank you for reporting an issue! | ||
Before opening an issue _please_ check if a similar issue exists by | ||
searching existing issues (https://github.com/pixijs/pixi.js/issues). | ||
If possible, please provide code that demonstrates the problem. | ||
Links to a running example of the problem are best! | ||
Before submitting please read: | ||
Contributors guide: https://github.com/pixijs/pixi.js/blob/dev/.github/CONTRIBUTING.md | ||
Code of Conduct: https://github.com/pixijs/pixi.js/blob/dev/.github/CODE_OF_CONDUCT.md | ||
--> | ||
|
||
- **Library Version**: _version_ | ||
- **Browser & Version**: _version_ | ||
- **OS & Version**: _version_ | ||
- **Running Example**: _url_ | ||
|
||
<!-- Enter your issue details below this comment. --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<!-- | ||
Thank you for your pull request! | ||
Bug fixes and new features should include tests and possibly benchmarks. | ||
Before submitting please read: | ||
Contributors guide: https://github.com/Fae/fae/blob/master/CONTRIBUTING.md | ||
Code of Conduct: https://github.com/Fae/fae/blob/master/CODE_OF_CONDUCT.md | ||
--> | ||
|
||
##### Description of change | ||
<!-- Provide a description of the change below this comment. --> | ||
|
||
##### Pre-Merge Checklist | ||
<!-- Remove items that do not apply. For completed items, change [ ] to [x]. --> | ||
|
||
- [ ] Tests and/or benchmarks are included | ||
- [ ] Documentation is changed or added | ||
- [ ] Lint process passed (`npm run lint`) | ||
- [ ] Tests passed (`npm run test`) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
The MIT License | ||
|
||
Copyright (c) 2013-2017 Mathew Groves, Chad Engler | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in | ||
all copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
THE SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
PixiJS — The HTML5 Creation Engine | ||
============= | ||
|
||
![pixi.js logo](http://www.goodboydigital.com/pixijs/pixiV4_wide_full.jpg) | ||
|
||
[![Inline docs](http://inch-ci.org/github/pixijs/pixi.js.svg?branch=dev)](http://inch-ci.org/github/pixijs/pixi.js) | ||
[![Build Status](https://travis-ci.org/pixijs/pixi.js.svg?branch=dev)](https://travis-ci.org/pixijs/pixi.js) | ||
|
||
The aim of this project is to provide a fast lightweight 2D library that works | ||
across all devices. The PixiJS renderer allows everyone to enjoy the power of | ||
hardware acceleration without prior knowledge of WebGL. Also, it's fast. Really fast. | ||
|
||
**Your support helps us make PixiJS even better. Make your pledge on [Patreon](https://www.patreon.com/user?u=2384552&ty=h&u=2384552) and we'll love you forever!** | ||
|
||
### Setup | ||
|
||
PixiJS can be installed with [npm](https://docs.npmjs.com/getting-started/what-is-npm) to integration with [Webpack](https://webpack.js.org/), [Browserify](http://browserify.org/), [Rollup](https://rollupjs.org/), [Electron](https://electron.atom.io/), [NW.js](https://nwjs.io/) or other module backed environments. | ||
|
||
#### Install | ||
|
||
``` | ||
$> npm install pixi.js | ||
``` | ||
|
||
### Basic Usage Example | ||
|
||
```js | ||
// The application will create a renderer using WebGL, if possible, | ||
// with a fallback to a canvas render. It will also setup the ticker | ||
// and the root stage PIXI.Container. | ||
const app = new PIXI.Application(); | ||
|
||
// The application will create a canvas element for you that you | ||
// can then insert into the DOM. | ||
document.body.appendChild(app.view); | ||
|
||
// load the texture we need | ||
PIXI.loader.add('bunny', 'bunny.png').load((loader, resources) => { | ||
|
||
// This creates a texture from a 'bunny.png' image. | ||
const bunny = new PIXI.Sprite(resources.bunny.texture); | ||
|
||
// Setup the position of the bunny | ||
bunny.x = app.renderer.width / 2; | ||
bunny.y = app.renderer.height / 2; | ||
|
||
// Rotate around the center | ||
bunny.anchor.x = 0.5; | ||
bunny.anchor.y = 0.5; | ||
|
||
// Add the bunny to the scene we are building. | ||
app.stage.addChild(bunny); | ||
|
||
// Listen for frame updates | ||
app.ticker.add(() => { | ||
// each frame we spin the bunny around a bit | ||
bunny.rotation += 0.01; | ||
}); | ||
}); | ||
``` | ||
|
||
### License | ||
|
||
This content is released under the (http://opensource.org/licenses/MIT) MIT License. | ||
|
||
[![Analytics](https://ga-beacon.appspot.com/UA-39213431-2/pixi.js/index)](https://github.com/igrigorik/ga-beacon) |
Oops, something went wrong.