PneumaticPlaything/Scripts/Player/player.tscn
Persephone Bubblegum-Holiday 1bf96321d7 add flashlight
2025-08-04 18:30:58 -07:00

31 lines
1.1 KiB
Text

[gd_scene load_steps=4 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"]
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_3rsb5"]
radius = 0.3
height = 1.8
[node name="Player" type="CharacterBody3D"]
script = ExtResource("1_2f8j2")
[node name="CShape" type="CollisionShape3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.9, 0)
shape = SubResource("CapsuleShape3D_3rsb5")
debug_color = Color(0.141176, 0.427451, 0.92549, 0.784314)
[node name="Camera" type="Camera3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.7, 0)
fov = 80.0
[node name="Flashlight" type="SpotLight3D" parent="Camera"]
visible = false
light_color = Color(1, 0.960784, 0.85098, 1)
light_energy = 5.0
spot_range = 1000.0
spot_angle = 30.0
spot_angle_attenuation = 0.25
[node name="InGameMenu" parent="." instance=ExtResource("2_0s4r2")]
visible = false