Richard Davey
|
7e30ff32be
|
Phaser.Scene.renderer is a new property available in every Phaser.Scene that gives you a reference to the renderer, either Canvas or WebGL.
|
2020-10-27 13:42:45 +00:00 |
|
Richard Davey
|
605ea31146
|
SceneManager.start will now reset the SceneSystems.sceneUpdate reference to NOOP . This gets set back to the Scene update method again during bootScene (if it has one) and stops errors with external plugins and multi-part files that may trigger update before create has been called. Fix #4629
|
2020-10-16 16:39:30 +01:00 |
|
Richard Davey
|
9cd4c1bb0a
|
Refactored to use local vars
|
2020-09-11 16:27:21 +01:00 |
|
Richard Davey
|
07865a5823
|
Final set of namespace changes. Fix #5062
|
2020-09-01 20:28:42 +01:00 |
|
Richard Davey
|
ae4ed0ac54
|
Expose the new events
|
2020-08-24 19:13:18 +01:00 |
|
Richard Davey
|
48f94be449
|
Scenes.Events.REMOVED_FROM_SCENE is a new event, emitted by a Scene, when it a Game Object is removed from the display list in the Scene, or a Container that is on the display list.
|
2020-08-24 19:13:06 +01:00 |
|
Richard Davey
|
1423ade7b3
|
Scenes.Events.ADDED_TO_SCENE is a new event, emitted by a Scene, when a new Game Object is added to the display list in the Scene, or a Container that is on the display list.
|
2020-08-24 19:12:54 +01:00 |
|
Richard Davey
|
3484ded2b7
|
You can now use this.renderer from within a Scene, as it's now a Scene-level property and part of the Injection Map.
|
2020-08-22 10:33:46 +01:00 |
|
Richard Davey
|
56084dfa89
|
Merge pull request #5172 from lozzajp/quick-doc-fix
Add info to the scene manager method headers where optional data goes.
|
2020-07-13 12:36:51 +01:00 |
|
Laurence
|
1238727256
|
Add info to the scene manager method headers where data is passed to (Scene.init and Scene.create)
|
2020-05-29 08:18:43 +01:00 |
|
samme
|
9ffa3bd262
|
Remove spurious assignment
|
2020-05-24 22:25:21 -07:00 |
|
Richard Davey
|
598356dfef
|
Merge pull request #5048 from samme/docs/PackFileSection
Add Phaser.Types.Loader.FileTypes.PackFileSection
|
2020-04-27 12:16:34 +01:00 |
|
Richard Davey
|
ab7b7b19a4
|
Merge pull request #5066 from samme/fix/5065-scene-update-before-create
Fix scene update before create
|
2020-04-27 12:15:41 +01:00 |
|
Richard Davey
|
d2dce27e25
|
Merge pull request #5082 from MrMadClown/master
#5078
|
2020-04-27 12:09:36 +01:00 |
|
lucap
|
6e30293142
|
#5078
- updated description of data in the SceneTransitionConfig definition
|
2020-04-14 07:33:23 +02:00 |
|
lucap
|
ace0e200e4
|
#5078
- passing the data from the transition to the System.wake method
- added missing property to the SceneTransitionConfig definition
|
2020-04-08 20:20:01 +02:00 |
|
samme
|
f6dfb9a278
|
Reset sceneUpdate in boot
Fixes #5065
|
2020-04-01 13:12:25 -07:00 |
|
samme
|
037d3f1823
|
Description for pack property
|
2020-03-18 10:24:59 -07:00 |
|
samme
|
f39e3d8f10
|
Add Phaser.Types.Loader.FileTypes.PackFileSection
Correct types in Scenes.SettingsConfig, Scenes.SettingsObject
Fixes #5046
|
2020-03-17 17:25:42 -07:00 |
|
halilcakar
|
43f26ad31f
|
Update JSDocs for events
|
2020-03-10 11:11:43 +03:00 |
|
Richard Davey
|
20fabba0b9
|
Impact Physics is now removed from the core API
|
2020-02-04 14:52:04 +00:00 |
|
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 |
|
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 |
|
Richard Davey
|
7aa46657c2
|
Tidying up jsdocs and changing float to number
|
2018-06-26 23:19:14 +01:00 |
|
Richard Davey
|
f1190529d2
|
ScenePlugin.start and ScenePlugin.restart will now always queue the op with the Scene Manager, regardless of the state of the Scene, in order to avoid issues where plugins carry on running for a frame before closing down. Fix #3776
|
2018-06-26 16:35:45 +01:00 |
|