Skip to main content

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

The locking behavior is there so the camera rotation controls work without the cursor escaping from the window (or even onto a second monitor).
Pretty sure there is a bug in the bevy WASM target that hides the cursor even when it's explicitly set to "visible" in the bevy code.

(1 edit)

I learned while playing around with another entry that cursor locking is totally broken on macos, and it won't be fixed in winit 0.29, which is sad. It seems best to just not try to do it on that platform.