-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
493 changed files
with
270,098 additions
and
19 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -9,4 +9,5 @@ plugins/ | |
*.keystore | ||
*.apk | ||
icon*x*.png | ||
build_release.sh | ||
build_release.sh | ||
texturepacker |
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,75 @@ | ||
{"frames": { | ||
|
||
"desert.png": | ||
{ | ||
"frame": {"x":670,"y":670,"w":380,"h":331}, | ||
"rotated": true, | ||
"trimmed": true, | ||
"spriteSourceSize": {"x":590,"y":178,"w":380,"h":331}, | ||
"sourceSize": {"w":1000,"h":1000}, | ||
"pivot": {"x":0.5,"y":0.5} | ||
}, | ||
"field.png": | ||
{ | ||
"frame": {"x":2,"y":337,"w":381,"h":331}, | ||
"rotated": false, | ||
"trimmed": true, | ||
"spriteSourceSize": {"x":306,"y":15,"w":381,"h":331}, | ||
"sourceSize": {"w":1000,"h":1000}, | ||
"pivot": {"x":0.5,"y":0.5} | ||
}, | ||
"forest.png": | ||
{ | ||
"frame": {"x":2,"y":670,"w":381,"h":332}, | ||
"rotated": true, | ||
"trimmed": true, | ||
"spriteSourceSize": {"x":24,"y":505,"w":381,"h":332}, | ||
"sourceSize": {"w":1000,"h":1000}, | ||
"pivot": {"x":0.5,"y":0.5} | ||
}, | ||
"hills.png": | ||
{ | ||
"frame": {"x":386,"y":2,"w":382,"h":332}, | ||
"rotated": false, | ||
"trimmed": true, | ||
"spriteSourceSize": {"x":306,"y":668,"w":382,"h":332}, | ||
"sourceSize": {"w":1000,"h":1000}, | ||
"pivot": {"x":0.5,"y":0.5} | ||
}, | ||
"mountain.png": | ||
{ | ||
"frame": {"x":336,"y":670,"w":381,"h":332}, | ||
"rotated": true, | ||
"trimmed": true, | ||
"spriteSourceSize": {"x":24,"y":179,"w":381,"h":332}, | ||
"sourceSize": {"w":1000,"h":1000}, | ||
"pivot": {"x":0.5,"y":0.5} | ||
}, | ||
"ocean.png": | ||
{ | ||
"frame": {"x":2,"y":2,"w":382,"h":333}, | ||
"rotated": false, | ||
"trimmed": true, | ||
"spriteSourceSize": {"x":307,"y":341,"w":382,"h":333}, | ||
"sourceSize": {"w":1000,"h":1000}, | ||
"pivot": {"x":0.5,"y":0.5} | ||
}, | ||
"pasture.png": | ||
{ | ||
"frame": {"x":386,"y":336,"w":382,"h":332}, | ||
"rotated": false, | ||
"trimmed": true, | ||
"spriteSourceSize": {"x":588,"y":504,"w":382,"h":332}, | ||
"sourceSize": {"w":1000,"h":1000}, | ||
"pivot": {"x":0.5,"y":0.5} | ||
}}, | ||
"meta": { | ||
"app": "http://www.codeandweb.com/texturepacker", | ||
"version": "1.0", | ||
"image": "spritesheet.png", | ||
"format": "RGBA8888", | ||
"size": {"w":1003,"h":1053}, | ||
"scale": "1", | ||
"smartupdate": "$TexturePacker:SmartUpdate:b14b7e7dd417e8b7ee9f590f109873d9:27942f005438134559a60909ecb37b7c:729adc6043343cfda41c447ce8f464d6$" | ||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
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,24 @@ | ||
{ | ||
"name": "pixi.js", | ||
"version": "2.2.3", | ||
"main": "bin/pixi.dev.js", | ||
"ignore": [ | ||
"**/.*", | ||
"node_modules", | ||
"bower_components", | ||
"test" | ||
], | ||
"dependencies": {}, | ||
"devDependencies": {}, | ||
"homepage": "https://github.com/GoodBoyDigital/pixi.js", | ||
"_release": "2.2.3", | ||
"_resolution": { | ||
"type": "version", | ||
"tag": "v2.2.3", | ||
"commit": "85b6c1023dec32144bddf781923402d10dbabd0e" | ||
}, | ||
"_source": "git://github.com/GoodBoyDigital/pixi.js.git", | ||
"_target": "~2.2.3", | ||
"_originalSource": "pixi", | ||
"_direct": true | ||
} |
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,62 @@ | ||
# How to contribute | ||
|
||
It is essential to the development of pixi.js that the community is empowered | ||
to make changes and get them into the library. Here are some guidlines to make | ||
that process silky smooth for all involved. | ||
|
||
## Reporting issues | ||
|
||
To report a bug, request a feature, or even ask a question, make use of the GitHub Issues | ||
section for [pixi.js][0]. When submitting an issue please take the following steps: | ||
|
||
1. **Seach for existing issues.** Your question or bug may have already been answered or fixed, | ||
be sure to search the issues first before putting in a duplicate issue. | ||
|
||
2. **Create an isolated and reproducible test case.** If you are reporting a bug, make sure you | ||
also have a minimal, runnable, code example that reproduces the problem you have. | ||
|
||
3. **Include a live example.** After narrowing your code down to only the problem areas, make use | ||
of [jsFiddle][1], [jsBin][2], or a link to your live site so that we can view a live example of the problem. | ||
|
||
4. **Share as much information as possible.** Include browser version affected, your OS, version of | ||
the library, steps to reproduce, etc. "X isn't working!!!1!" will probably just be closed. | ||
|
||
|
||
## Making Changes | ||
|
||
To setup for making changes you will need node.js, and grunt installed. You can download node.js | ||
from [nodejs.org][3]. After it has been installed open a console and run `npm i -g grunt-cli` to | ||
install the global `grunt` executable. | ||
|
||
After that you can clone the pixi.js repository, and run `npm i` inside the cloned folder. | ||
This will install dependencies necessary for building the project. Once that is ready, make your | ||
changes and submit a Pull Request. When submitting a PR follow these guidlines: | ||
|
||
- **Send Pull Requests to the `dev` branch.** All Pull Requests must be sent to the `dev` branch, | ||
`master` is the latest release and PRs to that branch will be closed. | ||
|
||
- **Ensure changes are jshint validated.** After making a change be sure to run the build process | ||
to ensure that you didn't break anything. You can do this with `grunt && grunt test` which will run | ||
jshint, rebuild, then run the test suite. | ||
|
||
- **Never commit new builds.** When making a code change, you should always run `grunt` which will | ||
rebuild the project, *however* please do not commit these new builds or your PR will be closed. | ||
|
||
- **Only commit relevant changes.** Don't include changes that are not directly relevant to the fix | ||
you are making. The more focused a PR is, the faster it will get attention and be merged. Extra files | ||
changing only whitespace or trash files will likely get your PR closed. | ||
|
||
## Quickie Code Style Guide | ||
|
||
- Use 4 spaces for tabs, never tab characters. | ||
|
||
- No trailing whitespace, blank lines should have no whitespace. | ||
|
||
- Always favor strict equals `===` unless you *need* to use type coercion. | ||
|
||
- Follow conventions already in the code, and listen to jshint. | ||
|
||
[0]: https://github.com/GoodBoyDigital/pixi.js/issues | ||
[1]: http://jsfiddle.net | ||
[2]: http://jsbin.com/ | ||
[3]: http://nodejs.org |
Oops, something went wrong.