Skip to content

Commit 084a32e

Browse files
authored
Merge pull request #507 from photonstorm/release/v2.10.3
Phaser CE Version 2.10.3
2 parents fb3fdb6 + b45d444 commit 084a32e

File tree

219 files changed

+7567
-7575
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

219 files changed

+7567
-7575
lines changed

CHANGELOG.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,16 @@
44

55
See [README: Change Log: Unreleased](README.md#unreleased).
66

7+
## Version 2.10.3 - 21st March 2018
8+
9+
### Bug Fixes
10+
11+
* Fixed an error when activating a Cocoon application (#506).
12+
13+
### Thanks
14+
15+
@KIVassilev, @photonstorm, @samme
16+
717
## Version 2.10.2 - 15th March 2018
818

919
### New Features
@@ -53,7 +63,7 @@ See [README: Change Log: Unreleased](README.md#unreleased).
5363
* Fixed a sprite with [input.enabled](https://photonstorm.github.io/phaser-ce/Phaser.InputHandler.html#enabled) `false` triggering its [onInputOut](https://photonstorm.github.io/phaser-ce/Phaser.Events.html#onInputOut) signal when the mouse leaves the game canvas (#454).
5464
* Fixed spelling error in API documentation (#458).
5565
* Fixed some TypeScript definitions (#442, #447, #455, #460, #462, #463, #469, #475).
56-
* The canvas now correctly scales inside a [container](https://photonstorm.github.io/phaser-ce/Phaser.ScaleManager.html#parentNode) if using relative values for `width` and `height` in the [Phaser.Game](https://photonstorm.github.io/phaser-ce/Phaser.Game.html) constructor (#367). Make sure you give the container a [height](https://developer.mozilla.org/en-US/docs/Web/CSS/height).
66+
* The canvas now correctly scales inside a [container](https://photonstorm.github.io/phaser-ce/Phaser.ScaleManager.html#parentNode) if using relative values for `width` and `height` in the [Phaser.Game](https://photonstorm.github.io/phaser-ce/Phaser.Game.html) constructor (#467). Make sure you give the container a [height](https://developer.mozilla.org/en-US/docs/Web/CSS/height).
5767
* Fixed [State#loadUpdate](https://photonstorm.github.io/phaser-ce/Phaser.State.html#loadUpdate) being called once when no assets have been loaded (#468).
5868
* Fixed [Debug#spriteInfo](https://photonstorm.github.io/phaser-ce/Phaser.Utils.Debug.html#spriteInfo) failing to show `sprite.name` as promised (#471).
5969

README.md

Lines changed: 11 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Thousands of developers worldwide use Phaser. From indies and multi-national dig
88

99
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](http://phaser.io/phaser3) is in active development.
1010

11-
The [current Phaser CE release is 2.10.2](https://github.com/photonstorm/phaser-ce/releases/tag/v2.10.2).
11+
The [current Phaser CE release is 2.10.3](https://github.com/photonstorm/phaser-ce/releases/tag/v2.10.3).
1212

1313
- **Visit:** The [Phaser website](http://phaser.io) and follow on [Twitter](https://twitter.com/photonstorm) (#[phaserjs](https://twitter.com/hashtag/phaserjs))
1414
- **Learn:** [API Docs](https://photonstorm.github.io/phaser-ce/), [Support Forum][forum] and [StackOverflow](https://stackoverflow.com/questions/tagged/phaser-framework)
@@ -128,16 +128,16 @@ Please see additional steps for [Browserify/CommonJS](#browserify) and [Webpack]
128128
[Phaser CE is on jsDelivr](http://www.jsdelivr.com/projects/phaser-ce), a "super-fast CDN for developers". Include the following in your html:
129129

130130
```html
131-
<script src="//cdn.jsdelivr.net/npm/phaser-ce@2.10.2/build/phaser.js"></script>
131+
<script src="//cdn.jsdelivr.net/npm/phaser-ce@2.10.3/build/phaser.js"></script>
132132
```
133133

134134
or the minified version:
135135

136136
```html
137-
<script src="//cdn.jsdelivr.net/npm/phaser-ce@2.10.2"></script>
137+
<script src="//cdn.jsdelivr.net/npm/phaser-ce@2.10.3"></script>
138138
```
139139

140-
[Custom builds](https://cdn.jsdelivr.net/npm/phaser-ce@2.10.2/build/custom/) are available too.
140+
[Custom builds](https://cdn.jsdelivr.net/npm/phaser-ce@2.10.3/build/custom/) are available too.
141141

142142
<a name="getting-started"></a>
143143

@@ -328,33 +328,15 @@ Written something cool in Phaser? Please tell us about it in the [forum][forum],
328328

329329
# Change Log
330330

331-
## Version 2.10.2 - 15th March 2018
332-
333-
### New Features
334-
335-
* You can set [clearBeforeRender](https://photonstorm.github.io/phaser-ce/global.html#GameConfig) when creating the game (#481).
336-
337-
### Updates
338-
339-
* Phaser tries to resume a suspended WebAudio context after a user click/tap on any device (#437, #482).
331+
## Version 2.10.3 - 21st March 2018
340332

341333
### Bug Fixes
342334

343-
* Phaser.Text objects show the correct [type](https://photonstorm.github.io/phaser-ce/Phaser.Text.html#type) (#479).
344-
* [game.add.plugin](https://photonstorm.github.io/phaser-ce/Phaser.GameObjectFactory.html#plugin) forwards all arguments to [game.plugins.add](https://photonstorm.github.io/phaser-ce/Phaser.PluginManager.html#add) (#486).
345-
* [Phaser.Signal#memorized](https://photonstorm.github.io/phaser-ce/Phaser.Signal.html#memorize) works correctly after only one listener is added (#495).
346-
347-
### TypeScript
348-
349-
* PIXI.Rectangle includes more of Phaser.Rectangle's properties (#491).
350-
351-
### Documentation
352-
353-
* Game Objects show [width](https://photonstorm.github.io/phaser-ce/PIXI.DisplayObjectContainer.html#width) and [height](https://photonstorm.github.io/phaser-ce/PIXI.DisplayObjectContainer.html#height) properties (#488).
335+
* Fixed an error when activating a Cocoon application (#506).
354336

355337
### Thanks
356338

357-
@KIVassilev, @koalaylj, @photonstorm, @RedPanduzer, @samme, @Siri0n
339+
@KIVassilev, @photonstorm, @samme
358340

359341
For changes in previous releases please see the extensive [Change Log](https://github.com/photonstorm/phaser-ce/blob/master/CHANGELOG.md).
360342

@@ -378,10 +360,10 @@ All rights reserved.
378360

379361
[![Analytics](https://ga-beacon.appspot.com/UA-44006568-2/phaser/index)](https://github.com/igrigorik/ga-beacon)
380362

381-
[get-js]: https://github.com/photonstorm/phaser-ce/releases/download/v2.10.2/phaser.js
382-
[get-minjs]: https://github.com/photonstorm/phaser-ce/releases/download/v2.10.2/phaser.min.js
383-
[get-zip]: https://github.com/photonstorm/phaser-ce/archive/v2.10.2.zip
384-
[get-tgz]: https://github.com/photonstorm/phaser-ce/archive/v2.10.2.tar.gz
363+
[get-js]: https://github.com/photonstorm/phaser-ce/releases/download/v2.10.3/phaser.js
364+
[get-minjs]: https://github.com/photonstorm/phaser-ce/releases/download/v2.10.3/phaser.min.js
365+
[get-zip]: https://github.com/photonstorm/phaser-ce/archive/v2.10.3.zip
366+
[get-tgz]: https://github.com/photonstorm/phaser-ce/archive/v2.10.3.tar.gz
385367
[clone-http]: https://github.com/photonstorm/phaser.git
386368
[clone-ssh]: ssh://git@github.com:photonstorm/phaser.git
387369
[clone-svn]: https://github.com/photonstorm/phaser

build/custom/creature.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/custom/p2.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/custom/phaser-arcade-physics.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
* Phaser - http://phaser.io
99
*
10-
* v2.10.2 "2018-03-15" - Built: Thu Mar 15 2018 17:35:14
10+
* v2.10.3 "2018-03-22" - Built: Thu Mar 22 2018 10:07:01
1111
*
1212
* By Richard Davey http://www.photonstorm.com @photonstorm
1313
*
@@ -7591,7 +7591,7 @@ var Phaser = Phaser || { // jshint ignore:line
75917591
* @constant Phaser.VERSION
75927592
* @type {string}
75937593
*/
7594-
VERSION: '2.10.2',
7594+
VERSION: '2.10.3',
75957595

75967596
/**
75977597
* An array of Phaser game instances.
@@ -17600,11 +17600,11 @@ Phaser.Stage.prototype.checkVisibility = function () {
1760017600
};
1760117601

1760217602
this._onChangePause = function () {
17603-
return this._onChange({ type: 'pause' });
17603+
return _this._onChange({ type: 'pause' });
1760417604
};
1760517605

1760617606
this._onChangeResume = function () {
17607-
return this._onChange({ type: 'resume' });
17607+
return _this._onChange({ type: 'resume' });
1760817608
};
1760917609

1761017610
this._onClick = function (event) {

build/custom/phaser-arcade-physics.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/custom/phaser-arcade-physics.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/custom/phaser-creature.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
* Phaser - http://phaser.io
99
*
10-
* v2.10.2 "2018-03-15" - Built: Thu Mar 15 2018 17:35:44
10+
* v2.10.3 "2018-03-22" - Built: Thu Mar 22 2018 10:07:30
1111
*
1212
* By Richard Davey http://www.photonstorm.com @photonstorm
1313
*
@@ -53,7 +53,7 @@ var Phaser = Phaser || { // jshint ignore:line
5353
* @constant Phaser.VERSION
5454
* @type {string}
5555
*/
56-
VERSION: '2.10.2',
56+
VERSION: '2.10.3',
5757

5858
/**
5959
* An array of Phaser game instances.
@@ -10062,11 +10062,11 @@ Phaser.Stage.prototype.checkVisibility = function () {
1006210062
};
1006310063

1006410064
this._onChangePause = function () {
10065-
return this._onChange({ type: 'pause' });
10065+
return _this._onChange({ type: 'pause' });
1006610066
};
1006710067

1006810068
this._onChangeResume = function () {
10069-
return this._onChange({ type: 'resume' });
10069+
return _this._onChange({ type: 'resume' });
1007010070
};
1007110071

1007210072
this._onClick = function (event) {

build/custom/phaser-creature.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/custom/phaser-creature.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)