mirror of
https://gitlab.com/open-fpsz/open-fpsz.git
synced 2026-01-20 03:54:47 +00:00
67 lines
2.3 KiB
Plaintext
67 lines
2.3 KiB
Plaintext
[gd_scene load_steps=4 format=3 uid="uid://p1q2lu7mtte1"]
|
|
|
|
[ext_resource type="Script" path="res://interfaces/scoreboard/score_panel.gd" id="1_diy54"]
|
|
[ext_resource type="PackedScene" uid="uid://bu186wanwk1kh" path="res://interfaces/scoreboard/score_panel_entry.tscn" id="2_54ms2"]
|
|
|
|
[sub_resource type="SceneReplicationConfig" id="SceneReplicationConfig_bhp7i"]
|
|
properties/0/path = NodePath("MarginContainer/VBoxContainer/Title:text")
|
|
properties/0/spawn = true
|
|
properties/0/replication_mode = 2
|
|
properties/1/path = NodePath("MarginContainer/VBoxContainer/Title:visible")
|
|
properties/1/spawn = true
|
|
properties/1/replication_mode = 2
|
|
|
|
[node name="ScorePanel" type="Panel" node_paths=PackedStringArray("title", "entries")]
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
mouse_filter = 2
|
|
script = ExtResource("1_diy54")
|
|
_SCORE_PANEL_ENTRY = ExtResource("2_54ms2")
|
|
title = NodePath("MarginContainer/VBoxContainer/Title")
|
|
entries = NodePath("MarginContainer/VBoxContainer/Entries")
|
|
|
|
[node name="ScorePanelSync" type="MultiplayerSynchronizer" parent="."]
|
|
replication_interval = 1.0
|
|
delta_interval = 1.0
|
|
replication_config = SubResource("SceneReplicationConfig_bhp7i")
|
|
|
|
[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
|
|
theme_override_constants/margin_left = 10
|
|
theme_override_constants/margin_top = 10
|
|
theme_override_constants/margin_right = 10
|
|
theme_override_constants/margin_bottom = 10
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer"]
|
|
layout_mode = 2
|
|
|
|
[node name="Title" type="Label" parent="MarginContainer/VBoxContainer"]
|
|
visible = false
|
|
layout_mode = 2
|
|
theme_type_variation = &"HeaderSmall"
|
|
text = "PANEL TITLE"
|
|
horizontal_alignment = 1
|
|
vertical_alignment = 1
|
|
uppercase = true
|
|
|
|
[node name="Headers" parent="MarginContainer/VBoxContainer" instance=ExtResource("2_54ms2")]
|
|
layout_mode = 2
|
|
|
|
[node name="Entries" type="VBoxContainer" parent="MarginContainer/VBoxContainer"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
|
|
[node name="EntrySpawner" type="MultiplayerSpawner" parent="MarginContainer/VBoxContainer"]
|
|
_spawnable_scenes = PackedStringArray("res://interfaces/scoreboard/score_panel_entry.tscn")
|
|
spawn_path = NodePath("../Entries")
|