News for hackers. Stuff that matters.
Re:Command & Conquer in HTML5 with multiplayer by sgt on Tuesday December 04, 2012 @01:07AM (#4869752)
I find it a bit difficult to scroll up/down/left/right, because I constantly overshoot and then it stops scrolling. I then have to move the mouse back and try to find the exact point where it starts scrolling. A bit frustrating after 20 minutes of gameplay. Is there a way in HTML5 to "capture" the mouse within a certain area?
Re:Command & Conquer in HTML5 with multiplayer by DCoder on Tuesday December 04, 2012 @01:42AM (#4869814)
There is the Pointer Lock API [1], but it's still WIP.

[1] http://www.html5rocks.com/en/tutorials/pointerlock/intro/

Re:Command & Conquer in HTML5 with multiplayer by adityars on Tuesday December 04, 2012 @06:40AM (#4870425)
You can use the keyboard arrow keys to scroll...
Re:Command & Conquer in HTML5 with multiplayer by sgt on Tuesday December 04, 2012 @01:15PM (#4872318)
Wow - I didn't even think of trying that, because for some reason I figured that the original game could only scroll using the mouse. So much for presumptions...
Re:Command & Conquer in HTML5 with multiplayer by adityars on Tuesday December 04, 2012 @03:59PM (#4873226)
Someone specifically requested the feature on the issue tracker, and since it was a one line tweak, I added it in :)