You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
kripken edited this page Aug 26, 2012
·
2 revisions
Browser Dependencies
Without these, we might have a perfectly good game but it might not run so well in practice.
Mouselock API. Without this, FPS games are basically impossible because the mouse eventually moves off the screen.
Keyboard input during mouselock. Current implementations of mouselock are tied to fullscreen mode, and for security fullscreen mode currently disables keyboard input.
Faster JavaScript. We are expecting significant speedups in Chrome and Firefox through a combination of optimization for compiled code and general JS engine improvements later in 2012.
MediaStreams Audio API in Firefox (the existing Audio Data API works, but introduces lag). Need to test Chrome's audio API.
Update: We actually did not need any of the fancy new audio APIs - plain old HTML Audio elements work ok (in most browsers, but where they don't, those are bugs they need to fix).
Various WebGL extensions important for performance and visual quality (occlusion queries, antialiasing, etc.).
Update: Performance is reasonable without occlusion queries if the map can use PVS. Antialiasing works in browsers now and looks good.