-
-
Notifications
You must be signed in to change notification settings - Fork 11
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
Unable to use plugins #13
Comments
I found a workaround using Remove plugins from game config:
and at my MainScene#preload I did this:
NoteCall start method is very important without it the colliders won't work. |
Perfect worked a charm! Thanks very much @xptavares |
Just stumbled upon this bug while developing a plugin for Phaser and it took me a few hours to realise this is a bug in Phaser on NodeJS. Any idea where the bug could be? UPDATE: I looked into it a little more and it looks like plugins are in fact loading and being started, but only AFTER the whole game has booted and the first scene started, whereas on the web the plugins are all part of the boot process before any scene is started. |
One workaround I found for starting the game with plugins loaded is to not add any in the global config and instead start the first scene through the game object:
The downside, aside from being unintuitive, is that the |
Another workaround, not sure whether it's any better:
The downside of this approach is that whatever the global plugins do with the plugin manager instance (e.g. installing scene plugins) gets lost... |
Describe the bug
Loving the project so far, thanks for keeping it up to date. I may be missing something but it seems plugins are not working for now -
Using the following code -
I then use in the scene as such -
However review the following error -
The text was updated successfully, but these errors were encountered: