Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

pixi.js

Package Overview
Dependencies
Maintainers
1
Versions
460
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pixi.js - npm Package Compare versions

Comparing version 2.2.7 to 3.0.0-rc1

.jshintignore

6

bower.json
{
"name": "pixi.js",
"version": "2.2.7",
"version": "3.0.0-rc1",

@@ -11,3 +11,5 @@ "main": "bin/pixi.dev.js",

"bower_components",
"test"
"test",
"examples",
"tasks"
],

@@ -14,0 +16,0 @@ "dependencies": {

{
"name": "pixi.js",
"version": "2.2.7",
"version": "3.0.0-rc1",
"description": "Pixi.js is a fast lightweight 2D library that works across all devices.",
"author": "Mat Groves",
"contributors": [
"Chad Engler <chad@pantherdev.com>"
"Chad Engler <chad@pantherdev.com>",
"Richard Davey <rdavey@gmail.com>"
],
"logo": "http://www.goodboydigital.com/pixijs/logo_small.png",
"main": "./src/index.js",
"homepage": "http://goodboydigital.com/",
"bugs": "https://github.com/GoodBoyDigital/pixi.js/issues",
"license": "MIT",
"licenseUrl": "http://www.opensource.org/licenses/mit-license.php",
"repository": {

@@ -18,24 +18,45 @@ "type": "git",

},
"main": "bin/pixi.dev.js",
"scripts": {
"test": "grunt travis --verbose"
"test": "gulp test",
"docs": "./node_modules/.bin/jsdoc -c ./gulp/util/jsdoc.conf.json"
},
"dependencies": {},
"devDependencies": {
"grunt": "~0.4.1",
"grunt-contrib-jshint": "~0.8",
"grunt-contrib-uglify": "~0.2",
"grunt-contrib-connect": "~0.5",
"grunt-contrib-yuidoc": "~0.5",
"grunt-concat-sourcemap": "~0.4",
"grunt-contrib-concat": "~0.3",
"mocha": "~1.15",
"chai": "~1.8",
"karma": "~0.12",
"karma-chrome-launcher": "~0.1",
"karma-firefox-launcher": "~0.1",
"karma-mocha": "~0.1",
"karma-spec-reporter": "~0.0.6",
"grunt-contrib-watch": "~0.5.3"
"brfs": "^1.2.0",
"browserify": "^8.0.2",
"chai": "^1.10.0",
"del": "^1.1.0",
"gulp": "^3.8.10",
"gulp-cached": "^1.0.1",
"gulp-concat": "^2.5.2",
"gulp-debug": "^2.0.0",
"gulp-jsdoc": "^0.1.4",
"gulp-jshint": "^1.9.0",
"gulp-plumber": "^0.6.6",
"gulp-rename": "^1.2.0",
"gulp-uglify": "^1.0.2",
"gulp-util": "^3.0.1",
"ink-docstrap": "^0.5.2",
"jsdoc": "^3.3.0-alpha13",
"jshint-summary": "^0.4.0",
"karma": "^0.12.28",
"karma-firefox-launcher": "^0.1.0",
"karma-mocha": "^0.1.10",
"karma-spec-reporter": "^0.0.16",
"minimist": "^1.1.0",
"mocha": "^2.1.0",
"require-dir": "^0.1.0",
"run-sequence": "^1.0.2",
"vinyl-buffer": "^1.0.0",
"vinyl-source-stream": "^1.0.0",
"watchify": "^2.2.1"
},
"dependencies": {
"async": "^0.9.0",
"resource-loader": "^1.2.0"
},
"browserify": {
"transform": [
"brfs"
]
}
}

@@ -1,29 +0,8 @@

Pixi Renderer
Pixi Renderer
=============
#### *** IMPORTANT - V2 API CHANGES *** ####
![pixi.js logo](http://www.goodboydigital.com/pixijs/logo_small.png)
A heads up for anyone updating their version of pixi.js to version 2, as we have changed a couple of bits that you need to be aware of. Fortunately, there are only two changes, and both are small.
[<img src="http://www.pixijs.com/wp-content/uploads/2013/05/headerPanel_projects-898x342.jpg">](http://www.pixijs.com/projects)
1: Creating a renderer now accepts an options parameter that you can add specific settings to:
```
// an optional object that contains the settings for the renderer
var options = {
view:myCanvas,
resolution:1
};
var renderer = new PIXI.WebGLRenderer(800, 600, options)
```
2: A ```PIXI.RenderTexture``` now accepts a ```PIXI.Matrix``` as its second parameter instead of a point. This gives you much more flexibility:
``` myRenderTexture.render(myDisplayObject, myMatrix) ```
Check out the docs for more info!
![pixi.js logo](http://www.goodboydigital.com/pixijs/logo_small.png)
[<img src="http://www.pixijs.com/wp-content/uploads/2013/05/headerPanel_projects-898x342.jpg">](http://www.pixijs.com/projects)
#### JavaScript 2D Renderer ####

@@ -40,3 +19,3 @@

[![Inline docs](http://inch-ci.org/github/GoodBoyDigital/pixi.js.svg?branch=master)](http://inch-ci.org/github/GoodBoyDigital/pixi.js)
[![Inline docs](http://inch-ci.org/github/GoodBoyDigital/pixi.js.svg?branch=dev)](http://inch-ci.org/github/GoodBoyDigital/pixi.js)
[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/GoodBoyDigital/pixi.js/trend.png)](https://bitdeli.com/free "Bitdeli Badge")

@@ -50,3 +29,3 @@

- [Fight for Everyone](<http://www.goodboydigital.com/casestudies/fightforeveryone/>)
- [Fight for Everyone](<http://www.theleisuresociety.co.uk/fightforeveryone>)

@@ -56,3 +35,3 @@ - [Flash vs HTML](<http://flashvhtml.com>)

- [Bunny Demo](<http://www.goodboydigital.com/pixijs/bunnymark>)
- [Storm Brewing](<http://www.goodboydigital.com/pixijs/storm/>)

@@ -87,13 +66,2 @@

### Road Map ###
* Create a Typescript definition file for Pixi.js
* Implement Flash animation to pixi
* Update Loader so that it support XHR2 if it is available
* Improve the Documentation of the Project
* Create an Asset Loader Tutorial
* Create a MovieClip Tutorial
* Create a small game Tutorial
### Contribute ###

@@ -109,6 +77,8 @@

PixiJS is built with Grunt. If you don't already have this, go install Node and NPM then install the Grunt Command Line.
PixiJS is built with Gulp.
If you don't already have Node.js and NPM, go install them.
Once you do, then install Gulp.
```
$> npm install -g grunt-cli
$> npm install -g gulp
```

@@ -122,12 +92,25 @@

Then build:
Then, to build the source, run:
```
$> grunt
$> gulp build
```
This will create a minified version at bin/pixi.js and a non-minified version at bin/pixi.dev.js.
This will create a minified version at bin/pixi.min.js and a non-minified version at bin/pixi.js.
It also copies the non-minified version to the examples.
### How to generate the documentation ###
The docs can be generated using npm:
```
$> npm run docs
```
There is also a gulp task to generate them if you want to:
```
$> gulp jsdoc
```
The documentation uses [DocStrap](https://github.com/terryweiss/docstrap) and the jsdoc format, the configuration
file can be found at [gulp/utils/jsdoc.conf.json](https://github.com/GoodBoyDigital/pixi.js/blob/dev/gulp/util/jsdoc.conf.json)
### Current features ###

@@ -161,3 +144,3 @@

var stage = new PIXI.Stage;
var stage = new PIXI.Container();

@@ -164,0 +147,0 @@ var bunnyTexture = PIXI.Texture.fromImage("bunny.png");

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc