Commit graph

197 commits

Author SHA1 Message Date
Richard Davey
0ee2442597 Bumping to 3.17.0 2019-03-07 12:31:06 +00:00
Richard Davey
c15734f1bc A Scene will now emit the new CREATE event after it has been created by the Scene Manager. If the Scene has a create method this event comes after that, so is useful to knowing when a Scene may have finished creating Game Objects, etc. 2019-02-26 11:00:20 +00:00
Richard Davey
a1265a207b The return from the ScenePlugin.add method has changed. Previously, it would return the ScenePlugin, but now it returns a reference to the Scene that was added to the Scene Manager, keeping it in-line with all other add methods in the API. Fix #4359 2019-02-25 17:12:00 +00:00
Richard Davey
35363631d6 Added jsdoc blocks 2019-02-24 23:36:56 +00:00
Richard Davey
0db663d901 More typedefs 2019-02-13 15:38:50 +00:00
Richard Davey
ccaae460a4 Added jsdoc version numbers to each event 2019-02-12 11:37:58 +00:00
Richard Davey
550ac7a051 Bumped version number 2019-02-08 13:37:07 +00:00
Elliott Wallace
6adb88619e Added this.scale property to Scene 2019-02-06 12:13:03 +00:00
Richard Davey
d04232ae54 JSDoc fixes 2019-02-04 11:45:17 +00:00
Richard Davey
eb9ed3463f Lots of namespace and jsdoc fixes 2019-02-01 18:02:58 +00:00
Richard Davey
c2db34f660 SceneManager.getScenes is a new method that will return all current Scenes being managed by the Scene Manager. You can optionally return only active scenes and reverse the order in which they are returned in the array. 2019-01-29 01:03:56 +00:00
Richard Davey
1eccff1e3b Fixed jsdoc links and markdown bullet lists 2019-01-18 15:20:56 +00:00
Richard Davey
bc962c25dc All listeners use the new Events 2019-01-18 13:41:43 +00:00
Richard Davey
b7791650b2 Added Scene Transition Events 2019-01-18 12:19:41 +00:00
Richard Davey
a151a02f2c The Scene transitionstart event is now dispatched by the Target Scene of a transition, regardless if the Scene has a create method or not. Previously, it was only dispatched if the Scene had a create method. 2019-01-18 12:06:43 +00:00
Richard Davey
6fb2fd75ff Adding the Scene Events. 2019-01-17 19:51:18 +00:00
Richard Davey
aa341854c7 Happy New Year 2019-01-15 16:20:22 +00:00
Richard Davey
c34648bbce Removed the resize method. 2019-01-11 16:43:39 +00:00
Richard Davey
de5fed7d80 Removed the resize method. 2019-01-11 16:43:25 +00:00
Patrick Sletvold
206d61284b Mark optional params as optional in jsdoc 2019-01-02 11:54:39 +01:00
Richard Davey
7b478d2860 lint fix 2018-12-12 13:14:59 +00:00
Richard Davey
52e47da344
Merge pull request #4222 from bryanwood/fix-facebook-plugin-type-on-scene
Change JSDoc @type from any to Phaser.FacebookInstantGamesPlugin
2018-12-12 11:24:53 +00:00
Bryan
d35e30dc6b Add facebook plugin to Phaser.Scene for JSDoc 2018-12-10 15:21:34 +10:00
Bryan
dc2f6153b4 Change JSDoc @type from any to Phaser.FacebookInstantGamesPlugin
This matches the definition in Phaser.Game
2018-12-10 14:24:22 +10:00
Richard Davey
0ac7decfff Clarified the docs 2018-11-16 10:57:24 +00:00
kainage
a01726f57e Fix Scene Add Data
Data was not being passed in to the scene manager when adding a scene via `add`.
2018-11-06 06:38:36 -08:00
Richard Davey
eea1b34549 Added jsdocs 2018-10-19 15:53:04 +01:00
Richard Davey
4c4421c47f Docjam merge 2018-10-19 12:32:43 +01:00
Richard Davey
557955e057 Merging Scale Manager and Spine Plugin back into master 2018-10-18 14:59:27 +01:00
Richard Davey
ae9c3b6f56 Tidying up for 3.15 release 2018-10-16 15:10:49 +01:00
Richard Davey
4b1c762296 Updated @memberOf to @memberof 2018-10-10 10:49:13 +01:00
Richard Davey
953422a059 Exposed Scale Manager via global reference 2018-10-09 18:14:09 +01:00
Richard Davey
a9063604dc Replace @readOnly with @readonly 2018-10-09 13:40:00 +01:00
Richard Davey
2a1ea30cb7 Typos 2018-10-03 22:07:41 +01:00
Richard Davey
41956c4625 Added FB plugin conditional 2018-09-20 14:14:29 +01:00
Richard Davey
24e09d7a31 Completed more jsdocs 2018-09-14 18:17:14 +01:00
Richard Davey
0d497fd2be Fixed Scene restart shutdown flow 2018-09-14 18:05:14 +01:00
Richard Davey
935288518d Added isPaused method 2018-09-14 18:04:47 +01:00
Richard Davey
aeda1c042b If a Scene is already active (i.e. running) and you call start on it (such as from another Scene) then it will shutdown the Scene first, before starting it again. 2018-09-13 16:32:02 +01:00
Richard Davey
5fe6dbbe0c Added more jsdocs 2018-09-13 08:09:44 +01:00
Richard Davey
ef558fea3c Type definition fixes 2018-09-07 17:19:19 +01:00
Richard Davey
7765496b19 Moved FB plugin behind build flag 2018-08-23 18:10:20 +01:00
Richard Davey
b25ff9e065 Moved Camera3D to optional plugin
Also included build flag to allow it to be compiled into the standard lib if required (saves a bunch of KB in duplicated classes)
2018-08-23 15:30:21 +01:00
Richard Davey
beb286297c Camera3D Plugin moved out of the main src folder to optional plugin 2018-08-23 13:18:25 +01:00
Richard Davey
d0f3d85cbd Iterate from front to back for destroy 2018-07-31 11:33:38 +01:00
Richard Davey
c65e3c7428 Added FB Instant Games Plugin to core (will prepare for moving to unique build once feature complete) 2018-07-27 08:33:51 +01:00
Richard Davey
4bdecf488b jsdocs tweaks 2018-07-26 23:41:52 +01:00
Richard Davey
f2290abf9b Added new customViewports counter 2018-07-26 23:05:08 +01:00
Richard Davey
9c9e9cecbb Updated log and lint fixes 2018-07-10 16:49:53 +01:00
Richard Davey
cd508ab3f1 The ScenePlugin will now queue all of the following ops with the Scene Manager: start, run, pause, resume, sleep, wake, switch and stop. This means for all of these calls the Scene Manager will add the call into its queue and process it at the start of the next frame. 2018-07-09 14:08:55 +01:00