Today's task was doing a simple Pointer Lock API example for +three.js.

http://mrdoob.github.com/three.js/examples/misc_controls_pointerlock.html

Source code:
https://github.com/mrdoob/three.js/blob/master/examples/misc_controls_pointerlock.html
https://github.com/mrdoob/three.js/blob/master/examples/js/controls/PointerLockControls.js

Sadly +Mozilla Firefox only allows locking the pointer in fullscreen. Hopefully they'll eventually allow pointerlock in non-fullscreen too.

Thanks to +Vincent Scheib for the help!

EDIT: Btw, if for any reason you feel the urge or reaching the top, looking down while jumping helps ;)
Photo
Shared publiclyView activity