Commit graph

224 commits

Author SHA1 Message Date
Richard Davey
ff65e69cd1 Changed copyright date to 2020 2020-01-15 12:07:09 +00:00
Richard Davey
57defcdb9b Typo 2020-01-15 11:15:30 +00:00
Richard Davey
847abb0ef2 Scene.Systems.getData is a new method that will return any data that was sent to the Scene by another Scene, i.e. during a run or launch command. You can access it via this.sys.getData() from within your Scene. 2020-01-14 23:29:14 +00:00
samme
b28f45b609 Docs for Phaser.Scenes.ScenePlugin
- Note operations are queued
- https://github.com/photonstorm/phaser/issues/4403#issuecomment-481264025
2020-01-03 13:44:07 -08:00
Richard Davey
657200226a SceneManager.run (and consequently ScenePlugin.run) was using an out-dated way of checking if a Scene was paused before trying to resume it, causing a Scene to be started again instead of resumed. It now uses the Systems.isPaused function instead. Fix #3931 2019-10-15 11:53:43 +01:00
Richard Davey
ab924492b5 Added optional data object to stop method 2019-10-11 13:31:56 +01:00
Richard Davey
eca54ab2a3 Updated docs 2019-10-11 13:31:44 +01:00
Seth Berrier
6735c8e0a6 Feature/Fix for issue #4510
- Passes through data parameter to Stop()
2019-10-03 12:08:43 -05:00
Richard Davey
8c18699e74 A hasOwnProperty check has been applied to the SceneManager.createSceneFromObject method when parsing additional properties in the extend object 2019-09-26 12:24:59 +01:00
Richard Davey
ca74b85b75 Better Sound Manager type 2019-08-07 18:20:19 +01:00
samme
4ae2280dba New types for the optional scene methods 2019-06-27 12:04:51 -07:00
samme
9a3340ff7c Exit if scene was removed during create() 2019-06-14 13:00:13 -07:00
Richard Davey
c91ed91ce3 License link update 2019-05-10 16:15:04 +01:00
Richard Davey
f9315bac3f Updated Scene config types 2019-05-10 14:39:35 +01:00
Richard Davey
a6341a97a8 Fixed Types references 2019-05-09 15:32:53 +01:00
Richard Davey
1dca2c2c8a Scenes Types 2019-05-09 12:37:37 +01:00
Richard Davey
e556cd9c68 Camera Types 2019-05-09 11:49:44 +01:00
Richard Davey
c6dc93dba0 Added missing plugins jsdoc hook 2019-05-08 22:13:04 +01:00
Richard Davey
935a9814ca Check SoundManager exists before accessing it. Fix #4428 2019-05-03 17:42:45 +01:00
Richard Davey
e05ff03ed0 Added Systems.renderer reference 2019-04-25 11:30:10 +01:00
Richard Davey
8c55844f6c
Merge pull request #4469 from samme/docs/scenes
Docs for scene config and optional scene methods
2019-04-16 13:24:49 +01:00
samme
f9797d0ed0 Add Phaser.Scenes.Types.CreateSceneFromObjectConfig 2019-04-10 12:43:44 -07:00
samme
698fc7d522 Docs for Scene methods
Added descriptions and arguments.
2019-04-10 12:43:00 -07:00
Richard Davey
88c8bb1bc2 Update docs to clarify #4403 2019-04-08 14:52:13 +01:00
Richard Davey
6fc05bf53b
Merge pull request #4404 from samme/feature/isPaused
Add isPaused() methods to ScenePlugin, SceneManager
2019-04-05 17:40:37 +01:00
Richard Davey
0ee2442597 Bumping to 3.17.0 2019-03-07 12:31:06 +00:00
samme
0d1e0f203d Add isPaused() methods to ScenePlugin, SceneManager 2019-02-27 12:23:02 -08:00
samme
0b2658c1b0 Docs descriptions for the isActive() methods 2019-02-27 12:19:55 -08: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