Skip to main content

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

Love the style and the bait enemy is jokes, super creative idea for this theme.

One recommendation if your gonna make the camera rotate via mouse movement for a browser game,  make sure you lock the cursor when the player clicks the game window (can unlock when they press ESC or something), otherwise its annoying to keep moving you mouse back over the browser window. I know for unity WebGL there's a built in system called Cursor that's globally accessible that you can access from your script, and you just set

Cursor.lockState = CursorLockMode.Locked;

not sure how it works in Godot but guessing its similar.

(+1)

Thanks for playing! :D

I see what you mean, thanks for mentioning it. It's because itch thinks when you press esc you want to exit the game. But it's also the options menu. I could probably prevent this next time by doing what you said. For now if you press esc again (that opens the options menu) and then click continue the mouse does get locked in the screen again.

In godot it is Input.set_mouse_mode(Input.MOUSE_MODE_CAPTURED). I do use this when the game gets loaded for the first time and when you click on continue in the options menu. But should also use this when you click the game screen again. Good to know for next time! Thank you!