itch.io is community of indie game creators and players

Devlogs

v2.1.1 - Fix jumping with NumpadEnter on the web build

JJAT
A browser game made in HTML5

Porting to web is **fun**...

Yesterday, I got a bug report saying that Numpad's Enter doesn't use the item and pauses the game instead.

After looking into the issue, I came to the conclusion that there's no way to make SDL2 recognize Numpad's Enter on the browser... so I ended up hijacking that key press/release and sending a different one in its place (see the commit for a more in-depth description).

It's hack-y but it works... for now! Let's see how long it takes for that to break...

Files

  • jjat-html5-webasm.zip 8.7 MB
    Version v2.1.1
Download JJAT
Leave a comment