Skip to content

Docs error in "Scene systems and plugins" #7127

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
samme opened this issue Apr 30, 2025 · 0 comments
Open

Docs error in "Scene systems and plugins" #7127

samme opened this issue Apr 30, 2025 · 0 comments

Comments

@samme
Copy link
Contributor

samme commented Apr 30, 2025

https://docs.phaser.io/phaser/concepts/scenes#scene-systems-and-plugins

Any extra scene plugins you've added in the game config with { start: true } or any { mapping: … } are also default plugins.

etc. is incorrect. The correct description is

Any scene plugins added to the game config are default plugins and will be installed in each scene unless excluded in the scene config.

Custom scene plugins can be excluded like

new Phaser.Scene({
  // Phaser's default scene plugins only.
  plugins: Phaser.Plugins.DefaultPlugins.DefaultScene
});

Phaser default scene plugins can be excluded like

new Phaser.Scene({
  // "DataManagerPlugin", "Loader", and "LightsPlugin" are omitted.
  plugins: ["Clock", "InputPlugin", "TweenManager"],
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants