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

82 lines
2.6 KiB
Plaintext

[gd_scene load_steps=5 format=3 uid="uid://b8bosdd0o1lu7"]
[ext_resource type="Script" path="res://interfaces/scoreboard/scoreboard.gd" id="1_k2wav"]
[ext_resource type="Theme" uid="uid://bec7g0fax3c8o" path="res://interfaces/global_theme.tres" id="1_p81gx"]
[ext_resource type="PackedScene" uid="uid://p1q2lu7mtte1" path="res://interfaces/scoreboard/score_panel.tscn" id="2_oa7t6"]
[sub_resource type="SceneReplicationConfig" id="SceneReplicationConfig_jx1ww"]
properties/0/path = NodePath(".:columns")
properties/0/spawn = true
properties/0/replication_mode = 2
[node name="Scoreboard" type="Control" node_paths=PackedStringArray("panels")]
visible = false
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2
theme = ExtResource("1_p81gx")
script = ExtResource("1_k2wav")
_SCORE_PANEL = ExtResource("2_oa7t6")
panels = NodePath("MarginContainer/VBoxContainer/ScorePanels")
[node name="MarginContainer" type="MarginContainer" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2
theme_override_constants/margin_left = 12
theme_override_constants/margin_top = 12
theme_override_constants/margin_right = 12
theme_override_constants/margin_bottom = 12
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer"]
layout_mode = 2
mouse_filter = 2
[node name="Header" type="Panel" parent="MarginContainer/VBoxContainer"]
custom_minimum_size = Vector2(0, 48)
layout_mode = 2
[node name="Label" type="Label" parent="MarginContainer/VBoxContainer/Header"]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -76.5
offset_top = -19.5
offset_right = 76.5
offset_bottom = 19.5
grow_horizontal = 2
grow_vertical = 2
size_flags_horizontal = 4
theme_type_variation = &"HeaderLarge"
text = "Scoreboard"
horizontal_alignment = 1
vertical_alignment = 1
uppercase = true
[node name="ScorePanels" type="GridContainer" parent="MarginContainer/VBoxContainer"]
layout_mode = 2
size_flags_vertical = 3
mouse_filter = 2
[node name="PanelSpawner" type="MultiplayerSpawner" parent="MarginContainer/VBoxContainer"]
_spawnable_scenes = PackedStringArray("res://interfaces/scoreboard/score_panel.tscn")
spawn_path = NodePath("../ScorePanels")
spawn_limit = 4
[node name="ScoreboardSync" type="MultiplayerSynchronizer" parent="MarginContainer/VBoxContainer"]
root_path = NodePath("../ScorePanels")
replication_interval = 1.0
delta_interval = 1.0
replication_config = SubResource("SceneReplicationConfig_jx1ww")