JavaScript Pointer Lock (Mouse Lock) in Chrome Developer Preview

Makers of online FPS’s rejoice! Mouse Lock has popped up in the Chrome Developer Preview (so far Fullscreen only mode, but it will be available in Windowed mode in the long run) and could make it into Chrome around version 19. If you want to give it a shot, follow these instructions to get a preview build installed and the option turned on.

Pointer Lock and First Person Shooter Controls HTML5 Rocks has a in-depth article discussing the much-heralded pointer lock API and along with an overview of how to build FPS-style mouse-powered controls. Read the article on HTML5Rocks Share...

With the rise of HTML5 technology, large platforms such as Facebook have used it to power their games system within Facebook Messenger. This allows developers to create interesting content to reach massive audiences.