7-10-25 11:32am7-10-25 11:32am7-10-25 11:32am7-10-25 11:32am7-10-25
11:32am7-10-25 11:32am7-10-25 11:32am7-10-25 11:32am7-10-25 11:32am7-10-25 11:32am
This commit is contained in:
145
Gameplay/sharkhud.tscn
Normal file
145
Gameplay/sharkhud.tscn
Normal file
@@ -0,0 +1,145 @@
|
||||
[gd_scene load_steps=3 format=3 uid="uid://cw2ypbamocty5"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://cq3svhk85p2ep" path="res://Gameplay/SharkHud.cs" id="1_6jj1n"]
|
||||
[ext_resource type="Texture2D" uid="uid://dy4lmwn1dit26" path="res://art/shade.png" id="2_t8tri"]
|
||||
|
||||
[node name="SharkHud" type="CanvasLayer"]
|
||||
script = ExtResource("1_6jj1n")
|
||||
|
||||
[node name="Background" type="Sprite2D" parent="."]
|
||||
position = Vector2(98, -128)
|
||||
scale = Vector2(0.765625, 1)
|
||||
texture = ExtResource("2_t8tri")
|
||||
|
||||
[node name="SharkView" type="Node2D" parent="."]
|
||||
|
||||
[node name="SharkName" type="RichTextLabel" parent="SharkView"]
|
||||
offset_left = 7.0
|
||||
offset_top = -240.0
|
||||
offset_right = 174.0
|
||||
offset_bottom = -217.0
|
||||
theme_override_colors/default_color = Color(0, 0, 0, 1)
|
||||
text = "Cog Name"
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="Icon" type="Sprite2D" parent="SharkView"]
|
||||
position = Vector2(98, -159)
|
||||
scale = Vector2(0.328125, 0.328125)
|
||||
texture = ExtResource("2_t8tri")
|
||||
|
||||
[node name="HealthLabel" type="RichTextLabel" parent="SharkView"]
|
||||
offset_left = 7.01563
|
||||
offset_top = -105.0
|
||||
offset_right = 107.016
|
||||
offset_bottom = -82.0
|
||||
theme_override_colors/default_color = Color(0, 0, 0, 1)
|
||||
text = "Health"
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="EnergyLabel" type="RichTextLabel" parent="SharkView"]
|
||||
offset_left = 7.01563
|
||||
offset_top = -75.0
|
||||
offset_right = 107.016
|
||||
offset_bottom = -52.0
|
||||
theme_override_colors/default_color = Color(0, 0, 0, 1)
|
||||
text = "Energy"
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="BandwidthLabel" type="RichTextLabel" parent="SharkView"]
|
||||
offset_left = 7.01563
|
||||
offset_top = -45.0
|
||||
offset_right = 107.016
|
||||
offset_bottom = -22.0
|
||||
theme_override_colors/default_color = Color(0, 0, 0, 1)
|
||||
text = "Bandwidth"
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="HealthValue" type="RichTextLabel" parent="SharkView"]
|
||||
offset_left = 94.0
|
||||
offset_top = -105.0
|
||||
offset_right = 144.0
|
||||
offset_bottom = -82.0
|
||||
theme_override_colors/default_color = Color(0, 0, 0, 1)
|
||||
text = "Value"
|
||||
horizontal_alignment = 2
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="EnergyValue" type="RichTextLabel" parent="SharkView"]
|
||||
offset_left = 94.0
|
||||
offset_top = -75.0
|
||||
offset_right = 144.0
|
||||
offset_bottom = -52.0
|
||||
theme_override_colors/default_color = Color(0, 0, 0, 1)
|
||||
text = "Value"
|
||||
horizontal_alignment = 2
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="BandwidthValue" type="RichTextLabel" parent="SharkView"]
|
||||
offset_left = 94.0
|
||||
offset_top = -45.0
|
||||
offset_right = 144.0
|
||||
offset_bottom = -22.0
|
||||
theme_override_colors/default_color = Color(0, 0, 0, 1)
|
||||
text = "Value"
|
||||
horizontal_alignment = 2
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="HealthMax" type="RichTextLabel" parent="SharkView"]
|
||||
offset_left = 137.0
|
||||
offset_top = -105.0
|
||||
offset_right = 187.0
|
||||
offset_bottom = -82.0
|
||||
theme_override_colors/default_color = Color(0, 0, 0, 1)
|
||||
text = "Max"
|
||||
horizontal_alignment = 2
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="EnergyMax" type="RichTextLabel" parent="SharkView"]
|
||||
offset_left = 137.0
|
||||
offset_top = -75.0
|
||||
offset_right = 187.0
|
||||
offset_bottom = -52.0
|
||||
theme_override_colors/default_color = Color(0, 0, 0, 1)
|
||||
text = "Max"
|
||||
horizontal_alignment = 2
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="BandwidthMax" type="RichTextLabel" parent="SharkView"]
|
||||
offset_left = 137.0
|
||||
offset_top = -45.0
|
||||
offset_right = 187.0
|
||||
offset_bottom = -22.0
|
||||
theme_override_colors/default_color = Color(0, 0, 0, 1)
|
||||
text = "Max"
|
||||
horizontal_alignment = 2
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="HealthDivider" type="RichTextLabel" parent="SharkView"]
|
||||
offset_left = 123.0
|
||||
offset_top = -105.0
|
||||
offset_right = 173.0
|
||||
offset_bottom = -82.0
|
||||
theme_override_colors/default_color = Color(0, 0, 0, 1)
|
||||
text = "/"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="EnergyDivider" type="RichTextLabel" parent="SharkView"]
|
||||
offset_left = 123.0
|
||||
offset_top = -75.0
|
||||
offset_right = 173.0
|
||||
offset_bottom = -52.0
|
||||
theme_override_colors/default_color = Color(0, 0, 0, 1)
|
||||
text = "/"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="BandwidthDivider" type="RichTextLabel" parent="SharkView"]
|
||||
offset_left = 123.0
|
||||
offset_top = -45.0
|
||||
offset_right = 173.0
|
||||
offset_bottom = -22.0
|
||||
theme_override_colors/default_color = Color(0, 0, 0, 1)
|
||||
text = "/"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
Reference in New Issue
Block a user