From 18c52d05308a34ecd78fd9c569f1ede26ac34eac Mon Sep 17 00:00:00 2001 From: Willow Behar <2364126-TechRunner@users.noreply.gitlab.com> Date: Fri, 10 May 2024 12:34:37 -0500 Subject: [PATCH] Set player camera height to 1.6 meters --- Assets/components/player.tscn | 31 ++++++++++++++----------------- 1 file changed, 14 insertions(+), 17 deletions(-) diff --git a/Assets/components/player.tscn b/Assets/components/player.tscn index 774483d..164342d 100644 --- a/Assets/components/player.tscn +++ b/Assets/components/player.tscn @@ -4,25 +4,25 @@ [ext_resource type="Script" path="res://Assets/scripts/Head.gd" id="2_is0vo"] [ext_resource type="Script" path="res://Assets/components/vapelight.gd" id="2_ndvgb"] [ext_resource type="Script" path="res://Assets/scripts/LoadingScreen.gd" id="4_1bb8i"] -[ext_resource type="Theme" uid="uid://bm7gkjfqwmc3i" path="res://Assets/main_menu_theme.tres" id="4_bb8iw"] +[ext_resource type="Theme" uid="uid://dnoxpn5kedvxh" path="res://Assets/VCRFont.tres" id="4_7cvtk"] [sub_resource type="CapsuleShape3D" id="CapsuleShape3D_lm3xc"] [node name="Player" type="CharacterBody3D"] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.999344, 0) script = ExtResource("1_b2ij4") [node name="CollisionShape3D" type="CollisionShape3D" parent="."] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0) shape = SubResource("CapsuleShape3D_lm3xc") -[node name="Node3D" type="Node3D" parent="."] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.65009, 0) +[node name="Head" type="Node3D" parent="."] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.6, 0) script = ExtResource("2_is0vo") -[node name="Camera" type="Camera3D" parent="Node3D"] +[node name="Camera" type="Camera3D" parent="Head"] current = true -[node name="VapeLight" type="SpotLight3D" parent="Node3D"] +[node name="VapeLight" type="SpotLight3D" parent="Head"] transform = Transform3D(1, 0, 0, 0, 0.934826, 0.355107, 0, -0.355107, 0.934826, 0, -0.19053, -0.105637) light_color = Color(0.247059, 0.407843, 0.603922, 1) shadow_enabled = true @@ -51,6 +51,7 @@ anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 +theme = ExtResource("4_7cvtk") script = ExtResource("4_1bb8i") [node name="Blackout" type="ColorRect" parent="LoadingScreen"] @@ -62,21 +63,17 @@ grow_horizontal = 2 grow_vertical = 2 color = Color(0, 0, 0, 1) -[node name="RichTextLabel" type="RichTextLabel" parent="LoadingScreen/Blackout"] +[node name="Label" type="Label" parent="LoadingScreen/Blackout"] layout_mode = 1 -anchors_preset = 8 -anchor_left = 0.5 -anchor_top = 0.5 -anchor_right = 0.5 -anchor_bottom = 0.5 -offset_left = -188.0 -offset_top = -57.0 -offset_right = 188.0 -offset_bottom = 57.0 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 -theme = ExtResource("4_bb8iw") +theme_override_font_sizes/font_size = 80 text = "Loading..." +horizontal_alignment = 1 +vertical_alignment = 1 [node name="Timer" type="Timer" parent="LoadingScreen"]