Re:HTML5/WebGL source port of Quake
by pygy_ on Saturday February 16, 2013 @08:26AM
(#5231399)
These are IIRC the original controls. You could enable mouselook by using the console, but it is not implemented in this port.
[ Parent
| on HN ]
The port intentionally does not support mouse control because that is full of vendor-prefixes. See the bottom of the page.
I still don't understand his logic for this: Element fullscreen is not going to be added because there's already browser-wide F11 fullscreen.
If pointer-lock only works in element-fullscreen in Firefox (on which he develops) then what other choice is there ? Nobody plays shooters with the keyboard since wolf3d, and the BananaBread demo does pointer-lock precisely via element-fullscreen.
Chrome supports mouse lock without fullscreen since v21. However, I get illegal invocation error.