Skip to content

Commit 0f39649

Browse files
author
andrewstart
committed
Updated version and changes.
1 parent 925af74 commit 0f39649

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,29 @@
1-
Pixi Renderer
1+
Pixi Renderer
22
=============
33

44
#### *** IMPORTANT - V2 API CHANGES *** ####
55

66
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.
77

88
1: Creating a renderer now accepts an options parameter that you can add specific settings to:
9-
```
9+
```
1010
// an optional object that contains the settings for the renderer
1111
var options = {
1212
view:myCanvas,
1313
resolution:1
1414
};
1515
16-
var renderer = new PIXI.WebGLRenderer(800, 600, options)
16+
var renderer = new PIXI.WebGLRenderer(800, 600, options)
1717
```
1818

19-
2: A ```PIXI.RenderTexture``` now accepts a ```PIXI.Matrix``` as its second parameter instead of a point. This gives you much more flexibility:
19+
2: A ```PIXI.RenderTexture``` now accepts a ```PIXI.Matrix``` as its second parameter instead of a point. This gives you much more flexibility:
2020

2121
``` myRenderTexture.render(myDisplayObject, myMatrix) ```
2222

2323
Check out the docs for more info!
2424

2525

26-
![pixi.js logo](http://www.goodboydigital.com/pixijs/logo_small.png)
26+
![pixi.js logo](http://www.goodboydigital.com/pixijs/logo_small.png)
2727

2828
[<img src="http://www.pixijs.com/wp-content/uploads/2013/05/headerPanel_projects-898x342.jpg">](http://www.pixijs.com/projects)
2929
#### JavaScript 2D Renderer ####
@@ -189,3 +189,4 @@ This content is released under the (http://opensource.org/licenses/MIT) MIT Lice
189189
- Optimizations in the form of caching variables within functions if they are accessed a lot.
190190
- Gave DisplayObject default width/height properties, and changed the children bounds version of width/height on DisplayObjectContainer to be optional
191191
- Pivot points of text are based on their alignment, e.g. the pivot point of right aligned fields is at the right edge of the text.
192+
- Dropped use of ActiveXObject in PIXI.AjaxRequest because we don't care aobut old versions of IE.

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "pixi.js",
3-
"version": "2.1.6",
3+
"version": "2.1.7",
44

55
"main": "bin/pixi.dev.js",
66

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "pixi.js",
3-
"version": "2.1.6",
3+
"version": "2.1.7",
44
"description": "Pixi.js is a fast lightweight 2D library that works across all devices.",
55

66
"author": "Mat Groves",

0 commit comments

Comments
 (0)