You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+26-1Lines changed: 26 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -75,6 +75,7 @@ Version 2.2.0 - "Bethal" - in development
75
75
76
76
### New Features
77
77
78
+
* Updated to Pixi v2.1.0 - see seprate change log entry below.
78
79
* Cache.getRenderTexture will retrieve a RenderTexture that is stored in the Phaser Cache. This method replaces Cache.getTexture which is now deprecated.
79
80
* Cache.autoResolveURL is a new boolean (default `false`) that automatically builds a cached map of all loaded assets vs. their absolute URLs, for use with Cache.getURL and Cache.checkURL. Note that in 2.1.3 and earlier this was enabled by default, but has since been moved behind this property which needs to be set to `true`*before* you load any assets to enable.
80
81
* You can now call Tween.to again on a Tween that has already completed. This will re-use the same tween, on the original object, without having to recreate the Tween again. This allows a single tween instance to be re-used multiple times, providing they are linked to the same object (thanks InsaneHero)
@@ -142,7 +143,6 @@ Version 2.2.0 - "Bethal" - in development
142
143
* ArcadePhysics.skipQuadTree is now set to `true` by default. A QuadTree is a wonderful thing if the objects in your game are well spaced out. But in tightly packed games, especially those with tilemaps or single-screen games, they are a considerable performance drain and eat up CPU. We've taken the decision to disable the Arcade Physics QuadTree by default. It's all still in there and can be re-enabled via `game.physics.arcade.skipQuadTree = false`, but please only do so if you're sure your game benefits from this.
143
144
* Phaser.DOM now houses new DOM functions. Some have been moved over from ScaleManager as appropriate.
144
145
145
-
146
146
### Bug Fixes
147
147
148
148
* Tilemaps in WebGL wouldn't update after the first frame due to a subtle change in how Pixi uploads new textures to the GPU.
@@ -161,6 +161,31 @@ Version 2.2.0 - "Bethal" - in development
161
161
* Lots of the Cache getters (such as `Cache.getbitmapData`) would return `undefined` if the asset couldn't be found. They now all consistently return `null` for missing entries (thanks @Matoking#1305)
162
162
* Phaser games should now work again from the CocoonJS Launcher.
163
163
164
+
### Pixi 2.1.0 New Features
165
+
166
+
* unloadFromGPU added to PIXI.BaseTexture
167
+
* PIXI.VideoTexture added
168
+
* PIXI.RoundedRectangle added
169
+
* Ensured all float32arrays use PIXI.Float32Array
170
+
* Removed the use of call in updateTransform (as its 10x faster to run the function directly)
171
+
* autoResize option added to renderer options (default is false). Pixi no longer automatically changes the style of the canvas.
* Fixed CocoonJS crashing, when loading destroyed texture
188
+
* Fix eventTarget emit bug
164
189
165
190
For details about changes made in previous versions of Phaser see the full Change Log at https://github.com/photonstorm/phaser/blob/master/CHANGELOG.md
* the Rounded Rectangle object is an area defined by its position and has nice rounded corners, as indicated by its top-left corner point (x, y) and by its width and its height.
7
+
*
8
+
* @class Rounded Rectangle
9
+
* @constructor
10
+
* @param x {Number} The X coordinate of the upper-left corner of the rounded rectangle
11
+
* @param y {Number} The Y coordinate of the upper-left corner of the rounded rectangle
12
+
* @param width {Number} The overall width of this rounded rectangle
13
+
* @param height {Number} The overall height of this rounded rectangle
14
+
* @param radius {Number} The overall radius of this corners of this rounded rectangle
0 commit comments