rblopes / generator-phaser-plus

[🛑 DISCONTINUED] It has been a long journey but development of `generator-phaser-plus` is now over. I recommend you have a look and fork `yandeu/phaser-project-template` instead.
https://github.com/yandeu/phaser-project-template
MIT License
144 stars 14 forks source link

Installing plugin: kinnetic-scrolling #23

Closed syzer closed 7 years ago

syzer commented 7 years ago

I have a problem installing

I was trying to follow.. to no avail.

rblopes commented 7 years ago

Install the plugin using npm and then require (or import) it into your game app. From there, just follow the instructions at the plugin's page.

Bear in mind that this plugin isn't a CommonJS module (just like many others), it'll just appear as an Phaser.Plugin 'class' after you require it.


Hint: I edited a little user's manual covering this and a few other aspects of the generator and Phaser game authoring. It's not that great but I think you'll find it useful.

syzer commented 7 years ago

thanks so much!