You still have a month, with a little polish this could be interesting :)
sol-vin
Creator of
Recent community posts
No problem, for mine I put something like:
func _input(event) -> void:
#---------------------
# Replace with your own implementation of MOUSE_MODE switching!!
#---------------------
if Input.mouse_mode != Input.MOUSE_MODE_CAPTURED && !disable_input:
#if event is InputEventKey:
#if event.is_action_pressed("ui_cancel"):
#get_tree().quit()
if event is InputEventMouseButton:
if event.button_index == 1:
Input.set_mouse_mode(Input.MOUSE_MODE_CAPTURED)
return
#if event is InputEventKey:
#if event.is_action_pressed("ui_cancel"):
#Input.set_mouse_mode(Input.MOUSE_MODE_VISIBLE)
#return
if event is InputEventMouseMotion:
if Input.mouse_mode == Input.MOUSE_MODE_CAPTURED:
# Grab the event data and process it.
gather_mouse_input(event)
Then I make sure that when the mouse is supposed to be unfocused I disable the process_mode on the mousehandler, uncapture the mouse, then wait for the focus to come back, then recapture when clicked.
Great work on the new rooms! Do you do all the art for them?
Also, small note, sometimes the webpage misbehaves a little when capturing the mouse. It will recapture the mouse when you click outside the game window after pressing ESC, you have to be a little less aggressive with the mouse capture. Otherwise, really cool work! I really love how abstract many of the rooms are, and the new cat room was super cute. I need to make one for my kitties
We have a collab project we are working on, https://sol-vin.itch.io/soup
Currently it is up so you can give it a try :)
Howdy, I’m looking for collabs -> https://sol-vin.itch.io/soup
If you’d like to join hop in the solodev discord at https://discord.gg/x5SAy9tx
Posted my SOUP so people can play it through out the development process. https://sol-vin.itch.io/soup








