Hey, I’m making a little puzzle game that I planned to use the scroll wheel on the mouse for some mechanics.
Specifically, I want to do something with scrolling up and down. The problem is that I don’t know how to trigger that.
By looking at Cocos’ source code, I can see that ccLayer has this function: onScrollWheel_ but that function never triggers!
I created a layer, usedsetMouseEnabled(true), and implemented a littlecc.log()_ when it triggers. I tried, scrolling up, down and clicking the button, but nothing happens.
Does CocosHTML5 actually has this implemented? Or is there some step that I may be missing?