Now About Social Code
summaryrefslogtreecommitdiff
path: root/scenes/main.tscn
diff options
context:
space:
mode:
authorLucas Fryzek <lucas.fryzek@fryzekconcepts.com>2023-09-24 20:24:28 -0400
committerLucas Fryzek <lucas.fryzek@fryzekconcepts.com>2023-09-24 20:24:28 -0400
commit98dcf44062b92bf4f17b5e705257154413159880 (patch)
treea189e3b4bf184eddab9e2f34e9f80f60887c1d3f /scenes/main.tscn
parenta16c3354383f476602b25b079636c9c89b95cd9c (diff)
Add stamina bar
Diffstat (limited to 'scenes/main.tscn')
-rw-r--r--scenes/main.tscn9
1 files changed, 8 insertions, 1 deletions
diff --git a/scenes/main.tscn b/scenes/main.tscn
index fba8f18..f7c295f 100644
--- a/scenes/main.tscn
+++ b/scenes/main.tscn
@@ -52,8 +52,9 @@ shape = SubResource("BoxShape3D_gtg8d")
mesh = SubResource("PlaneMesh_ypd0i")
skeleton = NodePath("../..")
-[node name="Player" parent="." instance=ExtResource("3_8dect")]
+[node name="Player" parent="." node_paths=PackedStringArray("stam_bar") instance=ExtResource("3_8dect")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 18.7109, 0, 0)
+stam_bar = NodePath("../StaminaBar")
[node name="StaticBody3D" type="StaticBody3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 8.7194, 5, -6.35033)
@@ -63,3 +64,9 @@ shape = SubResource("BoxShape3D_kjqqf")
[node name="MeshInstance3D" type="MeshInstance3D" parent="StaticBody3D"]
mesh = SubResource("BoxMesh_f2n6h")
+
+[node name="StaminaBar" type="ProgressBar" parent="."]
+offset_left = 32.0
+offset_top = 7.0
+offset_right = 1103.0
+offset_bottom = 34.0