Jump to content

Kinetic Scrolling in Phaser 3


Kozelek
 Share

Recommended Posts

Hello,

I'm relatively new to Phaser 3, and I am trying to migrate a project from Phaser 2 to Phaser 3. That old project used the "kinetic-scrolling-plugin" (https://github.com/jdnichollsc/Phaser-Kinetic-Scrolling-Plugin) which allowed to allow swipe scrolls of big images.

The problem is that this plugin doesn't work anymore in Phaser 3, as the Phaser.Plugin object doesn't seem to exist in Phaser 3. I've been trying to find a similar plugin for Phaser 3 but I only found this: https://gist.github.com/PaNaVTEC/ef18d2bee239514515e91d6c50012825

But that code is only for Typescript, and I use Javascript. Also, even if I convert it to Javascript, I don't know how to use that code in Phaser 3 as there is no documentation.

Does any other similar plugin exist in Phaser 3, or did anyone find a way to make the old plugin work for Phaser 3? Thanks in advance!

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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