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."
|AMD's Ryzen Threadripper 1920X and Ryzen Threadripper 1950X CPUs reviewed||54|
|Asus Vivobook Pro N580VD-DB74T can do offices and kids' parties||1|
|Thermaltake View 71 flaunts its glass on all angles||4|
|Deals of the week: mobos, CPUs, displays, and more||4|
|Alphacool HDX5 keeps a pair of M.2 SSDs cool||0|
|AMD weighs in on Radeon RX Vega pricing controversy||67|
|Intel expands its Atoms' radius with C3000 SoCs||46|
|Shuttle XH110G packs a PCIe x16 slot into a three-liter package||22|
|I Love My Feet Day Shortbread||17|
|Thanks Jeff, and congrats! Have a beer... and a nap.||+33|