Jump to content

How to use plugins and addons


Recommended Posts

Welcome to the board!

It totally depends on the plugin that you're using. I'm sorry the documentation is scarce. You should try reading the code to see what/how they work and talk to Phaser.

If the plugin you're working with is, truly, a Phaser.Plugin than you can call "game.plugins.add(PluginClass);" (substitute the main class for your plugin for PluginClass, there) to add it.

Check out this example of adding a plugin to a game.

Link to comment
Share on other sites


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...