flashlight adjustment, cant fall off map, ui sounds

This commit is contained in:
Persephone Bubblegum-Holiday 2025-08-17 18:45:20 -07:00
parent 2ec79e56fc
commit 0ae10c2451
10 changed files with 130 additions and 2 deletions

View file

@ -1,8 +1,10 @@
[gd_scene load_steps=5 format=3 uid="uid://cdk6hwb4hi2wc"]
[gd_scene load_steps=7 format=3 uid="uid://cdk6hwb4hi2wc"]
[ext_resource type="Script" uid="uid://b0c02p6ckmpdq" path="res://Scripts/Player/Player.gd" id="1_2f8j2"]
[ext_resource type="PackedScene" uid="uid://cd67bfok34xhy" path="res://Scenes/GUI/InGameMenu.tscn" id="2_0s4r2"]
[ext_resource type="PackedScene" uid="uid://fjveglbs1vfv" path="res://Scenes/GUI/DebugMenu.tscn" id="3_ejydr"]
[ext_resource type="AudioStream" uid="uid://gu2qnrfyvk0m" path="res://UI/Sounds/boing.wav" id="4_7s4cc"]
[ext_resource type="AudioStream" uid="uid://bd13mqgeswusd" path="res://UI/Sounds/flashlight_click.wav" id="5_nckbs"]
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_ejydr"]
radius = 0.3
@ -25,6 +27,7 @@ visible = false
light_color = Color(1, 0.960784, 0.85098, 1)
light_energy = 5.0
shadow_enabled = true
shadow_bias = 1.0
spot_range = 1000.0
spot_angle = 30.0
spot_angle_attenuation = 0.25
@ -35,3 +38,10 @@ mouse_filter = 2
[node name="InGameMenu" parent="." instance=ExtResource("2_0s4r2")]
visible = false
[node name="BoingSFX" type="AudioStreamPlayer" parent="."]
stream = ExtResource("4_7s4cc")
[node name="FlashlightSFX" type="AudioStreamPlayer" parent="."]
stream = ExtResource("5_nckbs")
volume_db = -1.0