flatliner Posted November 13, 2020 Share Posted November 13, 2020 Is it possible to use mouse wheel for game object rotation? How can I do this? Thank you. Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted November 13, 2020 Share Posted November 13, 2020 pixi doesnt have special events for mouse wheel, its up to you to register them flatliner 1 Quote Link to comment Share on other sites More sharing options...
Exca Posted November 16, 2020 Share Posted November 16, 2020 Just listen for wheel event on the window/document/element https://developer.mozilla.org/en-US/docs/Web/API/Element/wheel_event flatliner 1 Quote Link to comment Share on other sites More sharing options...
flatliner Posted February 4, 2021 Author Share Posted February 4, 2021 I did something like this: http://test.pl.ua/pentamino1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.