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."
|1. GKey13 - $650||2. JohnC - $600||3. davidbowser - $501|
|4. cmpxchg - $500||5. DeadOfKnight - $400||6. danny e. - $375|
|7. the - $360||8. Ryszard - $351||9. rbattle - $350|
|10. Ryu Connor - $350|
|''Biggest ever'' iPhone launch drives strong Q4 Apple financials||8|
|IBM-GlobalFoundries deal faces regulatory hurdles||23|
|You can now pre-order Asus' $199 Win8.1 netbook||22|
|Call of Duty: Advanced Warfare needs 6GB of RAM and 55GB of storage||73|
|Gmail for Android 5.0 Lollipop to support non-Gmail accounts||17|
|GeForce GTX 970 cards from MSI and Asus reviewed||30|
|Biostar mini PC combines Bay Trail quad with USB audio||13|
|GlobalFoundries to acquire IBM's microelectronics business||48|
|Forbes: Microsoft smartwatch to launch within 'next few weeks'||22|