Commit graph

88 commits

Author SHA1 Message Date
Ben Afonso
2295d4c5e5
Fix getScene, getScenes return types. 2024-11-04 12:56:55 +01:00
Richard Davey
04f54b888a Fix getScene return type. Fix #6821 2024-09-02 14:26:00 +01:00
Richard Davey
53c491fb84
You can now pass a data argument to ScenePlugin.switch 2024-08-25 22:34:15 +01:00
samme
7fd11d2e98 Docs: clarify moveAbove(), moveBelow() 2024-08-23 08:50:47 -07:00
Richard Davey
1f8276ac76 Updated copyright year, company and author 2024-02-19 17:12:24 +00:00
Richard Davey
468bf7821d Updated copyright year 2023-01-02 17:36:27 +00:00
Richard Davey
1302c1724f An inactive Scene is no longer updated after a Scene transition completes. Previously, it will still update the Scene one final time. This fix also prevents the POST_UPDATE event from firing after the transition is over. Fix #5550 2022-12-12 14:57:37 +00:00
Richard Davey
4346113fee
Merge pull request #6238 from ubershmekel/master
Introduce `SceneType` for ease and correctness
2022-11-29 14:33:39 +00:00
Richard Davey
b28eaf8da7 Added generics to Scene Manager functions. Fix #5662 2022-11-17 22:13:24 +00:00
Richard Davey
8f4b57a018
Merge pull request #6007 from rexrainbow/scene-transition-onstart
Add onStart parameter into scene.transition(config)
2022-10-10 14:47:23 +01:00
Richard Davey
5dd3a40342 Fixed data types 2022-10-09 18:11:00 +01:00
Yuval Greenfield
7a4dd97793 Fix the typescript types in the js
This generates the desired phaser.d.ts
2022-10-04 10:48:21 -07:00
Richard Davey
c56c029c7c Updated jsdocs. Fix #6045 2022-05-06 16:38:19 +01:00
Richard Davey
59fbcc5ca3 Updated copyright year 2022-02-28 14:29:51 +00:00
Rex
558589f851 Add onStart parameter into scene.transition(config)
It can define transition action of  scenes in a single scene.transition(config) call.
2022-02-15 10:10:33 +08: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
372ca3bd4a Better JSDocs and types 2021-02-16 13:21:31 +00:00
Richard Davey
02c34cd64e Replace integer with number 2020-11-23 10:22:13 +00: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
Richard Davey
ff65e69cd1 Changed copyright date to 2020 2020-01-15 12:07:09 +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
ab924492b5 Added optional data object to stop method 2019-10-11 13:31:56 +01:00
Richard Davey
c91ed91ce3 License link update 2019-05-10 16:15:04 +01:00
Richard Davey
1dca2c2c8a Scenes Types 2019-05-09 12:37:37 +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
Richard Davey
88c8bb1bc2 Update docs to clarify #4403 2019-04-08 14:52:13 +01: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
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
0db663d901 More typedefs 2019-02-13 15:38:50 +00:00
Richard Davey
eb9ed3463f Lots of namespace and jsdoc fixes 2019-02-01 18:02:58 +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
aa341854c7 Happy New Year 2019-01-15 16:20:22 +00:00
Patrick Sletvold
206d61284b Mark optional params as optional in jsdoc 2019-01-02 11:54:39 +01: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
4b1c762296 Updated @memberOf to @memberof 2018-10-10 10:49:13 +01:00
Richard Davey
2a1ea30cb7 Typos 2018-10-03 22:07:41 +01:00
Richard Davey
5fe6dbbe0c Added more jsdocs 2018-09-13 08:09:44 +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
Richard Davey
b95f980023 Added in data object passing to all relevant methods #3748 2018-06-26 16:08:14 +01:00
Richard Davey
43fd10bbc1 ScenePlugin.run is a new method that will run the given Scene and not change the state of the current Scene at all. If the scene is asleep, it will be woken. If it's paused, it will be resumed. If not running at all, it will be started. 2018-06-08 15:07:00 +01:00
Michael B
e322ed7916
jsdoc fixes 2018-05-18 02:56:32 +02:00
Richard Davey
350cb037b7 All systems now register themselves with the new PluginCache 2018-05-15 12:51:50 +01:00