Hello, I want to update a game, and I would like to use Phaser v2.13.2, but mouse wheel does not work anymore.
I don’t understand how to use it now. Here is my old code:
game.input.mouse.mouseWheelCallback = mouseWheel;
function mouseWheel(event)
{
if (game.input.mouse.wheelDelta == 1){
// console.log("scroll");
}
}