92 lines
2.9 KiB
Plaintext
92 lines
2.9 KiB
Plaintext
[gd_scene load_steps=8 format=3 uid="uid://hmyrn2pbbhpm"]
|
|
|
|
[ext_resource type="Script" uid="uid://bici4k5vkuoos" path="res://Scripts/player_camera.gd" id="1_ocbkm"]
|
|
[ext_resource type="Script" uid="uid://bnqpqdped5uw2" path="res://Scripts/camera_Look.gd" id="2_8uhk6"]
|
|
[ext_resource type="Theme" uid="uid://bey4nvrdo2vy" path="res://Prefabs/DefaultTheme.tres" id="3_8uhk6"]
|
|
|
|
[sub_resource type="CameraAttributesPractical" id="CameraAttributesPractical_ocbkm"]
|
|
dof_blur_far_distance = 15.0
|
|
dof_blur_near_enabled = true
|
|
dof_blur_near_distance = 6.0
|
|
dof_blur_amount = 0.5
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_6wc88"]
|
|
bg_color = Color(0.458824, 0, 0.145098, 1)
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_8uhk6"]
|
|
bg_color = Color(0.457868, 0.677542, 0.145981, 1)
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_8uhk6"]
|
|
size = Vector3(60, 1, 60)
|
|
|
|
[node name="CameraFollow" type="Node3D"]
|
|
script = ExtResource("1_ocbkm")
|
|
|
|
[node name="Camera3D" type="Camera3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 0.34202, 0.939693, 0, -0.939693, 0.34202, 0, 10, 3)
|
|
attributes = SubResource("CameraAttributesPractical_ocbkm")
|
|
fov = 80.0
|
|
script = ExtResource("2_8uhk6")
|
|
|
|
[node name="Control" type="Control" parent="Camera3D"]
|
|
layout_mode = 3
|
|
anchors_preset = 0
|
|
offset_right = 40.0
|
|
offset_bottom = 40.0
|
|
|
|
[node name="VBoxContainer2" type="VBoxContainer" parent="Camera3D/Control"]
|
|
layout_mode = 2
|
|
offset_right = 330.0
|
|
offset_bottom = 1440.0
|
|
size_flags_horizontal = 0
|
|
|
|
[node name="GOLD" type="Label" parent="Camera3D/Control/VBoxContainer2"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 0
|
|
size_flags_vertical = 0
|
|
theme = ExtResource("3_8uhk6")
|
|
text = "Gold: 35"
|
|
|
|
[node name="Arrows" type="Label" parent="Camera3D/Control/VBoxContainer2"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 0
|
|
size_flags_vertical = 0
|
|
theme = ExtResource("3_8uhk6")
|
|
text = "Arrows"
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="Camera3D/Control"]
|
|
custom_minimum_size = Vector2(236.82, 3.065)
|
|
layout_mode = 1
|
|
anchors_preset = 2
|
|
anchor_top = 1.0
|
|
anchor_bottom = 1.0
|
|
offset_top = -120.0
|
|
offset_right = 236.82
|
|
grow_vertical = 0
|
|
size_flags_horizontal = 0
|
|
size_flags_vertical = 8
|
|
alignment = 2
|
|
|
|
[node name="HealthBar" type="ProgressBar" parent="Camera3D/Control/VBoxContainer"]
|
|
layout_mode = 2
|
|
size_flags_vertical = 10
|
|
theme = ExtResource("3_8uhk6")
|
|
theme_override_styles/fill = SubResource("StyleBoxFlat_6wc88")
|
|
value = 42.34
|
|
|
|
[node name="StaminaBar" type="ProgressBar" parent="Camera3D/Control/VBoxContainer"]
|
|
layout_mode = 2
|
|
size_flags_vertical = 1
|
|
theme = ExtResource("3_8uhk6")
|
|
theme_override_styles/fill = SubResource("StyleBoxFlat_8uhk6")
|
|
value = 42.34
|
|
|
|
[node name="MouseTable" type="Area3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.5, 0)
|
|
collision_layer = 128
|
|
collision_mask = 128
|
|
priority = 1
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="MouseTable"]
|
|
shape = SubResource("BoxShape3D_8uhk6")
|