Richard Davey
445439e253
The Texture Manager will now emit an addtexture
event whenever you add a new texture to it, which includes when you load images files from the Loader (as it automatically populates the Texture Manager). Once you receive an addtexture
event you know the image is loaded and the texture is safe to be applied to a Game Object.
2018-04-20 18:57:23 +01:00
Richard Davey
1185586b23
Web Audio context.close now picks up the Promise.
2018-04-20 14:01:57 +01:00
Richard Davey
e3aa437340
DataManagerPlugin would throw an error on Game.destroy if you had any Scenes in the Scene Manager had not been run. Fix #3596
2018-04-20 13:34:45 +01:00
Richard Davey
4018d6ab39
Added require.extensions and eslint rule. Fix #3598
2018-04-20 01:10:04 +01:00
Richard Davey
6299019838
Updated to use typeof DefinePlugin check.
2018-04-20 00:23:24 +01:00
Richard Davey
fc4fdc4e3c
Preparing for 3.6.1
2018-04-19 22:47:10 +01:00
Richard Davey
75b250ba5b
3.6.0 Release
2018-04-19 14:45:54 +01:00
Richard Davey
cfc4528370
Containers no longer in beta.
2018-04-19 14:35:17 +01:00
Richard Davey
305ffdf840
Updated change log
2018-04-19 14:28:22 +01:00
Richard Davey
3d0be3e20c
Group.remove and clear have optional destroyChild
arguments
2018-04-19 14:13:46 +01:00
Richard Davey
176b085402
jsdoc fix
2018-04-19 13:28:10 +01:00
Richard Davey
f2c629c588
Updated change log
2018-04-18 22:46:49 +01:00
Richard Davey
f57ab02fe6
Recoded how RTree generations its functions. Solves perf issue introduced in 3.4 Fix #3594
2018-04-18 22:32:52 +01:00
Richard Davey
c391662faa
Updated log and changed version
2018-04-18 13:29:15 +01:00
Richard Davey
6772a548dc
Preparing for 3.6.0
2018-04-17 20:55:47 +01:00
Richard Davey
765730c4b6
3.5.1 Release
2018-04-17 20:51:31 +01:00
Richard Davey
152a01731b
Updated log
2018-04-17 18:17:50 +01:00
Richard Davey
89c9da54ac
Added more contributors
2018-04-17 17:04:43 +01:00
Richard Davey
8eef87b858
Log update
2018-04-17 16:00:02 +01:00
Richard Davey
d8c519c88c
Updated change log
2018-04-17 02:37:56 +01:00
Richard Davey
07a55e5d1f
Removed debug call and merged Scene Systems boot and start sequences. Fix #3579
2018-04-17 02:34:07 +01:00
Richard Davey
1eff0b2889
Phaser 3.5.0 Build
2018-04-16 19:44:39 +01:00
Richard Davey
5ccac599a6
Updated docs and destroy properties
2018-04-16 17:14:12 +01:00
Richard Davey
b28a7276f4
Fixed Game.destroy
2018-04-16 17:02:32 +01:00
Richard Davey
c37c6365d3
The RandomDataGenerator class is now exposed under Phaser.Math should you wish to instantiate it yourself. Fix #3576
2018-04-16 16:07:52 +01:00
Richard Davey
ccb2ed5f50
Updated change log
2018-04-15 23:45:59 +01:00
Richard Davey
ccf72228e3
Updated change log
2018-04-15 23:34:01 +01:00
Richard Davey
e8d50a9796
Explained changes to cameras
2018-04-15 13:00:43 +01:00
Richard Davey
ce7d67297f
Moving from 3.4.1 to 3.5.0 so we can release new camera fx and scene transitions
2018-04-15 12:44:47 +01:00
Richard Davey
02be81cc48
Merge branch 'master' of https://github.com/photonstorm/phaser
2018-04-15 05:05:09 +01:00
Richard Davey
ae603240e1
Camera.cullHitTest has been removed. It was never used internally and duplicates the code in Camera.cull
.
2018-04-15 04:01:39 +01:00
Pavle Goloskokovic
8b2473104e
Fixes #3309
2018-04-14 19:04:50 +02:00
Richard Davey
06e5fc0336
Camera extends Event Emitter and moved to effect based system
2018-04-14 12:35:14 +01:00
Richard Davey
b5ba6a6afb
Added enabled property
2018-04-14 04:23:11 +01:00
Richard Davey
a01535ea78
Group.add and Group.addMultiple now respect the Group.maxSize property, stopping you from over-populating a Group.
2018-04-13 17:59:29 +01:00
Richard Davey
f53430ec54
Log update
2018-04-13 17:52:28 +01:00
Richard Davey
7aad8afa02
Log update
2018-04-13 17:21:34 +01:00
Richard Davey
59bc9dd0d9
Added GameObject.ignoreDestroy
2018-04-13 17:20:46 +01:00
Richard Davey
6b2307594a
Scene plugin flow overhaul
...
Every Plugin has been updated to correctly follow the same flow through the Scene lifecycle. Instead of listening for the Scene 'boot' event, which is only dispatched once (when the Scene is first created), they will now listen for the Scene 'start' event, which occurs every time the Scene is started. All plugins now consistently follow the same Shutdown and Destroy patterns too, meaning they tidy-up after themselves on a shutdown, not just a destroy. Overall, this change means that there should be less issues when returning to previously closed Scenes, as the plugins will restart themselves properly.
2018-04-13 17:12:17 +01:00
Richard Davey
c8bbea552d
Fixed issue in HTMLAudioSound where mute
would get into a recursive loop.
2018-04-13 12:53:03 +01:00
Richard Davey
623df29522
The Scene Manager would never reach an isBooted
state if you didn't add any Scenes into the Game Config. Fix #3553
2018-04-13 12:24:02 +01:00
Richard Davey
a193210171
Log update
2018-04-13 12:16:21 +01:00
Richard Davey
e99f2e78e4
Updated log
2018-04-13 12:10:03 +01:00
Richard Davey
8afa6c9c7f
MatterEvents.off() would cause a TypeError if you destroyed the Matter world. Fix #3562
2018-04-13 12:07:27 +01:00
Richard Davey
9774b6ee37
Updated change log
2018-04-12 23:12:34 +01:00
Richard Davey
1802f8b30b
GetBounds getTopLeft
, getTopRight
, getBottomLeft
and getBottomRight
all have a new optional argument includeParent
which will factor in all ancestor transforms to the returned point.
2018-04-12 17:42:16 +01:00
Richard Davey
ad4109aece
Updated sortHandlerGO to handle any depth containers.
2018-04-12 02:11:40 +01:00
Richard Davey
53425bdae9
Matter Image and Matter Sprite didn't define a destroy
method, causing an error when trying to destroy the parent Game Object. Fix #3516
2018-04-11 14:35:18 +01:00
Richard Davey
70c7732a1e
When shutting down a Matter World it will now call MatterEvents.off, clearing all events, and also removeAllListeners
for any local events.
2018-04-11 14:00:58 +01:00
Richard Davey
011e67d0f0
The Matter SetBody Component will no longer try to call setOrigin
unless the Game Object has the origin component (which not all do, like Graphics and Container)
2018-04-11 13:47:22 +01:00