Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

this is my skin, you can't have...

the mouse controls are not great in browser, as it only works as your cursor is within the window. There is usually a cursor locked setting in most game engines that locks the cursor to the center of the screen, and hides it. That allows you to use it for turning but the mouse does not leave the window.

Oh yeah, I noticed that… you need to have the mouse inside the game window; when the game starts exactly, it looks for the mouse to lock it. If you don’t find it And if you miss that window time, it won’t lock it. Maybe putting the command in the process function instead of the ready function helps.

and thank you for the feedback!