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."
|Gigabyte SA-SBCAP3350 puts formidable power on a single board||5|
|Alphacool Eisblock HDX-2 and HDX-3 help M.2 SSDs beat the heat||1|
|Corsair Lighting Pro Expansion Kit lets builders turn up the lights||4|
|Adata D16750 power bank is tougher than the average juice pack||8|
|Deals of the week: fast memory, an AM4 motherboard, and more||12|
|Corsair RMx White Series PSUs take a walk on the snowy side||21|
|Intel crams 100 GFLOPS of neural-net inferencing onto a USB stick||38|
|Toshiba's XG5 1TB NVMe SSD reviewed||9|
|Microsoft and Johnson Controls put Cortana in a thermostat||22|
|I finally understand the stupid bling RGBLED industry now. It's not that people want it all the bling but that if they saturate the market with rainbo...||+16|