Most active commenters

    ←back to thread

    1345 points philosopher1234 | 11 comments | | HN request time: 0.413s | source | bottom
    Show context
    bogwog ◴[] No.34629739[source]
    Played this for a bit but ran into some trouble with the key mappings. CTRL to crouch means that I can't really press anything else without causing firefox to ruin the game.

    * CTRL+R (reload) causes the page to refresh

    * CTRL+W (walk forward) attempts to close the current tab

    * CTRL+S (walk backward) opens a dialog to save the current page

    * CTRL+D (walk right) bookmarks the current page

    Luckily firefox shows a confirmation dialog before refresh or closing the tab, but that causes the game to freeze until you dismiss it.

    Also sound didn't work at all

    replies(7): >>34629849 #>>34629850 #>>34630456 #>>34631093 #>>34631578 #>>34631651 #>>34632122 #
    rollcat ◴[] No.34631651[source]
    Say what you like about Apple, but having all these functions on the Cmd key instead is not just more logical, it's actually sane (doubly so for the terminal). I think MS has missed an enormous opportunity when they introduced the Win key; and X11 desktops, toolkits, and apps imitated the more familiar (rather than the better) solutions.
    replies(7): >>34631818 #>>34631866 #>>34631915 #>>34632148 #>>34632317 #>>34634369 #>>34635100 #
    1. arcanemachiner ◴[] No.34631818[source]
    I will concede that for once, Apple's insane keyboard mappings actually work in their favor.

    But I still won't get them any credit, since it is purely a coincidence that their mappings happened not to mess with this one browser game.

    replies(6): >>34631874 #>>34631965 #>>34633597 #>>34634199 #>>34634480 #>>34635180 #
    2. outworlder ◴[] No.34631874[source]
    > it is purely a coincidence that their mappings happened not to mess with this one browser game.

    Not really a coincidence and that's not the only scenario where it's preferable to have a dedicated command key

    replies(2): >>34633404 #>>34638810 #
    3. victorbstan ◴[] No.34631965[source]
    What’s insane about a standardized key mapping that is predictable across apps and works? On windows you can never be sure what any key combo will do from app to app.
    replies(1): >>34638488 #
    4. jml7c5 ◴[] No.34633404[source]
    It is a sort of coincidence that Apple decided the pinky finger button should be control rather than command. The other way around and crouch-jumping would be more difficult and you'd want to rebind it... but you would then run into the same keybind overlap issue as experienced on Windows/Linux.
    5. bobbylarrybobby ◴[] No.34633597[source]
    It's a whole extra button, how is it a coincidence. (Yes windows has the windows button but it isn't a modifier in the same way.)
    6. LordDragonfang ◴[] No.34634199[source]
    The control key was designed with the intent of subtracting 0x60 (or 0x40 if you assume the base state is caps) from a character code to send a control code. It's not some coincidence that "ctrl-c" sends an interrupt on the console, if you take a look at any ascii table[1] you can see it was designed that way.

    Repurposing that key to instead perform unrelated arbitrary commands is the insane move, and it only seems normal because you grew up using Windows and never thought to question it.

    Apple's mappings make much more sense, especially with both OSs having a Meta key.

    [1] https://www.asciitable.com/

    7. shepherdjerred ◴[] No.34634480[source]
    It comes in handy in terminals as well. You can use CMD + C to copy, CTRL + C to send a code.
    replies(1): >>34650685 #
    8. rtpg ◴[] No.34635180[source]
    I mean it's an intentional design decision to avoid using ctrl for OS shortcuts. Coincidence is a bit much! (Not an Apple partisan, stopped using Macs when I couldn't open iTunes without being pitched Apple Music)
    9. conradfr ◴[] No.34638488[source]
    As a Windows user who has to use MacOS at work there's nothing predictable about "Cmd or Ctrl?".

    Habits, I guess.

    10. account42 ◴[] No.34638810[source]
    It is a coincidence. The issue is commands in the game clashing with the browser, an environment it was never meant to run in. Whatever command-key you want to use for shortcuts, both applications have equal claim to wanting to use them - is is about application shortcust vs. application shortcust not OS shortcuts vs. application shortcuts. It only works out because the game was developed for a different platform than the browser, which by coincidence uses a different key for commands.
    11. pornel ◴[] No.34650685[source]
    This is the primary reason why I haven't switched to Linux yet.