New Chrome release allows mouse-controlled FPSes

Chrome 22 came out yesterday. Along with minor cosmetic changes and bug fixes, the latest Google browser update adds something that ought to please PC gamers everywhere: support for the Pointer Lock JavaScript API. Thanks to the API, Google says, "3D applications such as first-person games can allow users to control their perspective naturally with the mouse, without moving outside the window or bumping into the edge of their screen."

You can see the Pointer Lock API in action right now. Make sure you’re running either Chrome 22 or the latest Firefox release, and then fire up Mozilla’s Bananabread demo. (It’s a simplified, WebGL-based first-person shooter that looks a little bit like Quake III.) The game should automatically go full-screen and request your permission to disable the mouse cursor. See below:

Once you click "Allow," the game should behave pretty much as you’d expect any FPS to do. All you have to do to snap out of full-screen mode and un-trap the mouse cursor is hit the Escape key. Pretty keen.

Oh, of course, we’re not going to see the Doom 4 running in a browser. Capabilities like these are nevertheless adding a new dimension to browser-based PC games. Who needs Farmville and cheesy Facebook games when you can fire-up a high-adrenaline shooter right there in your browser, without special plug-ins or local installations?

The Pointer Lock API should enable more than just great browser games, too. Google says the functionality will be useful for applications like "scientific visualization, training, simulation, modeling, authoring packages, and more."

Comments closed
    • The Dark One
    • 7 years ago

    Now I’m just waiting for someone to throw in PeerConnection and DataChannel functionality to give us p2p multiplayer netcode in the browser.

    • Bensam123
    • 7 years ago

    I can’t imagine this possibly being used in a bad way…

      • Dygear
      • 7 years ago

      It’s really not that bad, it asks you every time if you want to allow the site to lock your pointer, and only content served from the same domain can request pointer locks. So ads can’t lock your pointer if they are served from a different domain then the main site. I’ve been following this, and they have done a very good job.

        • Bensam123
        • 7 years ago

        lol… W7 UAC is supposed to ask you anytime a system change occurs that’s not authorized.

    • JosiahBradley
    • 7 years ago

    Not sure when they released it, but I know this FPS worked a few versions ago with Firefox. Was actually kinda awesome and speedy for a JS based game. And this was on the Linux version.

    • flip-mode
    • 7 years ago

    Shoot, that’s nothing.

    But, brace yourselves: The Chrome control menu button has changed.

      • Duck
      • 7 years ago

      W.T.F. Seriously, it’s awful. What was wrong with the old one? This new one is horrible.

      • JMccovery
      • 7 years ago

      Oh, what used to be the wrench? I guess Google is just making Chrome similar across devices (the iOS version of Chrome has the same menu button).

      • mnemonick
      • 7 years ago

      It was the first thing I noticed- [sub<]OHNOES, WHAT IS HAPPENED TO MAH WRENCH?[/sub<] 😀

    • NeelyCam
    • 7 years ago

    PC gaming is dead as soon as PS4 comes out. Playing FPS games with a mouse and a keyboard [b<]JUST-DOESN'T-MAKE-SENSE[/b<] First

      • raddude9
      • 7 years ago

      but what if the PS4 is a PC? Then what happens?

        • Chrispy_
        • 7 years ago

        Well, the first thing I’ll do is put antivirus on it, for sure.

          • MadManOriginal
          • 7 years ago

          It would go into an infinite loop and eventually blow up trying to clean the Sony rootkit.

        • ratte
        • 7 years ago

        And it’s 2 years away

      • jdaven
      • 7 years ago

      Silly, everyone knows that the PS4 will be cybernetic implants that connect us all to hypno-toad.

        • Narishma
        • 7 years ago

        That’s the PS9, silly.
        [url<]http://www.youtube.com/watch?v=Vdh4TqWFfX4[/url<]

      • derFunkenstein
      • 7 years ago

      Wow, what’s with the minuses? The sarcasm is thick, and you’d think the PC Master Race types around here would recognize it and + it.

        • superjawes
        • 7 years ago

        But it’s Neely.

        • indeego
        • 7 years ago

        I +’d it just after reading “PC gaming” That’s all I need to get a thumb up someone’s *ss.

          • bthylafh
          • 7 years ago

          Not even lube and sweet talk?

      • TaBoVilla
      • 7 years ago

      downboats? really?

        • bthylafh
        • 7 years ago

        Probably because he’s doing the “first post” thing.

          • NeelyCam
          • 7 years ago

          Yeah – downvotes on first post are actually upvotes

            • superjawes
            • 7 years ago

            Keep telling yourself that.

      • cynan
      • 7 years ago

      Obvious troll is obvious.

      Looks like Neely’s not even trying anymore. Let’s make him work for those -1s 😉

        • NeelyCam
        • 7 years ago

        That’s good feedback, thanks!

        I’ll try harder next time

      • Bensam123
      • 7 years ago

      Ah my god Neely, is it really that much harder to aim for green instead of red?

Pin It on Pinterest

Share This