Disable autoscroll on itch.io?
Hi. I am trying to run my game in a browser on itch.io. But I use default controls with spacebar as a jump button. That´s not ideal, because spacebar scrolls to the bottom of the page in most major browsers (Chrome and Firefox).
I know that I need to add an event listener, like these:
http://forum.haxeflixel.com/topic/385/prevent-scroll-on-html5-solved
https://www.construct.net/en/forum/construct-3/how-do-i-8/prevent-scrolling-itch-io-143583
but where do I add it? To the Description tab? That doesn´t work for me.
Does anyone have experience with this?
Thank you.
