Reputation: 1229
How is it possible, to use pointerlock without fullscreen mode?
The tutorials on the web uses the fullscreen api too: https://developer.mozilla.org/en-US/docs/WebAPI/Pointer_Lock
Upvotes: 0
Views: 317
Reputation: 94299
http://jsfiddle.net/DerekL/wbhsP/
Just call requestPointerLock
on a user action. It doesn't require the element to be fullscreen.
Upvotes: 1