Richard Davey
|
04f54b888a
|
Fix getScene return type. Fix #6821
|
2024-09-02 14:26:00 +01:00 |
|
Richard Davey
|
378838a011
|
All functions now call 'queueOp'.
Removed sound unlocking on load complete.
|
2024-08-25 22:35:39 +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 |
|
Wooseok Han
|
8a52c00cad
|
feat : add data argument in Scene.switch
|
2024-07-26 13:25:07 +09:00 |
|
samme
|
a98f1f5713
|
Docs: correct args in some scene events
|
2024-07-18 19:03:08 -07:00 |
|
Richard Davey
|
c445303ffb
|
Revert define changes as they don't work
|
2024-02-21 13:23:52 +00:00 |
|
Richard Davey
|
7aaa976a4e
|
Updated webpack config DefinePlugin use and corresponding defs to allow those crazy souls who import source directly on node to have a better life #6644
|
2024-02-21 12:57:48 +00:00 |
|
Richard Davey
|
1f8276ac76
|
Updated copyright year, company and author
|
2024-02-19 17:12:24 +00:00 |
|
Oliver Kisielius
|
9ac03cd565
|
Check for undefined to avoid a crash in the examples at phaser3-custom-build.
|
2023-12-13 15:06:21 -05:00 |
|
Richard Davey
|
a7d7a7d526
|
The Game instance will now boot the new SYSTEM_READY event, which indicates that the internal Scene System has been created by the Scene Manager and is ready for use. The Texture Manager now listens for this event in order to create the stamp Image. This fixes an issue where the stamp would throw a run-time error if the game didn't feature a preload function. Fix #6616
|
2023-11-09 13:42:00 +00:00 |
|
samme
|
7864024cbf
|
Docs: correct cameras types
Phaser.Types.Scenes.SettingsConfig, Phaser.Types.Scenes.SettingsObject
|
2023-04-03 16:03:51 -07:00 |
|
samme
|
26726eaf05
|
Fix error stopping a scene without a loader
|
2023-03-19 09:13:46 -07: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
|
b5312b86fa
|
The SceneManager.processQueue method will no longer return if a new Scene was added, after starting it. This allows any other queued operations to still be run in the same frame, rather than being delayed until the next game frame. Fix #5359
|
2022-12-12 14:51:05 +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
|
b182557d03
|
Added canInput method
|
2022-11-08 23:21:25 +00:00 |
|
Yuval Greenfield
|
080a30d789
|
More accurate "since" version for SceneType.js
|
2022-10-10 10:08:50 -07:00 |
|
Richard Davey
|
07e0753e74
|
Fixed type def
|
2022-10-10 17:54:34 +01: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 |
|
Richard Davey
|
c9e37ed373
|
Remove calls to resetTextures
|
2022-10-07 16:09:23 +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
|
d3de5ef1e4
|
SceneManager.systemScene` is a new property that is set during the game boot and is a system Scene reference that plugins and managers can use, that lives outside of the Scene list.
|
2022-09-27 23:39:04 +01:00 |
|
Richard Davey
|
023343c789
|
All events have a type of string. Fix #6136
|
2022-09-21 22:01:03 +01:00 |
|
Richard Davey
|
61545eb7e4
|
The SceneManager.moveAbove and moveBelow methods didn't check the order of the Scenes being moved, so moved them even if one was already above / below the other. Both methods now check the indexes first. Fix #6040
|
2022-05-06 17:00:59 +01:00 |
|
Richard Davey
|
c56c029c7c
|
Updated jsdocs. Fix #6045
|
2022-05-06 16:38:19 +01:00 |
|
Richard Davey
|
ff093571e8
|
Fix #6080
|
2022-04-26 11:42:17 +01:00 |
|
Richard Davey
|
54c9b653ef
|
Merge pull request #6031 from arosemena/master
Fixed the type definition of SceneUpdateCallback
|
2022-04-14 16:20:30 +01:00 |
|
Roberto Arosemena
|
87c44cbad7
|
Added time parameters to SceneUpdateCallback typedef file
|
2022-03-04 10:45:26 -06:00 |
|
Richard Davey
|
82951cbc3f
|
Merge pull request #6028 from samme/feature/scene-start-changes
Improve the scene start logic
|
2022-03-04 16:34:22 +00:00 |
|
Rex
|
b1916a9d14
|
Add typedef of onStart parameter
|
2022-02-28 22:44:18 +08:00 |
|
Richard Davey
|
59fbcc5ca3
|
Updated copyright year
|
2022-02-28 14:29:51 +00:00 |
|
samme
|
683fc8cf06
|
Scene start changes
- Scenes starting, loading, or creating are not started
- Scenes sleeping are shutdown and then started
|
2022-02-22 17:29:05 -08: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 |
|
samme
|
0679f1aa64
|
Remove the load complete handlers when stopping a scene
|
2022-02-06 11:41:18 -08:00 |
|
Richard Davey
|
4f0232e8c8
|
Restored the 3.55.2 sound system + fixes for iOS
|
2022-02-04 16:59:13 +00:00 |
|
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 |
|