[gd_scene load_steps=10 format=3 uid="uid://dm33ofcbh8sht"] [ext_resource type="Script" path="res://src/Player.gd" id="1_n772d"] [ext_resource type="Texture2D" uid="uid://rfpsi4xnxdu" path="res://GFX/BlinkIcon.png" id="2_kjp08"] [ext_resource type="Texture2D" uid="uid://cxhd2cjff4n1" path="res://GFX/sprinticon.png" id="3_7frn8"] [ext_resource type="PackedScene" uid="uid://55cgw0lg8pab" path="res://scenes/gui/OutlineRect.tscn" id="4_r7w8e"] [ext_resource type="Texture2D" uid="uid://c5p7utpptgtww" path="res://GFX/BlinkMeter.jpg" id="5_iwhsa"] [ext_resource type="Texture2D" uid="uid://den5phi138pyh" path="res://GFX/StaminaMeter.jpg" id="6_g44nt"] [sub_resource type="CylinderShape3D" id="CylinderShape3D_bsew3"] [sub_resource type="BoxMesh" id="BoxMesh_vju81"] size = Vector3(1, 2, 1) [sub_resource type="SeparationRayShape3D" id="SeparationRayShape3D_u64q7"] length = 0.5 [node name="Player" type="CharacterBody3D"] script = ExtResource("1_n772d") [node name="Head" type="Node3D" parent="."] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.75, 0) [node name="Camera" type="Camera3D" parent="Head"] [node name="Collision" type="CollisionShape3D" parent="."] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0) shape = SubResource("CylinderShape3D_bsew3") [node name="MeshInstance3D" type="MeshInstance3D" parent="Collision"] visible = false mesh = SubResource("BoxMesh_vju81") [node name="SepRay1" type="CollisionShape3D" parent="."] transform = Transform3D(1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 0.5, -0.55) shape = SubResource("SeparationRayShape3D_u64q7") [node name="RayCast3D" type="RayCast3D" parent="SepRay1"] transform = Transform3D(1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, 0, 0, 0) enabled = false target_position = Vector3(0, -0.55, 0) [node name="SepRay2" type="CollisionShape3D" parent="."] transform = Transform3D(1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 0.5, -0.55) shape = SubResource("SeparationRayShape3D_u64q7") [node name="RayCast3D" type="RayCast3D" parent="SepRay2"] transform = Transform3D(1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, 0, 0, 0) enabled = false target_position = Vector3(0, -0.55, 0) [node name="SepRay3" type="CollisionShape3D" parent="."] transform = Transform3D(1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 0.5, -0.55) shape = SubResource("SeparationRayShape3D_u64q7") [node name="RayCast3D" type="RayCast3D" parent="SepRay3"] transform = Transform3D(1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, 0, 0, 0) enabled = false target_position = Vector3(0, -0.55, 0) [node name="StairRay" type="RayCast3D" parent="."] [node name="FloorRay" type="RayCast3D" parent="."] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.1, 0) target_position = Vector3(0, -0.1, 0) hit_from_inside = true [node name="FloorPick" type="RayCast3D" parent="."] target_position = Vector3(0, -10, 0) [node name="HUD" type="Control" parent="."] layout_mode = 3 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 [node name="Dark" type="ColorRect" parent="HUD"] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 color = Color(0, 0, 0, 1) [node name="BlinkIconBG" type="ColorRect" parent="HUD"] layout_mode = 0 offset_right = 32.0 offset_bottom = 32.0 [node name="BlinkIcon" type="TextureRect" parent="HUD/BlinkIconBG"] layout_mode = 0 offset_left = 1.0 offset_top = 1.0 offset_right = 31.0 offset_bottom = 31.0 texture = ExtResource("2_kjp08") [node name="SprintIconBG" type="ColorRect" parent="HUD"] layout_mode = 0 offset_left = 33.0 offset_right = 65.0 offset_bottom = 32.0 [node name="SprintIcon" type="TextureRect" parent="HUD/SprintIconBG"] layout_mode = 0 offset_left = 1.0 offset_top = 1.0 offset_right = 31.0 offset_bottom = 31.0 texture = ExtResource("3_7frn8") [node name="These meters are lazy" type="Node" parent="HUD"] [node name="BlinkMeter" type="Control" parent="HUD"] layout_mode = 3 anchors_preset = 0 offset_left = 66.0 offset_top = 21.0 offset_right = 270.0 offset_bottom = 41.0 [node name="Border" parent="HUD/BlinkMeter" instance=ExtResource("4_r7w8e")] offset_right = 204.0 [node name="Blocks" type="Control" parent="HUD/BlinkMeter"] anchors_preset = 0 offset_right = 40.0 offset_bottom = 40.0 [node name="Block1" type="TextureRect" parent="HUD/BlinkMeter/Blocks"] layout_mode = 0 offset_left = 3.0 offset_top = 3.0 offset_right = 11.0 offset_bottom = 17.0 texture = ExtResource("5_iwhsa") [node name="Block2" type="TextureRect" parent="HUD/BlinkMeter/Blocks"] layout_mode = 0 offset_left = 13.0 offset_top = 3.0 offset_right = 21.0 offset_bottom = 17.0 texture = ExtResource("5_iwhsa") [node name="Block3" type="TextureRect" parent="HUD/BlinkMeter/Blocks"] layout_mode = 0 offset_left = 23.0 offset_top = 3.0 offset_right = 31.0 offset_bottom = 17.0 texture = ExtResource("5_iwhsa") [node name="Block4" type="TextureRect" parent="HUD/BlinkMeter/Blocks"] layout_mode = 0 offset_left = 33.0 offset_top = 3.0 offset_right = 41.0 offset_bottom = 17.0 texture = ExtResource("5_iwhsa") [node name="Block5" type="TextureRect" parent="HUD/BlinkMeter/Blocks"] layout_mode = 0 offset_left = 43.0 offset_top = 3.0 offset_right = 51.0 offset_bottom = 17.0 texture = ExtResource("5_iwhsa") [node name="Block6" type="TextureRect" parent="HUD/BlinkMeter/Blocks"] layout_mode = 0 offset_left = 53.0 offset_top = 3.0 offset_right = 61.0 offset_bottom = 17.0 texture = ExtResource("5_iwhsa") [node name="Block7" type="TextureRect" parent="HUD/BlinkMeter/Blocks"] layout_mode = 0 offset_left = 63.0 offset_top = 3.0 offset_right = 71.0 offset_bottom = 17.0 texture = ExtResource("5_iwhsa") [node name="Block8" type="TextureRect" parent="HUD/BlinkMeter/Blocks"] layout_mode = 0 offset_left = 73.0 offset_top = 3.0 offset_right = 81.0 offset_bottom = 17.0 texture = ExtResource("5_iwhsa") [node name="Block9" type="TextureRect" parent="HUD/BlinkMeter/Blocks"] layout_mode = 0 offset_left = 83.0 offset_top = 3.0 offset_right = 91.0 offset_bottom = 17.0 texture = ExtResource("5_iwhsa") [node name="Block10" type="TextureRect" parent="HUD/BlinkMeter/Blocks"] layout_mode = 0 offset_left = 93.0 offset_top = 3.0 offset_right = 101.0 offset_bottom = 17.0 texture = ExtResource("5_iwhsa") [node name="Block11" type="TextureRect" parent="HUD/BlinkMeter/Blocks"] layout_mode = 0 offset_left = 103.0 offset_top = 3.0 offset_right = 111.0 offset_bottom = 17.0 texture = ExtResource("5_iwhsa") [node name="Block12" type="TextureRect" parent="HUD/BlinkMeter/Blocks"] layout_mode = 0 offset_left = 113.0 offset_top = 3.0 offset_right = 121.0 offset_bottom = 17.0 texture = ExtResource("5_iwhsa") [node name="Block13" type="TextureRect" parent="HUD/BlinkMeter/Blocks"] layout_mode = 0 offset_left = 123.0 offset_top = 3.0 offset_right = 131.0 offset_bottom = 17.0 texture = ExtResource("5_iwhsa") [node name="Block14" type="TextureRect" parent="HUD/BlinkMeter/Blocks"] layout_mode = 0 offset_left = 133.0 offset_top = 3.0 offset_right = 141.0 offset_bottom = 17.0 texture = ExtResource("5_iwhsa") [node name="Block15" type="TextureRect" parent="HUD/BlinkMeter/Blocks"] layout_mode = 0 offset_left = 143.0 offset_top = 3.0 offset_right = 151.0 offset_bottom = 17.0 texture = ExtResource("5_iwhsa") [node name="Block16" type="TextureRect" parent="HUD/BlinkMeter/Blocks"] layout_mode = 0 offset_left = 153.0 offset_top = 3.0 offset_right = 161.0 offset_bottom = 17.0 texture = ExtResource("5_iwhsa") [node name="Block17" type="TextureRect" parent="HUD/BlinkMeter/Blocks"] layout_mode = 0 offset_left = 163.0 offset_top = 3.0 offset_right = 171.0 offset_bottom = 17.0 texture = ExtResource("5_iwhsa") [node name="Block18" type="TextureRect" parent="HUD/BlinkMeter/Blocks"] layout_mode = 0 offset_left = 173.0 offset_top = 3.0 offset_right = 181.0 offset_bottom = 17.0 texture = ExtResource("5_iwhsa") [node name="Block19" type="TextureRect" parent="HUD/BlinkMeter/Blocks"] layout_mode = 0 offset_left = 183.0 offset_top = 3.0 offset_right = 191.0 offset_bottom = 17.0 texture = ExtResource("5_iwhsa") [node name="Block20" type="TextureRect" parent="HUD/BlinkMeter/Blocks"] layout_mode = 0 offset_left = 193.0 offset_top = 3.0 offset_right = 201.0 offset_bottom = 17.0 texture = ExtResource("5_iwhsa") [node name="SprintMeter" type="Control" parent="HUD"] anchors_preset = 0 offset_left = 66.0 offset_right = 270.0 offset_bottom = 20.0 [node name="Border" parent="HUD/SprintMeter" instance=ExtResource("4_r7w8e")] offset_right = 204.0 [node name="Blocks" type="Control" parent="HUD/SprintMeter"] anchors_preset = 0 offset_right = 40.0 offset_bottom = 40.0 [node name="Block1" type="TextureRect" parent="HUD/SprintMeter/Blocks"] layout_mode = 0 offset_left = 3.0 offset_top = 3.0 offset_right = 11.0 offset_bottom = 17.0 texture = ExtResource("6_g44nt") [node name="Block2" type="TextureRect" parent="HUD/SprintMeter/Blocks"] layout_mode = 0 offset_left = 13.0 offset_top = 3.0 offset_right = 21.0 offset_bottom = 17.0 texture = ExtResource("6_g44nt") [node name="Block3" type="TextureRect" parent="HUD/SprintMeter/Blocks"] layout_mode = 0 offset_left = 23.0 offset_top = 3.0 offset_right = 31.0 offset_bottom = 17.0 texture = ExtResource("6_g44nt") [node name="Block4" type="TextureRect" parent="HUD/SprintMeter/Blocks"] layout_mode = 0 offset_left = 33.0 offset_top = 3.0 offset_right = 41.0 offset_bottom = 17.0 texture = ExtResource("6_g44nt") [node name="Block5" type="TextureRect" parent="HUD/SprintMeter/Blocks"] layout_mode = 0 offset_left = 43.0 offset_top = 3.0 offset_right = 51.0 offset_bottom = 17.0 texture = ExtResource("6_g44nt") [node name="Block6" type="TextureRect" parent="HUD/SprintMeter/Blocks"] layout_mode = 0 offset_left = 53.0 offset_top = 3.0 offset_right = 61.0 offset_bottom = 17.0 texture = ExtResource("6_g44nt") [node name="Block7" type="TextureRect" parent="HUD/SprintMeter/Blocks"] layout_mode = 0 offset_left = 63.0 offset_top = 3.0 offset_right = 71.0 offset_bottom = 17.0 texture = ExtResource("6_g44nt") [node name="Block8" type="TextureRect" parent="HUD/SprintMeter/Blocks"] layout_mode = 0 offset_left = 73.0 offset_top = 3.0 offset_right = 81.0 offset_bottom = 17.0 texture = ExtResource("6_g44nt") [node name="Block9" type="TextureRect" parent="HUD/SprintMeter/Blocks"] layout_mode = 0 offset_left = 83.0 offset_top = 3.0 offset_right = 91.0 offset_bottom = 17.0 texture = ExtResource("6_g44nt") [node name="Block10" type="TextureRect" parent="HUD/SprintMeter/Blocks"] layout_mode = 0 offset_left = 93.0 offset_top = 3.0 offset_right = 101.0 offset_bottom = 17.0 texture = ExtResource("6_g44nt") [node name="Block11" type="TextureRect" parent="HUD/SprintMeter/Blocks"] layout_mode = 0 offset_left = 103.0 offset_top = 3.0 offset_right = 111.0 offset_bottom = 17.0 texture = ExtResource("6_g44nt") [node name="Block12" type="TextureRect" parent="HUD/SprintMeter/Blocks"] layout_mode = 0 offset_left = 113.0 offset_top = 3.0 offset_right = 121.0 offset_bottom = 17.0 texture = ExtResource("6_g44nt") [node name="Block13" type="TextureRect" parent="HUD/SprintMeter/Blocks"] layout_mode = 0 offset_left = 123.0 offset_top = 3.0 offset_right = 131.0 offset_bottom = 17.0 texture = ExtResource("6_g44nt") [node name="Block14" type="TextureRect" parent="HUD/SprintMeter/Blocks"] layout_mode = 0 offset_left = 133.0 offset_top = 3.0 offset_right = 141.0 offset_bottom = 17.0 texture = ExtResource("6_g44nt") [node name="Block15" type="TextureRect" parent="HUD/SprintMeter/Blocks"] layout_mode = 0 offset_left = 143.0 offset_top = 3.0 offset_right = 151.0 offset_bottom = 17.0 texture = ExtResource("6_g44nt") [node name="Block16" type="TextureRect" parent="HUD/SprintMeter/Blocks"] layout_mode = 0 offset_left = 153.0 offset_top = 3.0 offset_right = 161.0 offset_bottom = 17.0 texture = ExtResource("6_g44nt") [node name="Block17" type="TextureRect" parent="HUD/SprintMeter/Blocks"] layout_mode = 0 offset_left = 163.0 offset_top = 3.0 offset_right = 171.0 offset_bottom = 17.0 texture = ExtResource("6_g44nt") [node name="Block18" type="TextureRect" parent="HUD/SprintMeter/Blocks"] layout_mode = 0 offset_left = 173.0 offset_top = 3.0 offset_right = 181.0 offset_bottom = 17.0 texture = ExtResource("6_g44nt") [node name="Block19" type="TextureRect" parent="HUD/SprintMeter/Blocks"] layout_mode = 0 offset_left = 183.0 offset_top = 3.0 offset_right = 191.0 offset_bottom = 17.0 texture = ExtResource("6_g44nt") [node name="Block20" type="TextureRect" parent="HUD/SprintMeter/Blocks"] layout_mode = 0 offset_left = 193.0 offset_top = 3.0 offset_right = 201.0 offset_bottom = 17.0 texture = ExtResource("6_g44nt")