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
+33-33Lines changed: 33 additions & 33 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,57 +20,57 @@ Change Log
20
20
21
21
V0.9.2
22
22
23
-
Fixed issue with create not being called if there was an empty init method.<br />
24
-
Added ability to flip a sprite (Sprite.flipped = true) + a test case for it.<br />
25
-
Added ability to restart a sprite animation.<br />
26
-
Sprite animations don't restart if you call play on them when they are already running.<br />
23
+
* Fixed issue with create not being called if there was an empty init method.
24
+
* Added ability to flip a sprite (Sprite.flipped = true) + a test case for it.
25
+
* Added ability to restart a sprite animation.
26
+
* Sprite animations don't restart if you call play on them when they are already running.
27
+
* Added Stage.disablePauseScreen. Set to true to stop your game pausing when the tab loses focus.
27
28
28
29
V0.9.1
29
30
30
-
Added the new align property to GameObjects that controls placement when rendering.<br />
31
-
Added an align example to the Sprites test group (click the mouse to change alignment position)<br />
32
-
Added a new MicroPoint class. Same as Point but much smaller / less functions, updated GameObject to use it.<br />
33
-
Completely rebuilt the Rectangle class to use MicroPoints and store the values of the 9 points around the edges, to be used
34
-
for new collision system.<br />
35
-
Game.Input now has 2 signals you can subscribe to for down/up events, see the Sprite align example for use.<br />
36
-
Updated the States examples to bring in-line with 0.9 release.
31
+
*Added the new align property to GameObjects that controls placement when rendering.
32
+
*Added an align example to the Sprites test group (click the mouse to change alignment position)
33
+
*Added a new MicroPoint class. Same as Point but much smaller / less functions, updated GameObject to use it.
34
+
*Completely rebuilt the Rectangle class to use MicroPoints and store the values of the 9 points around the edges, to be used
35
+
for new collision system.
36
+
*Game.Input now has 2 signals you can subscribe to for down/up events, see the Sprite align example for use.
37
+
*Updated the States examples to bring in-line with 0.9 release.
37
38
38
39
V0.9
39
40
40
-
Large refactoring. Everything now lives inside the Phaser module, so all code and all tests have been updated to reflect this. Makes coding a tiny bit
41
-
more verbose but stops the framework from globbing up the global namespace. Also should make code-insight work in WebStorm and similar editors.<br />
42
-
Added the new GeomSprite object. This is a sprite that uses a geometry class for display (Circle, Rectangle, Point, Line). It's extremely flexible!<br />
Added new Collision class and moved some functions there. Contains all the Game Object and Geometry Intersection methods.<br />
45
-
Can now create a sprite animation based on frame names rather than indexes. Useful when you've an animation inside a texture atlas. Added test to show.<br />
46
-
Added addKeyCapture(), removeKeyCapture() and clearCaptures() to Input.Keyboard. Calls event.preventDefault() on any keycode set to capture, allowing you to avoid page scrolling when using the cursor keys in a game for example.<br />
47
-
Added new Motion class which contains lots of handy functions like 'moveTowardsObject', 'velocityFromAngle' and more.<br />
48
-
Tween Manager added. You can now create tweens via Game.createTween (or for more control game.tweens). All the usual suspects are here: Bounce, Elastic, Quintic, etc and it's hooked into the core game clock, so if your game pauses and resumes your tweens adjust accordingly.
41
+
* Large refactoring. Everything now lives inside the Phaser module, so all code and all tests have been updated to reflect this. Makes coding a tiny bit more verbose but stops the framework from globbing up the global namespace. Also should make code-insight work in WebStorm and similar editors.
42
+
* Added the new GeomSprite object. This is a sprite that uses a geometry class for display (Circle, Rectangle, Point, Line). It's extremely flexible!
43
+
* Added Geometry intersection results objects.
44
+
* Added new Collision class and moved some functions there. Contains all the Game Object and Geometry Intersection methods.
45
+
* Can now create a sprite animation based on frame names rather than indexes. Useful when you've an animation inside a texture atlas. Added test to show.
46
+
* Added addKeyCapture(), removeKeyCapture() and clearCaptures() to Input.Keyboard. Calls event.preventDefault() on any keycode set to capture, allowing you to avoid page scrolling when using the cursor keys in a game for example.
47
+
* Added new Motion class which contains lots of handy functions like 'moveTowardsObject', 'velocityFromAngle' and more.
48
+
* Tween Manager added. You can now create tweens via Game.createTween (or for more control game.tweens). All the usual suspects are here: Bounce, * Elastic, Quintic, etc and it's hooked into the core game clock, so if your game pauses and resumes your tweens adjust accordingly.
49
49
50
50
V0.8
51
51
52
-
Added ability to set Sprite frame by name (sprite.frameName), useful when you've loaded a Texture Atlas with filename values set rather than using frame indexes.<br />
53
-
Updated texture atlas 4 demo to show this.<br />
54
-
Fixed a bug that would cause a run-time error if you tried to create a sprite using an invalid texture key.<br />
55
-
Added in DynamicTexture support and a test case for it.<br />
52
+
*Added ability to set Sprite frame by name (sprite.frameName), useful when you've loaded a Texture Atlas with filename values set rather than using frame indexes.
53
+
*Updated texture atlas 4 demo to show this.
54
+
*Fixed a bug that would cause a run-time error if you tried to create a sprite using an invalid texture key.
55
+
*Added in DynamicTexture support and a test case for it.
56
56
57
57
V0.7
58
58
59
-
Renamed FullScreen to StageScaleMode as it's much more fitting. Tested across Android and iOS with the various scale modes.<br />
60
-
Added in world x/y coordinates to the input class, and the ability to get world x/y input coordinates from any Camera.<br />
61
-
Added the RandomDataGenerator for seeded random number generation.<br />
62
-
Setting the game world size now resizes the default camera (optional bool flag)
59
+
*Renamed FullScreen to StageScaleMode as it's much more fitting. Tested across Android and iOS with the various scale modes.
60
+
*Added in world x/y coordinates to the input class, and the ability to get world x/y input coordinates from any Camera.
61
+
*Added the RandomDataGenerator for seeded random number generation.
62
+
*Setting the game world size now resizes the default camera (optional bool flag)
63
63
64
64
V0.6
65
65
66
-
Added in Touch support for mobile devices (and desktops that enable it) and populated x/y coords in Input with common values from touch and mouse.<br />
67
-
Added new Circle geometry class (used by Touch) and moved them into a Geom folder.<br />
68
-
Added in Device class for device inspection.<br />
69
-
Added FullScreen class to enable full-screen support on mobile devices (scrolls URL bar out of the way on iOS and Android)
66
+
*Added in Touch support for mobile devices (and desktops that enable it) and populated x/y coords in Input with common values from touch and mouse.
67
+
*Added new Circle geometry class (used by Touch) and moved them into a Geom folder.
68
+
*Added in Device class for device inspection.
69
+
*Added FullScreen class to enable full-screen support on mobile devices (scrolls URL bar out of the way on iOS and Android)
0 commit comments