
Hyper Soccer is now playable in the Browser, go try it now. It’s a frantic little local-multiplayer game with gamepad support, you can even play with as many players as you have gamepads. So grab some gamepads and some friends and get playing. (Although gamepads may not work in the Web-Version, and you probably need to download the Desktop-Version.)
It has a lot of match customization options: you can choose the unit types available, the AI Difficulty and the amount of units per team. Although, not all values may be reasonable…

Promise me to never do that.
Two teams with various unit’s consisting of four unit types, each with their own special ability, try to get the ball to their side of the field, to win a round of hyper soccer!

I do however recommend a “only-grappling-hook” match.
Libgdx doesn’t like Iframes
I had to jump through a few hoops, to get the HTML5-Build of my LibGDX game to run flawlessly on itch.io, because it gets embedded in an iframe. If you are having similar problems you may want to read the stuff below.
Beating the iframe
First problem is, although mouse clicks are distributed to the iframe, key events are not. To remedy this you will have to add a call to window.focus() in your handleMouseDown javascript function in your index.html file.
Disabling Arrowkeys
Next problem is, if you use the arrowkeys as controls, they will scroll the page and/or the iframe when pressed, that’s really annoying when trying to play a game. To prevent the iframe from scrolling, you can simply make the size of the iframe a bit bigger than your game is. But to prevent the site itself from scrolling, you will want to prevent the default arrowkeys behaviour. This did work fine in Firefox, however not in Chrome, so a different solution had to be found. After applying BOTH methods to my index.html (just to be sure), Arrowkeys no longer scroll the page, and the game can be enjoyed in peace. (If you are not sure about how to do something, you can always check the source-code of the game’s page.)
Deploying to itch.io itself is actually pretty straight forward, you just zip all the files in your html/build/dist/ folder and upload it to itch.io – finished!
I hope this saves someone from going through the horrible things I had to go through.
Tags: hyper soccer, now with more web, web