open-fpsz/interfaces/scoreboard/score_panel_entry.tscn
2024-10-16 21:43:01 +00:00

93 lines
2.8 KiB
Plaintext

[gd_scene load_steps=4 format=3 uid="uid://bu186wanwk1kh"]
[ext_resource type="Script" path="res://interfaces/scoreboard/score_panel_entry.gd" id="1_ohfvg"]
[ext_resource type="Script" path="res://interfaces/scoreboard/ping_label.gd" id="2_rlg8k"]
[sub_resource type="SceneReplicationConfig" id="SceneReplicationConfig_hpwcf"]
properties/0/path = NodePath("Ping:text")
properties/0/spawn = true
properties/0/replication_mode = 2
properties/1/path = NodePath("Username:text")
properties/1/spawn = true
properties/1/replication_mode = 2
properties/2/path = NodePath("Offense:text")
properties/2/spawn = true
properties/2/replication_mode = 2
properties/3/path = NodePath("Defense:text")
properties/3/spawn = true
properties/3/replication_mode = 2
properties/4/path = NodePath("Style:text")
properties/4/spawn = true
properties/4/replication_mode = 2
properties/5/path = NodePath("Score:text")
properties/5/spawn = true
properties/5/replication_mode = 2
[node name="Entry" type="HBoxContainer" node_paths=PackedStringArray("ping", "username", "offense", "defense", "style", "score")]
anchors_preset = 10
anchor_right = 1.0
offset_bottom = 17.0
grow_horizontal = 2
script = ExtResource("1_ohfvg")
ping = NodePath("Ping")
username = NodePath("Username")
offense = NodePath("Offense")
defense = NodePath("Defense")
style = NodePath("Style")
score = NodePath("Score")
[node name="EntrySync" type="MultiplayerSynchronizer" parent="."]
replication_interval = 0.5
delta_interval = 0.5
replication_config = SubResource("SceneReplicationConfig_hpwcf")
[node name="Ping" type="Label" parent="." node_paths=PackedStringArray("entry")]
custom_minimum_size = Vector2(64, 0)
layout_mode = 2
theme_override_font_sizes/font_size = 12
text = "PING"
horizontal_alignment = 1
vertical_alignment = 1
script = ExtResource("2_rlg8k")
entry = NodePath("..")
[node name="Username" type="Label" parent="."]
custom_minimum_size = Vector2(128, 0)
layout_mode = 2
size_flags_horizontal = 3
theme_override_font_sizes/font_size = 12
text = "USERNAME"
vertical_alignment = 1
[node name="Offense" type="Label" parent="."]
custom_minimum_size = Vector2(32, 0)
layout_mode = 2
theme_override_font_sizes/font_size = 12
text = "O"
horizontal_alignment = 1
vertical_alignment = 1
[node name="Defense" type="Label" parent="."]
custom_minimum_size = Vector2(32, 0)
layout_mode = 2
theme_override_font_sizes/font_size = 12
text = "D"
horizontal_alignment = 1
vertical_alignment = 1
[node name="Style" type="Label" parent="."]
custom_minimum_size = Vector2(32, 0)
layout_mode = 2
theme_override_font_sizes/font_size = 12
text = "S"
horizontal_alignment = 1
vertical_alignment = 1
[node name="Score" type="Label" parent="."]
custom_minimum_size = Vector2(96, 0)
layout_mode = 2
theme_override_font_sizes/font_size = 12
text = "SCORE"
horizontal_alignment = 1
vertical_alignment = 1