Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+1)

BTW, instead of requestPointerLock, the W3 consortium should rather give us PositionPointer. If  You do that every frame (to the screen center), you'll know exactly how fast the mouse was moved away in the mean time. No matter the framerate (cause this already contains the delta factor) or whether any key is pressed (that's silly, mildly spoken). That's how we did it in windows.