You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As suggested here I just added the plugin inside my vendors bundle and added it in my game using the preload function (src/states/Boot.js) but I get an unexpected result :
Slick-Ui add itselft to Phaser's plugins global object :
Phaser.Plugin.SlickUI // I can reach this one
It need Phaser.Plugin.prototype to properly initiate the plugin (before using it in game)
Any help welcome, Im stuck with this issue since a few days..
The text was updated successfully, but these errors were encountered:
Hello,
I try to use some Phaser plugins but nothing works for me.
My first attempt was with Slick-UI.
As suggested here I just added the plugin inside my vendors bundle and added it in my game using the preload function (src/states/Boot.js) but I get an unexpected result :
webpack.config.js :
src/index.html :
src/states/Boot.js :
src/states/Boot.js :
In the plugin demo (here) the plugin object looks like this (Plugin added to the game):
But in my case I get a different object (Plugin added to the game):
Slick-Ui add itselft to Phaser's plugins global object :
Phaser.Plugin.SlickUI // I can reach this one
It need Phaser.Plugin.prototype to properly initiate the plugin (before using it in game)
Any help welcome, Im stuck with this issue since a few days..
The text was updated successfully, but these errors were encountered: