mirror of
https://github.com/photonstorm/phaser
synced 2024-11-10 15:14:47 +00:00
Updated change log
This commit is contained in:
parent
bd023c20df
commit
ccf72228e3
1 changed files with 12 additions and 1 deletions
13
CHANGELOG.md
13
CHANGELOG.md
|
@ -18,7 +18,15 @@
|
|||
* The Camera Shake effect now lets you specify a different intensities for the x and y dimensions.
|
||||
* You can track the progress of all events via the `progress` property on the effect instance, allowing you to sync effect duration with other in-game events.
|
||||
|
||||
### New Features
|
||||
### New Feature: Scene Transitions
|
||||
|
||||
There is a new method available in the ScenePlugin, available via: `this.scene.transition` which allows you to transition from one Scene to another over the duration specified. The method takes a configuration object which lets you control various aspects of the transition, from moving the Scenes around the display list, to specifying an onUpdate callback.
|
||||
|
||||
The calling Scene can be sent to sleep, stopped or removed entirely from the Scene Manager at the end of the transition, and you can even lock down input events in both Scenes while the transition is happening, if required. There are various events dispatched from both the calling and target Scene, which combined with the onUpdate callback give you the flexibility to create some truly impressive transition effects both into and out of Scenes.
|
||||
|
||||
Please see the complete JSDocs for the ScenePlugin for more details, as well as the new examples in the Phaser 3 Labs.
|
||||
|
||||
### More New Features
|
||||
|
||||
* GameObject.ignoreDestroy allows you to control if a Game Object is destroyed or not. Setting the flag will tell it to ignore destroy requests from Groups, Containers and even the Scene itself. See the docs for more details.
|
||||
* The Scene Input Plugin has a new property `enabled` which allows you to enable or disable input processing on per Scene basis.
|
||||
|
@ -33,6 +41,9 @@
|
|||
* Every RenderTexture would draw the same content due to a mis-use of the CanvasPool (this also impacted TileSprites). Fix #3555 (thanks @kuoruan)
|
||||
* Group.add and Group.addMultiple now respect the Group.maxSize property, stopping you from over-populating a Group (thanks @samme)
|
||||
* When using HTML5 Audio, sound manager now tries to unlock audio after every scene loads, instead of only after first one. Fix #3309 (thanks @pavle-goloskokovic)
|
||||
* Group.createMultiple would insert null entries if the Group became full during the operation, causing errors later. Now it stops creating objects if the Group becomes full (thanks @samme)
|
||||
* Group.remove didn't check if the passed Game Object was already a member of the group and would call `removeCallback` and (if specified) `destroy` in any case. Now it does nothing if the Game Object isn't a member of the group (thanks @samme)
|
||||
* If a Group size exceeded `maxSize` (which can happen if you reduce maxSize beneath the current size), `isFull` would return false and the group could continue to grow. Now `isFull` returns true in that case (thanks @samme)
|
||||
|
||||
### Updates
|
||||
|
||||
|
|
Loading…
Reference in a new issue