Skip to main content

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

You should look into Pointer Lock API, to prevent the cursor from hitting the screen’s edge when the player turns too much. https://developer.mozilla.org/en-US/docs/Web/API/Pointer_Lock_API