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
1be486fab4
destroy
only called once, no matter how many times the Scene restarts. Fix #3581
2018-04-17 12:25:45 +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
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
205502a747
Prevent double-destroy from happening. Fix #3569 (however, Game.destroy now fails elsewhere)
2018-04-14 17:39:24 +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
Chris Andrew
7eb0342663
Documented the SceneManager.
2018-04-02 18:01:17 +01:00
Chris Andrew
381784d58f
Documented the DataManager class.
2018-04-02 16:32:21 +01:00
Richard Davey
91008232ad
jsdoc fixes
2018-03-29 13:12:07 +01:00
Richard Davey
06998276ec
Removed stict mode warning
2018-03-28 16:00:19 +01:00
orblazer
b1d83188ef
Add generic type and fix types on Data and Display
2018-03-27 14:19:42 +02:00
orblazer
7fba122321
Fix "any" types
2018-03-20 17:15:49 +01:00
orblazer
1e8311e1ab
Add callbacks on Dom and Data
2018-03-19 22:43:48 +01:00
orblazer
bf630f7d57
Fix types in JSDocs
2018-03-19 19:49:14 +01:00
orblazer
6a4fda392c
Fix Object type in DataManager
2018-03-19 19:03:00 +01:00
orblazer
e2ab82c7b1
Fix types on Data
2018-03-19 16:37:01 +01:00
Hua
f16cf72826
Fix bug
...
Copy value of key, instead of the reference of data object
2018-03-16 16:57:25 +08:00
Richard Davey
965f2b0e74
Fixed jsdocs and general tidying up.
2018-02-13 00:41:01 +00:00
Richard Davey
2813ac8162
Moved PluginManager and merged configs into single root file for easier changing.
2018-02-12 23:03:48 +00:00
Richard Davey
14c5aad929
Added jsdocs
2018-02-12 22:16:18 +00:00
Richard Davey
d1f5f8a82b
Added jsdocs
2018-02-12 16:01:21 +00:00
Richard Davey
2a86400a28
Added in jsdocs
2018-01-31 13:54:44 +00:00
Richard Davey
a802914243
Added in destroy methods for all managers and invoked them from Game
2018-01-31 03:38:10 +00:00
Richard Davey
4ec30b8db8
Recoded the Data component
...
Added is back in as DataManager, which Game Objects can have an instance of. Plus exposed as DataManagerPlugin available to Scenes. Removed callback based system and implemented events and fixed the destroy method.
2018-01-30 00:55:27 +00:00
Richard Davey
36b4d79369
Removed the old events folder contents and added in an EventEmitter alias for user-land event creation.
2018-01-12 18:59:01 +00:00
Richard Davey
c625b8735b
Updated to using Event Emitter for all key managers and game objects. Events are now dispatched directly using arguments instead of Event objects, all managers updated to emit directly.
2018-01-12 17:09:21 +00:00
Richard Davey
04b8f4203e
Started moving plugins to their own folders.
2018-01-10 16:29:46 +00:00