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: CHANGELOG.md
+59
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,65 @@
4
4
5
5
See [README: Change Log: Unreleased](README.md#unreleased).
6
6
7
+
## Version 2.10.0 - 18 January 2018
8
+
9
+
### New Features
10
+
11
+
* New [game config](https://photonstorm.github.io/phaser-ce/global.html#GameConfig) arguments:
12
+
-`alignH`, `alignV`
13
+
-`crisp`
14
+
-`disableStart`
15
+
-`failIfMajorPerformanceCaveat`
16
+
-`roundPixels`
17
+
-`scaleH`, `scaleV`, `trimH`, `trimV`
18
+
* New game loop features:
19
+
- Phaser.Game#dropFrames skips renders when the game loop delta time is spiraling upwards (#314).
20
+
- Phaser.Game#forceSingleRender can be set to `false` to reduce the render rate to match Phaser.Time#desiredFps (#313).
21
+
- Phaser.Time#ups tracks updates per second when [advanced timing](https://photonstorm.github.io/phaser-ce/Phaser.Time#advancedTiming) is enabled.
22
+
- Phaser.Time#rps tracks renders per second when [advanced timing](https://photonstorm.github.io/phaser-ce/Phaser.Time#advancedTiming) is enabled.
23
+
*[Phaser.Color](https://photonstorm.github.io/phaser-ce/Phaser.Color.html) constants AQUA, BLACK, BLUE, GRAY, GREEN, ORANGE, RED, VIOLET, WHITE, and YELLOW. You can use these anywhere you use a numeric (hex) color value: [Graphics](https://photonstorm.github.io/phaser-ce/Phaser.Graphics.html), [Sprite#tint](https://photonstorm.github.io/phaser-ce/Phaser.Sprite.html#tint), [Stage#backgroundColor](https://photonstorm.github.io/phaser-ce/Phaser.Stage.html#backgroundColor).
24
+
* Phaser.Game#pendingDestroy marks the game for destruction at the next update. It can be used safely within an update callback.
25
+
* Phaser.Point#round rounds a point's coordinates.
26
+
* Phaser.SoundManager#onTouchUnlock signal (#434)
27
+
* Phaser.SoundManager#removeAll destroys all sounds and removes them from the Manager.
* Phaser now falls back to the Canvas renderer if AUTO is selected and WebGL context creation fails. [Phaser.Device#webGL](https://photonstorm.github.io/phaser-ce/Phaser.Device.html#webGL) is now a soft check and doesn't create a test WebGL context. This is slightly more accurate (#402) and slightly faster (#420). Phaser.Device#webGLError was removed.
38
+
*[Gamepad](https://photonstorm.github.io/phaser-ce/Phaser.Gamepad.html) input is now enabled while the game is paused (#423).
39
+
* Removed gain smoothing for WebAudio volume changes (#385).
* Fixed a false positive in [TweenManager#isTweening](https://photonstorm.github.io/phaser-ce/Phaser.TweenManager.html#isTweening) (#414).
57
+
* Changing a display object's [smoothed](https://photonstorm.github.io/phaser-ce/Phaser.Sprite.html#smoothed) property now marks the WebGL texture as dirty (#432, #433).
58
+
* Fixed Phaser.Sound temporarily having an incorrect gain setting at creation time.
59
+
* Fixed sprites not receiving [onInputOut](https://photonstorm.github.io/phaser-ce/Phaser.Events.html#onInputOver) when the pointer leaves the game canvas (#429).
Copy file name to clipboardexpand all lines: README.md
+10-30
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ Thousands of developers worldwide use Phaser. From indies and multi-national dig
8
8
9
9
Phaser v2 was built and maintained by [Photon Storm](http://www.photonstorm.com) and turned over to the community (as Phaser CE) in November 2016. [Phaser v3](https://github.com/photonstorm/phaser/tree/master/v3) is in active development.
10
10
11
-
The [current Phaser CE release is 2.9.4](https://github.com/photonstorm/phaser-ce/releases/tag/v2.9.4).
11
+
The [current Phaser CE release is 2.10.0](https://github.com/photonstorm/phaser-ce/releases/tag/v2.10.0).
12
12
13
13
-**Visit:** The [Phaser website](http://phaser.io) and follow on [Twitter](https://twitter.com/photonstorm) (#[phaserjs](https://twitter.com/hashtag/phaserjs))
14
14
-**Learn:**[API Docs](https://photonstorm.github.io/phaser-ce/), [Support Forum][forum] and [StackOverflow](http://stackoverflow.com/questions/tagged/phaser-framework)
@@ -128,16 +128,16 @@ Please see additional steps for [Browserify/CommonJS](#browserify) and [Webpack]
128
128
[Phaser CE is on jsDelivr](http://www.jsdelivr.com/projects/phaser-ce), a "super-fast CDN for developers". Include the following in your html:
*[TweenManager#isTweening](https://photonstorm.github.io/phaser-ce/Phaser.TweenManager.html#isTweening) has a `checkIsRunning` argument (#414).
395
-
* You can now pass `game.stage` as the `parent` parameter in the `game.add`[methods](https://photonstorm.github.io/phaser-ce/Phaser.GameObjectFactory.html).
396
-
*[Arcade#closest](https://photonstorm.github.io/phaser-ce/Phaser.Physics.Arcade.html#closest), [Arcade#distanceBetween](https://photonstorm.github.io/phaser-ce/Phaser.Physics.Arcade.html#distanceBetween), and [Arcade#farthest](https://photonstorm.github.io/phaser-ce/Phaser.Physics.Arcade.html#farthest) have a `useCenter` argument (#418).
397
-
398
-
### Updates
399
-
400
-
*[Phaser.Device](https://photonstorm.github.io/phaser-ce/Phaser.Device.html) tests for WebGL stencil buffer support (#402).
401
-
402
-
### Bug Fixes
403
-
404
-
* Fixed a TypeError when a [Text](https://photonstorm.github.io/phaser-ce/Phaser.Text.html) object is created without a `style` argument (#415).
0 commit comments