Emil Schnedler Vad
|
92694ac5ee
|
fix sceneManager moveBelow and moveAbove
made the code account for that sceneA index decrement if SceneB is below it
|
2021-12-05 16:57:51 +01:00 |
|
samme
|
82d7861930
|
Fix the pause and sleep status checks
|
2021-12-01 14:38:15 -08:00 |
|
Richard Davey
|
31cbacbe20
|
Can only sleep a running scene
|
2021-12-01 21:24:03 +00:00 |
|
Richard Davey
|
067e6fd4f0
|
Scene.pause will now check to see if the Scene is in either a RUNNING or CREATING state and throw a warning if not. You cannot pause non-running Scenes.
|
2021-11-04 14:55:24 +00:00 |
|
Richard Davey
|
b8468c8bc2
|
Added getStatus method
|
2021-11-04 14:55:16 +00:00 |
|
Richard Davey
|
66939d0621
|
Clarify scene data in docs. Fix #5001
|
2021-10-29 17:53:57 +01:00 |
|
Richard Davey
|
39a06f241b
|
The SceneManager.bootScene method will now always call LoaderPlugin.start , even if there are no files in the queue. This means that the Loader will always dispatch its START and COMPLETE events, even if the queue is empty because the files are already cached. You can now rely on the START and COMPLETE events to be fired, regardless, using them safely in your preload scene. Fix #5877
|
2021-10-25 18:48:38 +01:00 |
|
samme
|
787437c219
|
Docs: mark Scene config optional
Fixes #5874
|
2021-10-19 09:13:14 -07:00 |
|
Richard Davey
|
c84187b856
|
Merge pull request #5842 from samme/feature/scene-stop-abort
Ignore scene stop if already shutdown
|
2021-09-24 14:40:48 +01:00 |
|
samme
|
6df5b7e3a6
|
Ignore scene stop if already shutdown
|
2021-09-14 08:53:44 -07:00 |
|
Yuval Greenfield
|
1a713b4c5e
|
Fix #5811, log error on invalid scene.start(key)
|
2021-09-03 23:11:29 -07:00 |
|
Richard Davey
|
5c8ecbcf99
|
Fixed jsdoc layout in #5631
|
2021-03-30 10:41:43 +01:00 |
|
samme
|
0482d4c563
|
Docs: fix scene events example code
|
2021-03-28 10:20:33 -07:00 |
|
Richard Davey
|
d3b188d670
|
The Scenes.Systems.install method has been removed. It's no longer required and would throw an error if called. Fix #5580
|
2021-03-24 16:43:40 +00:00 |
|
Richard Davey
|
c863a59223
|
Merge pull request #5569 from krotovic/feat/tsgen-this-function
Add support for `this` in function definitions
|
2021-03-24 16:06:25 +00:00 |
|
Richard Davey
|
a3bcf4beb1
|
Improved JSDocs
|
2021-02-23 17:12:12 +00:00 |
|
Lukáš Krotovič
|
f5f3411aac
|
Add @this into CreateSceneFromObjectConfig callbacks
|
2021-02-19 08:48:16 +01:00 |
|
Richard Davey
|
372ca3bd4a
|
Better JSDocs and types
|
2021-02-16 13:21:31 +00:00 |
|
Richard Davey
|
e96cab1784
|
Improved documentation. Fix #5554
|
2021-02-16 13:09:30 +00:00 |
|
Richard Davey
|
7cbf3840af
|
SceneManager.loadComplete will no longer try to unlock the Sound Manager, preventing AudioContext was not allowed to start console warnings after each Scene finishes loading.
|
2021-02-16 12:59:08 +00:00 |
|
samme
|
7ba9d7ea8b
|
Docs: update scene event flow (PRE_RENDER)
|
2021-01-30 11:02:42 -08:00 |
|
samme
|
1145fd41bb
|
Add Phaser.Scenes.Events#PRE_RENDER event
By Phaser.Scenes.Systems#render
|
2021-01-30 11:02:42 -08:00 |
|
Richard Davey
|
4fbdbb8a04
|
The error RENDER WARNING: there is no texture bound to the unit ... would be thrown when trying to restart a Scene. When a Scene is shutdown is will now reset the WebGL Texture cache. Fix #5464
|
2021-01-04 15:51:02 +00:00 |
|
Richard Davey
|
02c34cd64e
|
Replace integer with number
|
2020-11-23 10:22:13 +00:00 |
|
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 |
|