Files
DailyDungeon/Prefabs/PlayerCamera.tscn
2025-06-25 14:26:15 -05:00

50 lines
1.8 KiB
Plaintext

[gd_scene load_steps=7 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="FontFile" uid="uid://peikxwadqo68" path="res://Assets/Fonts/UnifrakturCook-Bold.ttf" id="2_70173"]
[sub_resource type="CameraAttributesPractical" id="CameraAttributesPractical_ocbkm"]
dof_blur_far_enabled = true
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="StyleBoxEmpty" id="StyleBoxEmpty_70173"]
[sub_resource type="Theme" id="Theme_8uhk6"]
default_font = ExtResource("2_70173")
default_font_size = 100
Label/colors/font_color = Color(1, 0.785333, 0.44, 1)
Label/colors/font_outline_color = Color(0, 0, 0, 1)
Label/colors/font_shadow_color = Color(0, 0, 0, 1)
Label/constants/line_spacing = 3
Label/constants/outline_size = 0
Label/constants/shadow_offset_x = 3
Label/constants/shadow_offset_y = 3
Label/constants/shadow_outline_size = 10
Label/styles/normal = SubResource("StyleBoxEmpty_70173")
[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="Label" type="Label" parent="Camera3D/Control"]
layout_mode = 1
offset_right = 334.0
offset_bottom = 153.0
theme = SubResource("Theme_8uhk6")
text = "Gold: 35"