pumpkin carving

This commit is contained in:
2025-10-27 18:29:06 +01:00
parent b36923a196
commit bfd653c136
22 changed files with 296 additions and 29 deletions

View File

@@ -16,12 +16,6 @@ func _notification(what: int) -> void:
if what == Window.NOTIFICATION_APPLICATION_FOCUS_OUT:
Input.mouse_mode = Input.MOUSE_MODE_VISIBLE
func _unhandled_input(event: InputEvent) -> void:
if event is InputEventMouse:
Input.mouse_mode = Input.MOUSE_MODE_VISIBLE
elif !event.is_action("escape"):
Input.mouse_mode = Input.MOUSE_MODE_HIDDEN
func toggle_fullscreen() -> void:
if config.fullscreen:
if OS.get_name() == "Windows":