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
+17-11Lines changed: 17 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -61,6 +61,7 @@ Version 2.0.4 - "Mos Shirare" - in development
61
61
### Updates
62
62
63
63
* Updated to [Pixi.js 1.5.3](https://github.com/GoodBoyDigital/pixi.js/releases/tag/v1.5.3)
64
+
* Updated to latest [p2.js](https://github.com/schteppe/p2.js/commits/master) - all commits from 0.5.0 to Apr 27th 2014.
64
65
* TypeScript definitions fixes and updates (thanks @clark-stevenson@metrofun@killalau)
65
66
* Timer has removed all use of local temporary vars in the core update loop.
66
67
* The Input.reset `hard` reset parameter is now passed down to the Keyboard and Key reset methods.
@@ -88,22 +89,24 @@ Version 2.0.4 - "Mos Shirare" - in development
88
89
89
90
### New Features
90
91
92
+
* New Phaser Project Template specifically for requireJS in the `resources/Project Templates` folder (many thanks @ashatch)
91
93
* Loader now has an onFileStart event you can listen for (thanks @codevinsky, #705)
94
+
* Group.classType allows you to change the type of object that Group.create or createMultiple makes from Phaser.Sprite to your own custom class.
92
95
* Timer.clearPendingEvents will purge any events marked for deletion, this is run automatically at the start of the update loop.
93
96
* Device.crosswalk detects if your game is running under Intels Crosswalk XDK.
94
97
* Keyboard.reset has a new `hard` parameter which controls the severity of the reset. A soft reset doesn't remove any callbacks or event listeners.
95
98
* Key.reset has a new `hard` parameter which controls the severity of the reset. A soft reset doesn't remove any callbacks or event listeners.
96
99
* InputManager.resetLocked - If the Input Manager has been reset locked then all calls made to InputManager.reset, such as from a State change, are ignored.
97
100
* Group.resetCursor will reset the Group cursor back to the start of the group, or to the given index value.
98
101
* World.wrap will take a game object and if its x/y coordinates fall outside of the world bounds it will be repositioned on the opposite side, for a wrap-around effect.
99
-
* Group.classType allows you to change the type of object that Group.create or createMultiple makes from Phaser.Sprite to your own custom class.
100
-
* Game.scratch is a single handy BitmapData instance that can be used as a visual scratch-pad, for off-screen bitmap manipulation (and is used as such by BitmapData itself).
101
102
* Device.support32bit is a new boolean that sets if the context supports 32bit pixel manipulation using array buffer views or not.
102
-
* BitmapData.processPixelRGB lets you perform a custom callback on every pixel in the BitmapData.
103
-
104
103
* P2.World now has its own pause and resume methods, so you can pause the physics simulation independent of your game (thanks @georgiee)
105
-
* Phaser.ArrayList is a new iterative object, similar in principal to a linked list but operating on a single array without modifying the object structure.
104
+
* Phaser.ArrayList is a new iterative object, similar in principal to a set data structure, but operating on a single array without modifying the object structure.
106
105
* Add scaleMode params to FilterTexture and RenderTexture (pixi.js update by @giraluna)
106
+
* Your State can now have a pauseUpdate method, which is called constantly when the game is paused.
107
+
* Timer.timeCap is a new setting allowing your Timers to protect against unexpectedly large delta timers (such as raf de-vis or CPU grind).
108
+
* Camera.unfollow allows you to easily unfollow a tracked object (thanks @alvinsight, #755)
109
+
* Animation.setFrame allows you to set the animation to a specific frame (thanks @adamholdenyall, #706)
107
110
* Point.dot - get the dot product of two Point objects.
108
111
* Point.cross - get the cross product of two Point objects.
109
112
* Point.cross - get the cross product of two Point objects.
@@ -118,8 +121,6 @@ Version 2.0.4 - "Mos Shirare" - in development
118
121
* Point.multiplyAdd - Adds two 2D Points together and multiplies the result by the given scalar.
119
122
* Point.negative - Creates a negative Point.
120
123
* Point.interpolate - Interpolates the two given Points, based on the `f` value (between 0 and 1) and returns a new Point.
121
-
* Your State can now have a pauseUpdate method, which is called constantly when the game is paused.
122
-
* The Input system is now updated even while the game is paused.
123
124
* Color.packPixel packs an rgb component into a single integer.
124
125
* Color.unpackPixel unpacks an integer into a color object.
125
126
* Color.fromRGBA converts an integer in 0xRRGGBBAA format to a color object.
@@ -133,10 +134,15 @@ Version 2.0.4 - "Mos Shirare" - in development
133
134
* Color.RGBtoString converts an rgba color into a # or 0x color string.
134
135
* Color.HSVColorWheel will return an array with 360 color objects for each segment of an HSV color wheel, you can optionally set the saturation and value amounts.
135
136
* Color.HSLColorWheel will return an array with 360 color objects for each segment of an HSL color wheel, you can optionally set the saturation and lightness amounts.
136
-
* Timer.timeCap is a new setting allowing your Timers to protect against unexpectedly large delta timers (such as raf de-vis or CPU grind).
137
-
* Camera.unfollow allows you to easily unfollow a tracked object (thanks @alvinsight, #755)
138
-
* Animation.setFrame allows you to set the animation to a specific frame (thanks @adamholdenyall, #706)
139
-
* New Phaser Project Template specifically for requireJS in the `resources/Project Templates` folder (many thanks @ashatch)
137
+
* BitmapData.cls clears the current context.
138
+
* BitmapData.fill fills the context with the given color.
139
+
* BitmapData.processPixelRGB lets you perform a custom callback on every pixel in the BitmapData by passing the pixels color object to your callback.
140
+
* BitmapData.processPixel lets you perform a custom callback on every pixel in the BitmapData by passing the pixels color value to your callback.
141
+
* BitmapData.replaceRGB will scan the bitmap for a specific color and replace it with the new given one.
142
+
* BitmapData.setHSL sets the hue, saturation and lightness values on every pixel in the given region, or the whole BitmapData if no region was specified.
143
+
* BitmapData.shiftHSL shifts the hue, saturation and lightness values on every pixel in the given region, or the whole BitmapData if no region was specified.
144
+
* BitmapData.extract scans this BitmapData for all pixels matching the given r,g,b values and then draws them into the given destination BitmapData.
145
+
* BitmapData.circle draws a filled Circle to the BitmapData at the given x, y coordinates and radius in size.
0 commit comments