4 ms·
Does anyone know how they're going to lock the cursor into the browser window? A common feature required for RTS games is being able to just push your cursor t
by civilian 13y ago
Does anyone know how they're going to lock the cursor into the browser window?
A common feature required for RTS games is being able to just push your cursor to the edge of the screen to move your viewport. (Since it's played full-screen.) It seems like a browser game would be missing this key feature.
- Skywing 13y agoBrowser can request cursor control
- statico 13y agoIndeed! Mouse scroll in Project Atlas works pretty well at the moment. We aren't using the Pointer Lock API yet due to some input latency problems. A related Chromium issue is here: https://code.google.com/p/chromium/issues/detail?id=168459 https://code.google.com/p/chromium/issues/detail?id=168459
- bhouston 13y agohttps://developer.mozilla.org/en-US/docs/WebAPI/Pointer_Lock https://developer.mozilla.org/en-US/docs/WebAPI/Pointer_Lock :-) Developed at Seneca College in Toronto, Canada.