Playing Keen Mods In Web Browser

You can discuss anything about fan-made Commander Keen games here.
User avatar
Commander Spleen
Lord of the Foobs
Posts: 2341
Joined: Wed Oct 31, 2007 22:54
Location: Border Village
Contact:

Re: Playing Keen Mods In Web Browser

Post by Commander Spleen » Thu Dec 14, 2017 0:12

It actually does it in Linux too now, but somehow I hadn't noticed. Tried overriding Alt with JavaScript but it still triggers the menu.

Going to about:config?filter=ui.key.menuAccessKeyFocuses and changing it to false turns it off, but asking every user to modify their browser configuration is not an ideal solution.

Right clicking the toolbar and toggling Menu Bar on permanently shows the menu so the Alt is not intercepted, at least in Linux. If it also works on Windows then I'll suggest this as a workaround.

Still no idea what to do about Vivaldi apart from changing every mod's keyboard settings. It even captures Alt in fullscreen.

User avatar
Nisaba
Vorticon Elite
Posts: 818
Joined: Fri Jan 01, 2016 23:34
Location: The Outpost
Contact:

Re: Playing Keen Mods In Web Browser

Post by Nisaba » Thu Dec 14, 2017 9:21

I would strongly suggest to change every mod's keyboard settings! this can be done in multiple ways.
  1. via patching (I did this extensively for my CK-Handheld project: https://pckf.com/viewtopic.php?f=3&t=3673)
  2. via an implemented mapper to configure game controllers (DOSBox does provide such tool, I don't know about yours)
the advantage of solution b) would be, that you could map multiple keys globally to all core keys needed. plus a number of keys could get assign in a way to trigger the same action. for eg.: [Strg] = jumping, [X] = jumping as well and so forth. plus factor of this solution is, that the player can decide which button layout to choose from. this way around, one can bypass browser specific issues; respectively use the well known key mapping if there is non button barrier.
other than that it might be a good idea to add a patch that prohibits two-button-firing in the Vorticons Universe. At least that's what I did to get things running with my GameBoyZero project.
"We have come to conquer you all and bring you lots of candy!" | about me | my current project: play Keen mods on a GameBoy |

Post Reply