Commit graph

199 commits

Author SHA1 Message Date
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
Richard Davey
ffd1d218e6 Rectangle.Union will now cache all vars internally so you can use one of the input rectangles as the output rectangle without corrupting it. 2018-04-11 12:44:37 +01:00
Richard Davey
28744bd0a3 Updated change log 2018-04-11 11:25:40 +01:00
Richard Davey
7aae84a790 Calling Impact.World.remove(body) during a Body.updateCallback would cause the internal loop to crash when trying to access a now missing body. Two extra checks are in place to avoid this 2018-04-11 10:39:20 +01:00
Richard Davey
f425cfb925
Merge branch 'master' into scene-config-for-add-map 2018-04-11 10:28:28 +01:00
Richard Davey
fc6a7e84f7 Updated Change Log 2018-04-11 10:22:44 +01:00
Richard Davey
2df61ab96b
Merge pull request #3543 from rexrainbow/master
Add 'destroy' event of sound object
2018-04-11 10:14:55 +01:00
Richard Davey
3e223211aa Updated log 2018-04-11 10:12:31 +01:00
Hua
978c179054 Add description of this PR 2018-04-11 16:35:17 +08:00
Richard Davey
97cd94b3de Updated log 2018-04-11 02:18:30 +01:00
Richard Davey
c5cc126a6e Updated change log 2018-04-10 15:55:06 +01:00
Richard Davey
bf81a7dd06 TransformMatrix.destroy is a new method that will clear out the array and object used by a Matrix internally. 2018-04-10 15:20:50 +01:00
Richard Davey
330eac1ebc List is now internally using all of the new Utils.Array functions. 2018-04-10 04:00:39 +01:00
Sebastian Warmbrunn
5d1405c4d9 Add change to CHANGELOG.md
This adds a description of the new scene config option
mapAdd to the changelog.
2018-04-09 21:40:05 +02:00
Richard Davey
3c5d3db267 Testing exclusive setting 2018-04-09 17:33:55 +01:00
Richard Davey
5f9972c791 LoaderPlugin.isReady referenced a constant that no longer exists. Fix #3503 2018-04-09 13:55:41 +01:00
Richard Davey
833355a9a4 Tween.resume will now call Tween.play on a tween that was paused due to its config object, not as a result of having its paused method called. Fix #3452 2018-04-09 13:25:20 +01:00
Richard Davey
7a02cac739 Updated change log 2018-04-09 12:57:55 +01:00
Richard Davey
825d7d8a76
Merge branch 'master' into master 2018-04-09 10:27:13 +01:00
Richard Davey
6ae000a5a0 Updated change log 2018-04-09 10:24:31 +01:00
Richard Davey
c358434754 Updated log 2018-04-07 17:04:48 +01:00
Richard Davey
b3a20d475a Removed null and updated log 2018-04-07 16:18:48 +01:00
Richard Davey
fa43b8c4ef Updated change log 2018-04-07 15:57:53 +01:00
Richard Davey
c6a9b0e3ba Change Log updated 2018-04-07 12:35:34 +01:00
Richard Davey
e31cae93d2 Tilemap Layers should use the ComputedSize component 2018-04-05 14:43:07 +01:00
Richard Davey
7fbb055528 Updated 2018-04-05 13:52:30 +01:00
Richard Davey
34b236df41 Vector2.setTo is a method alias for Vector2.set allowing it to be used inter-changeably with Geom.Point. 2018-04-05 11:24:56 +01:00
Richard Davey
44f7993fb0 Updated change log 2018-04-05 08:52:50 +01:00
Richard Davey
4466f28e44 Updated log 2018-04-05 08:48:35 +01:00
Richard Davey
f98107bb88 Updated change log 2018-04-04 17:18:53 +01:00
Richard Davey
e734e7ef6b Extensive Animation API changes to use milliseconds, improve docs and access to properties 2018-04-04 16:13:45 +01:00
Richard Davey
552cfe3c5e Animation Component overhaul 2018-04-04 14:44:09 +01:00
Richard Davey
51d29b818d Animation.updateFrame will now call setSizeToFrame on the Game Object, which will adjust the Game Objects width and height properties to match the frame size. Fix #3473 2018-04-04 13:14:41 +01:00
Richard Davey
af12eaac77
Merge branch 'master' into FR3472 2018-04-04 11:28:58 +01:00
Richard Davey
dac030dd3e Graphics.slice allows you to easily draw a Pacman, or slice of pie shape to a Graphics object. 2018-04-04 11:13:19 +01:00
Richard Davey
0c200054b6 LineCurve.getResolution was missing the divisions argument and always returning 1, which made it fail when used as path of a Path. It now defaults to return 1 unless specified otherwise 2018-04-04 10:29:12 +01:00