grounders-slowjam-2024/camera/camera.tscn

43 lines
1.1 KiB
Plaintext

[gd_scene load_steps=4 format=3 uid="uid://brgqf2ebuyhuy"]
[ext_resource type="Script" path="res://camera/camera.gd" id="1_veqr4"]
[ext_resource type="Script" path="res://camera/PersonalUI.gd" id="2_u54jc"]
[sub_resource type="SphereShape3D" id="SphereShape3D_5lewf"]
[node name="Camera" type="Node3D"]
script = ExtResource("1_veqr4")
[node name="SpringArm3D" type="SpringArm3D" parent="."]
unique_name_in_owner = true
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 2)
shape = SubResource("SphereShape3D_5lewf")
spring_length = 2.0
margin = 0.5
[node name="Camera3D" type="Camera3D" parent="SpringArm3D"]
unique_name_in_owner = true
[node name="PersonalUI" type="Control" parent="."]
layout_mode = 3
anchors_preset = 12
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_top = -126.0
grow_horizontal = 2
grow_vertical = 0
size_flags_vertical = 8
script = ExtResource("2_u54jc")
[node name="Label" type="Label" parent="PersonalUI"]
layout_mode = 1
anchors_preset = 5
anchor_left = 0.5
anchor_right = 0.5
offset_left = -20.0
offset_right = 20.0
offset_bottom = 23.0
grow_horizontal = 2
theme_override_colors/font_color = Color(1, 0, 0, 1)