Skip to content

Commit f33d8f9

Browse files
authored
Merge pull request #421 from photonstorm/release/v2.9.4
Release Phaser CE v2.9.4
2 parents 6e74171 + a12ffe3 commit f33d8f9

File tree

220 files changed

+9486
-8351
lines changed

Some content is hidden

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

220 files changed

+9486
-8351
lines changed

CHANGELOG.md

+20
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,26 @@
44

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

7+
## Version 2.9.4 - 20th December 2017
8+
9+
### New Features
10+
11+
* [TweenManager#isTweening](https://photonstorm.github.io/phaser-ce/Phaser.TweenManager.html#isTweening) has a `checkIsRunning` argument (#414).
12+
* You can now pass `game.stage` as the `parent` parameter in the `game.add` [methods](https://photonstorm.github.io/phaser-ce/Phaser.GameObjectFactory.html).
13+
* [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).
14+
15+
### Updates
16+
17+
* [Phaser.Device](https://photonstorm.github.io/phaser-ce/Phaser.Device.html) tests for WebGL stencil buffer support (#402).
18+
19+
### Bug Fixes
20+
21+
* Fixed a TypeError when a [Text](https://photonstorm.github.io/phaser-ce/Phaser.Text.html) object is created without a `style` argument (#415).
22+
23+
### Thanks
24+
25+
@bananatron, @mblais, @mepsoid, @naglfar, @photonstorm, @samme
26+
727
## Version 2.9.3 - 11th December 2017
828

929
### New Features

README.md

+14-53
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](https://github.com/photonstorm/phaser/tree/master/v3) is in active development.
1010

11-
The [current Phaser CE release is 2.9.3](https://github.com/photonstorm/phaser-ce/releases/tag/v2.9.3).
11+
The [current Phaser CE release is 2.9.4](https://github.com/photonstorm/phaser-ce/releases/tag/v2.9.4).
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](http://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.9.3/build/phaser.js"></script>
131+
<script src="//cdn.jsdelivr.net/npm/phaser-ce@2.9.4/build/phaser.js"></script>
132132
```
133133

134134
or the minified version:
135135

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

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

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

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

329329
# Change Log
330330

331-
## Unreleased
331+
## Version 2.9.4 - 20th December 2017
332332

333333
### New Features
334334

335-
* TweenManager#isTweening has a `checkIsRunning` argument (#414).
336-
* You can now pass `game.stage` as the `parent` parameter in many of the `game.add` methods.
337-
* Arcade#closest, Arcade#distanceBetween, and Arcade#farthest have a `useCenter` argument (#418).
335+
* [TweenManager#isTweening](https://photonstorm.github.io/phaser-ce/Phaser.TweenManager.html#isTweening) has a `checkIsRunning` argument (#414).
336+
* You can now pass `game.stage` as the `parent` parameter in the `game.add` [methods](https://photonstorm.github.io/phaser-ce/Phaser.GameObjectFactory.html).
337+
* [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).
338338

339339
### Updates
340340

341-
* Phaser.Device tests for WebGL stencil buffer support (#402).
341+
* [Phaser.Device](https://photonstorm.github.io/phaser-ce/Phaser.Device.html) tests for WebGL stencil buffer support (#402).
342342

343343
### Bug Fixes
344344

345345
* Fixed a TypeError when a [Text](https://photonstorm.github.io/phaser-ce/Phaser.Text.html) object is created without a `style` argument (#415).
346346

347347
### Thanks
348348

349-
@bananatron, @mblais, @naglfar, @samme
350-
351-
## Version 2.9.3 - 11th December 2017
352-
353-
### New Features
354-
355-
* [Phaser.BitmapData#polygon](https://photonstorm.github.io/phaser-ce/Phaser.BitmapData.html#polygon) draws a polygon.
356-
* [Phaser.Keyboard#removeCallbacks](https://photonstorm.github.io/phaser-ce/Phaser.Keyboard.html#removeCallbacks) removes callbacks added by [Phaser.Keyboard#addCallbacks](https://photonstorm.github.io/phaser-ce/Phaser.Keyboard.html#addCallbacks).
357-
* [Phaser.Line#fromPoints](https://photonstorm.github.io/phaser-ce/Phaser.Line.html#fromPoints)
358-
* [Phaser.Loader#imageFromGrid](https://photonstorm.github.io/phaser-ce/Phaser.Loader.html#imageFromGrid) and [Phaser.Loader#imageFromTexture](https://photonstorm.github.io/phaser-ce/Phaser.Loader.html#imageFromTexture) are image-loading counterparts of [Phaser.Create#grid](https://photonstorm.github.io/phaser-ce/Phaser.Create.html#grid) and [Phaser.Create#texture](https://photonstorm.github.io/phaser-ce/Phaser.Create.html#texture).
359-
* [Phaser.Point.sortClockwise](https://photonstorm.github.io/phaser-ce/Phaser.Point.html#sortClockwise) sorts points around a reference point.
360-
* [Phaser.Point#angleXY](https://photonstorm.github.io/phaser-ce/Phaser.Point.html#angleXY)
361-
* [Phaser.Point#atan](https://photonstorm.github.io/phaser-ce/Phaser.Point.html#atan) computes a point's arctangent.
362-
* [Phaser.Point#expand](https://photonstorm.github.io/phaser-ce/Phaser.Point.html#expand) increases a point's magnitude to a minimum length.
363-
* [Phaser.World#wrapAll](https://photonstorm.github.io/phaser-ce/Phaser.World.html#wrapAll) wraps all members of a group.
364-
365-
### Updates
366-
367-
* Audio and video are now [touch-unlocked](https://photonstorm.github.io/phaser-ce/Phaser.Device.html#needsTouchUnlock) only via the [touchend](https://developer.mozilla.org/en-US/docs/Web/Events/touchend) event (#92). Previously we used `touchend` for audio on newer Chrome and iOS clients and `touchstart` in all other cases.
368-
* [Tilemap#addTilesetImage](https://photonstorm.github.io/phaser-ce/Phaser.Tilemap.html#addTilesetImage), [Tilemap#createFromObjects](https://photonstorm.github.io/phaser-ce/Phaser.Tilemap.html#createFromObjects), and [Tilemap#createLayer](https://photonstorm.github.io/phaser-ce/Phaser.Tilemap.html#createLayer) print the map's contents (following the usual warning) in the console if you pass a bad name or identifier, to help you correct it.
369-
* [Tileset#addTilesetImage](https://photonstorm.github.io/phaser-ce/Phaser.Tileset.html#addTilesetImage) gives a little more information when warning about image dimension mismatches.
370-
* Optimized [Phaser.Utils.getProperty](https://photonstorm.github.io/phaser-ce/Phaser.Utils.html#_getProperty).
371-
* Removed Phaser.TweenData#yoyoCounter, an extraneous property that Phaser never used.
372-
* p2 TypeScript definitions fixes and updates (#406).
373-
374-
### Bug Fixes
375-
376-
* [Phaser.Tween#start](https://photonstorm.github.io/phaser-ce/Phaser.Tween.html#start) no longer tries to start a tween marked for deletion (such as by [Tween#stop](https://photonstorm.github.io/phaser-ce/Phaser.Tween.html#stop)). Instead it prints a warning to the console (#401).
377-
* Fixed drag movement of [fixedToCamera](https://photonstorm.github.io/phaser-ce/Phaser.Sprite.html#fixedToCamera) sprites when the camera is scaled (#405).
378-
* Fixed tweens not repeating when [Tween#start](https://photonstorm.github.io/phaser-ce/Phaser.Tween.html#start) is called after [Tween#repeat](https://photonstorm.github.io/phaser-ce/Phaser.Tween.html#repeat) (#408).
379-
* [StateManager#loadComplete](https://photonstorm.github.io/phaser-ce/Phaser.StateManager.html) is no longer called by the [Loader](https://photonstorm.github.io/phaser-ce/Phaser.Loader.html) if the state has been destroyed (#410).
380-
* Added TypeScript definitions for [Phaser.Sprite#outOfCameraBoundsKill](https://photonstorm.github.io/phaser-ce/Phaser.Sprite.html#outOfCameraBoundsKill).
381-
382-
### Documentation
383-
384-
* `canvas`, `canvasId`, `canvasStyle`, and [forceSetTimeOut](https://photonstorm.github.io/phaser-ce/Phaser.RequestAnimationFrame.html#forceSetTimeOut) can be set in the [game configuration object](https://photonstorm.github.io/phaser-ce/global.html#GameConfig).
385-
386-
### Thanks
387-
388-
@clesquir, @GrindheadGames, @husengbatute29, @Nek-, @photonstorm, @samme
349+
@bananatron, @mblais, @mepsoid, @naglfar, @photonstorm, @samme
389350

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

@@ -409,10 +370,10 @@ All rights reserved.
409370

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

412-
[get-js]: https://github.com/photonstorm/phaser-ce/releases/download/v2.9.3/phaser.js
413-
[get-minjs]: https://github.com/photonstorm/phaser-ce/releases/download/v2.9.3/phaser.min.js
414-
[get-zip]: https://github.com/photonstorm/phaser-ce/archive/v2.9.3.zip
415-
[get-tgz]: https://github.com/photonstorm/phaser-ce/archive/v2.9.3.tar.gz
373+
[get-js]: https://github.com/photonstorm/phaser-ce/releases/download/v2.9.4/phaser.js
374+
[get-minjs]: https://github.com/photonstorm/phaser-ce/releases/download/v2.9.4/phaser.min.js
375+
[get-zip]: https://github.com/photonstorm/phaser-ce/archive/v2.9.4.zip
376+
[get-tgz]: https://github.com/photonstorm/phaser-ce/archive/v2.9.4.tar.gz
416377
[clone-http]: https://github.com/photonstorm/phaser.git
417378
[clone-ssh]: ssh://git@github.com:photonstorm/phaser.git
418379
[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)