splishy splashy

This commit is contained in:
2023-02-07 16:54:29 +01:00
parent dace1fa599
commit 4fb34f2ffc
67 changed files with 1063 additions and 102 deletions
+1 -2
View File
@@ -14,7 +14,6 @@ var mouse_mode = 2
func _ready():
Input.set_mouse_mode(mouse_mode)
add_collision_exception_with($"../Room/Doorframe/Door")
func _input(event):
if !won:
@@ -52,7 +51,7 @@ func _physics_process(delta):
if $"../WorldEnvironment".environment.background_energy_multiplier > 10.0:
get_tree().quit()
func _on_flash_light_input_event(camera, event, position, normal, shape_idx):
func _on_flash_light_input_event(_camera, event, _position, _normal, _shape_idx):
if event is InputEventMouseButton and event.is_action_pressed("interact"):
$Pivot/Camera/FlashLight.visible = true
has_flashlight = true