phaserlover

How to listen on mouse wheel event?

Recommended Posts

Hi!

I was wondering how to get the mouse wheel event? Does phaser have anything special, or I should use the normal javascript event?

I was looking at https://photonstorm.github.io/phaser3-docs/Phaser.Input.InputPlugin.html but they don't list the events available. I wonder where can I see the list of events that the scene.input emits. Took a quick look at https://github.com/photonstorm/phaser/blob/v3.11.0/src/input/InputPlugin.js but doesn't seem to have any list of events, must come from some other file...

😔 I used phaser 2 a few years ago, now I'm back to use phaser 3. I'm still disappointed with how hard is to get started with anything, most likely because of the docs (slow, confusing and incomplete). I really appreciate the effort of phaser, but really disappointed with the docs/api. I'm developing software for +10 years, and I never had to deal with something like this.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.