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."
|The TR Podcast 153: 4K ascendant, CodingHorror resplendent||2|
|New NZXT case flaunts stormtrooper looks for $70||16|
|Micron's M500DC server SSD mates Marvell controller with 20-nm flash||14|
|Dragon Age: Inquisition trailer shows Frostbite-fueled gameplay||44|
|New, 'more authentic' Grid game coming June 27||20|
|Report predicts September return for Start menu||113|
|Catalyst 14.4 Release Candidate driver brings CrossFire, Mantle tweaks||18|
|Rumor: HTC-built Nexus 8 to arrive next quarter||34|
|Tactile touchscreen buttons coming this year||7|