💫 Smooth health bar
This commit is contained in:
@@ -18,6 +18,9 @@ properties/0/replication_mode = 1
|
||||
properties/1/path = NodePath(".:PlayerId")
|
||||
properties/1/spawn = true
|
||||
properties/1/replication_mode = 1
|
||||
properties/2/path = NodePath("RotationCentre:rotation")
|
||||
properties/2/spawn = true
|
||||
properties/2/replication_mode = 1
|
||||
|
||||
[sub_resource type="SceneReplicationConfig" id="SceneReplicationConfig_hojn2"]
|
||||
properties/0/path = NodePath("InputSynchronizer:IsDashing")
|
||||
@@ -34,11 +37,11 @@ PlayerInput = NodePath("InputSynchronizer")
|
||||
BulletScene = ExtResource("2_nmop0")
|
||||
|
||||
[node name="HUD" type="VBoxContainer" parent="."]
|
||||
offset_left = -70.0
|
||||
offset_left = -90.0
|
||||
offset_top = -80.0
|
||||
offset_right = 70.0
|
||||
offset_right = 90.0
|
||||
offset_bottom = -20.0
|
||||
theme_override_constants/separation = 6
|
||||
theme_override_constants/separation = 4
|
||||
alignment = 1
|
||||
|
||||
[node name="NameTag" type="Label" parent="HUD"]
|
||||
@@ -49,6 +52,7 @@ vertical_alignment = 1
|
||||
clip_text = true
|
||||
|
||||
[node name="HealthBar" type="ProgressBar" parent="HUD"]
|
||||
custom_minimum_size = Vector2(2.08165e-12, 8)
|
||||
layout_mode = 2
|
||||
rounded = true
|
||||
allow_greater = true
|
||||
@@ -79,6 +83,10 @@ Noise = SubResource("FastNoiseLite_cfnx7")
|
||||
[node name="DashCountdown" type="Timer" parent="."]
|
||||
one_shot = true
|
||||
|
||||
[node name="ProtectionCountdown" type="Timer" parent="."]
|
||||
wait_time = 0.05
|
||||
one_shot = true
|
||||
|
||||
[node name="MultiplayerSynchronizer" type="MultiplayerSynchronizer" parent="."]
|
||||
replication_config = SubResource("SceneReplicationConfig_bekoo")
|
||||
|
||||
|
Reference in New Issue
Block a user