grunk/src/player/player.tscn
Rob Kelly 76329c9a8e
Some checks failed
linting & formatting / build (push) Successful in 10s
itch.io publish action / build (linux64, x86_64) (push) Failing after 23s
itch.io publish action / build (osx, app) (push) Failing after 22s
itch.io publish action / build (win64, exe) (push) Failing after 23s
Added guide signs
2025-03-21 21:41:33 -06:00

63 lines
2.6 KiB
Plaintext

[gd_scene load_steps=9 format=3 uid="uid://bwe2jdmvinhqd"]
[ext_resource type="Script" uid="uid://buwh0g1ga2aka" path="res://src/player/player.gd" id="1_npueo"]
[ext_resource type="Script" uid="uid://cx1yt0drthpw3" path="res://src/player/camera_controller.gd" id="2_veeqv"]
[ext_resource type="PackedScene" uid="uid://cc102xko0u6yj" path="res://src/equipment/point_spray/point_spray.tscn" id="3_6wgkm"]
[ext_resource type="PackedScene" uid="uid://d2hnxr5l6w2x4" path="res://src/equipment/wide_spray/wide_spray.tscn" id="3_ibq07"]
[ext_resource type="Script" uid="uid://cwy3akimaeib" path="res://src/player/tool_mount.gd" id="3_jiejy"]
[ext_resource type="PackedScene" uid="uid://dq1x21tq06dud" path="res://src/ui/hud/player_hud.tscn" id="5_jvafu"]
[ext_resource type="PackedScene" uid="uid://qknkdy6aics1" path="res://src/equipment/toothbrush/toothbrush.tscn" id="6_o822w"]
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_s7f0r"]
radius = 0.4
height = 1.9
[node name="Player" type="CharacterBody3D"]
script = ExtResource("1_npueo")
[node name="CameraPivot" type="Node3D" parent="."]
unique_name_in_owner = true
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.5, 0)
script = ExtResource("2_veeqv")
[node name="ToolMount" type="Node3D" parent="CameraPivot" node_paths=PackedStringArray("initial_tool")]
unique_name_in_owner = true
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.15, -0.1, -0.1)
script = ExtResource("3_jiejy")
initial_tool = NodePath("PointSpray")
[node name="PointSpray" parent="CameraPivot/ToolMount" instance=ExtResource("3_6wgkm")]
unique_name_in_owner = true
[node name="WideSpray" parent="CameraPivot/ToolMount" instance=ExtResource("3_ibq07")]
unique_name_in_owner = true
visible = false
[node name="Toothbrush" parent="CameraPivot/ToolMount" instance=ExtResource("6_o822w")]
unique_name_in_owner = true
visible = false
[node name="Camera3D" type="Camera3D" parent="CameraPivot"]
current = true
[node name="InteractRay" type="RayCast3D" parent="CameraPivot/Camera3D"]
unique_name_in_owner = true
target_position = Vector3(0, 0, -1.5)
collision_mask = 2
[node name="OmniLight3D" type="OmniLight3D" parent="CameraPivot/Camera3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0.1)
light_energy = 0.08
light_indirect_energy = 4.0
light_specular = 0.01
light_cull_mask = 4294967293
omni_range = 60.0
omni_attenuation = 0.2
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.05, 0)
shape = SubResource("CapsuleShape3D_s7f0r")
[node name="PlayerHUD" parent="." instance=ExtResource("5_jvafu")]
unique_name_in_owner = true