Skip to content

Commit 780a555

Browse files
authored
Merge pull request #497 from photonstorm/release/v2.10.2
Phaser CE Version 2.10.2
2 parents d54276a + 420564a commit 780a555

File tree

223 files changed

+11477
-8013
lines changed

Some content is hidden

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

223 files changed

+11477
-8013
lines changed

CHANGELOG.md

+28
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,34 @@
44

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

7+
## Version 2.10.2 - 15th March 2018
8+
9+
### New Features
10+
11+
* You can set [clearBeforeRender](https://photonstorm.github.io/phaser-ce/global.html#GameConfig) when creating the game (#481).
12+
13+
### Updates
14+
15+
* Phaser tries to resume a suspended WebAudio context after a user click/tap on any device (#437, #482).
16+
17+
### Bug Fixes
18+
19+
* Phaser.Text objects show the correct [type](https://photonstorm.github.io/phaser-ce/Phaser.Text.html#type) (#479).
20+
* [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).
21+
* [Phaser.Signal#memorized](https://photonstorm.github.io/phaser-ce/Phaser.Signal.html#memorize) works correctly after only one listener is added (#495).
22+
23+
### TypeScript
24+
25+
* PIXI.Rectangle includes more of Phaser.Rectangle's properties (#491).
26+
27+
### Documentation
28+
29+
* 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).
30+
31+
### Thanks
32+
33+
@KIVassilev, @koalaylj, @photonstorm, @RedPanduzer, @samme, @Siri0n
34+
735
## Version 2.10.1 - 18th February 2018
836

937
### New Features

README.md

+9-38
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.1](https://github.com/photonstorm/phaser-ce/releases/tag/v2.10.1).
11+
The [current Phaser CE release is 2.10.2](https://github.com/photonstorm/phaser-ce/releases/tag/v2.10.2).
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.1/build/phaser.js"></script>
131+
<script src="//cdn.jsdelivr.net/npm/phaser-ce@2.10.2/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.1"></script>
137+
<script src="//cdn.jsdelivr.net/npm/phaser-ce@2.10.2"></script>
138138
```
139139

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

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

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

329329
# Change Log
330330

331-
## Unreleased
331+
## Version 2.10.2 - 15th March 2018
332332

333333
### New Features
334334

@@ -356,35 +356,6 @@ Written something cool in Phaser? Please tell us about it in the [forum][forum],
356356

357357
@KIVassilev, @koalaylj, @photonstorm, @RedPanduzer, @samme, @Siri0n
358358

359-
## Version 2.10.1 - 18th February 2018
360-
361-
### New Features
362-
363-
* [Phaser.Sound#playOnce](https://photonstorm.github.io/phaser-ce/Phaser.Sound.html#playOnce) flags a sound for deletion after it is played once. This is a simple method for avoiding [adding](https://photonstorm.github.io/phaser-ce/Phaser.SoundManager.html#add) new Sound objects for sounds that are intended to just be played once and done.
364-
* A final [State#loadUpdate](https://photonstorm.github.io/phaser-ce/Phaser.State.html#loadUpdate) call is made right before the loader is reset, when [Loader#progress](https://photonstorm.github.io/phaser-ce/Phaser.Loader.html#progress) is 100, instead of after, when Loader#progress is 0 (#468).
365-
* [Loader#onBeforeLoadComplete](https://photonstorm.github.io/phaser-ce/Phaser.Loader.html#onBeforeLoadComplete) is a signal dispatched right before the Loader is reset (unlike [Loader#onLoadComplete](https://photonstorm.github.io/phaser-ce/Phaser.Loader.html#onLoadComplete)).
366-
367-
### Updates
368-
369-
* Clarified `margin` and `spacing` arguments in [Phaser.Loader#spritesheet](https://photonstorm.github.io/phaser-ce/Phaser.Loader.html#spritesheet) (#448).
370-
* [Debug#text](https://photonstorm.github.io/phaser-ce/Phaser.Utils.Debug.html#text) now uses [Debug#font](https://photonstorm.github.io/phaser-ce/Phaser.Utils.Debug.html#font) as its default.
371-
372-
### Bug Fixes
373-
374-
* Fixed audio sprites failing to loop after pause and resume (#323).
375-
* Fixed sounds not looping when using audio tags (#446).
376-
* Fixed circular Arcade bodies sticking to each other during some collisions (#451).
377-
* 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).
378-
* Fixed spelling error in API documentation (#458).
379-
* Fixed some TypeScript definitions (#442, #447, #455, #460, #462, #463, #469, #475).
380-
* 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).
381-
* Fixed [State#loadUpdate](https://photonstorm.github.io/phaser-ce/Phaser.State.html#loadUpdate) being called once when no assets have been loaded (#468).
382-
* Fixed [Debug#spriteInfo](https://photonstorm.github.io/phaser-ce/Phaser.Utils.Debug.html#spriteInfo) failing to show `sprite.name` as promised (#471).
383-
384-
### Thanks
385-
386-
@bseiller, @dhashvir, @Lucas-C, @mmacvicar, @Nek-, @netdreamer, @omretterry, @pantoninho, @photonstorm, @samme, @seiyria, @squaresun, @Tembac, @wtravO
387-
388359
For changes in previous releases please see the extensive [Change Log](https://github.com/photonstorm/phaser-ce/blob/master/CHANGELOG.md).
389360

390361
# License
@@ -407,10 +378,10 @@ All rights reserved.
407378

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

410-
[get-js]: https://github.com/photonstorm/phaser-ce/releases/download/v2.10.1/phaser.js
411-
[get-minjs]: https://github.com/photonstorm/phaser-ce/releases/download/v2.10.1/phaser.min.js
412-
[get-zip]: https://github.com/photonstorm/phaser-ce/archive/v2.10.1.zip
413-
[get-tgz]: https://github.com/photonstorm/phaser-ce/archive/v2.10.1.tar.gz
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
414385
[clone-http]: https://github.com/photonstorm/phaser.git
415386
[clone-ssh]: ssh://git@github.com:photonstorm/phaser.git
416387
[clone-svn]: https://github.com/photonstorm/phaser

build/custom/creature.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/custom/p2.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)