2024-12-20 22:54:37 -05:00
|
|
|
[gd_scene load_steps=4 format=3 uid="uid://cy86jyiy6skvk"]
|
|
|
|
|
|
|
|
[ext_resource type="Script" path="res://scripts/player.gd" id="1_ocinr"]
|
|
|
|
|
|
|
|
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_ljkaw"]
|
|
|
|
|
|
|
|
[sub_resource type="CapsuleMesh" id="CapsuleMesh_muavk"]
|
|
|
|
|
2024-12-22 14:27:52 -05:00
|
|
|
[node name="Player" type="CharacterBody3D" groups=["players"]]
|
2024-12-20 22:54:37 -05:00
|
|
|
script = ExtResource("1_ocinr")
|
|
|
|
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
|
|
|
|
shape = SubResource("CapsuleShape3D_ljkaw")
|
|
|
|
|
|
|
|
[node name="CSGMesh3D" type="CSGMesh3D" parent="."]
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
|
|
|
|
mesh = SubResource("CapsuleMesh_muavk")
|
|
|
|
|
|
|
|
[node name="Camera3D" type="Camera3D" parent="CSGMesh3D"]
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
|
|
|
|
fov = 90.0
|
|
|
|
|
|
|
|
[node name="Ball" type="CSGSphere3D" parent="."]
|
2024-12-22 14:27:52 -05:00
|
|
|
visible = false
|
2024-12-20 22:54:37 -05:00
|
|
|
radius = 0.1
|
|
|
|
|
|
|
|
[node name="Flashlight" type="SpotLight3D" parent="."]
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 0.990268, 0.139173, 0, -0.139173, 0.990268, 0, 1.5, -0.4)
|
2024-12-23 12:02:44 -05:00
|
|
|
visible = false
|
2024-12-20 22:54:37 -05:00
|
|
|
light_color = Color(1, 1, 0.768627, 1)
|
|
|
|
shadow_enabled = true
|
|
|
|
distance_fade_enabled = true
|
|
|
|
spot_range = 23.178
|
|
|
|
spot_angle = 40.14
|
2024-12-22 14:27:52 -05:00
|
|
|
|
|
|
|
[node name="CenterContainer" type="CenterContainer" parent="."]
|
|
|
|
anchors_preset = 15
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
grow_horizontal = 2
|
|
|
|
grow_vertical = 2
|
|
|
|
|
|
|
|
[node name="ColorRect" type="ColorRect" parent="CenterContainer"]
|
|
|
|
custom_minimum_size = Vector2(10, 10)
|
|
|
|
layout_mode = 2
|