Re:Newer faster version of WebGL Quake 3 demo : JQuery is go...
by dasmoth on Friday February 17, 2012 @01:21PM
(#3604365)
As with most first-person WebGL projects, things go wrong when the mouse pointer leaves the canvas area. Is there anything that can be done to "capture" the pointer (that isn't horribly open to abuse...)?
Re:Newer faster version of WebGL Quake 3 demo : JQuery is go...
by Toji on Friday February 17, 2012 @01:37PM
(#3604441)
It's already there. If you run the demo with a dev version of Chrome going into fullscreen mode locks the mouse cursor and gives you more traditional FPS controls. This should be making its way into the stable versions of several browsers within the next few months.
Re:Newer faster version of WebGL Quake 3 demo : JQuery is go...
by zrgiu_ on Friday February 17, 2012 @09:21PM
(#3605750)
Would it be possible to throw in a server, add a few grains of socket.io and make this multiplayer ? I don't see why not, and it would make it a much more appealing experiment.
[1]https://developer.mozilla.org/en/API/Mouse_Lock_API