skullball/godot/scenes/ui/hud.tscn
2026-08-02 23:13:39 +03:00

124 lines
3.6 KiB
Plaintext

[gd_scene format=3 uid="uid://c1gs6cqek1qlq"]
[ext_resource type="Theme" uid="uid://drydbnrcdv4pk" path="res://default_theme.tres" id="1_8qguk"]
[ext_resource type="PackedScene" uid="uid://n3u0jr4wiib1" path="res://scenes/ui/settings.tscn" id="1_bo48s"]
[ext_resource type="PackedScene" uid="uid://2sfy0vq0fqt3" path="res://scenes/ui/player_listing.tscn" id="2_8qguk"]
[ext_resource type="PackedScene" uid="uid://ffh5txda3j1" path="res://scenes/ui/chat_box.tscn" id="3_136eg"]
[sub_resource type="LabelSettings" id="LabelSettings_oj5la"]
font_size = 32
font_color = Color(1, 0, 0, 1)
outline_size = 10
outline_color = Color(0, 0, 0, 1)
[node name="hud" type="Hud" unique_id=1365644678 node_paths=PackedStringArray("pause_panel", "settings_button", "exit_to_lobby", "exit", "settings_panel", "scoreboard", "chatbox", "health_label")]
pause_panel = NodePath("pause_menu")
settings_button = NodePath("pause_menu/v_box_container/settings")
exit_to_lobby = NodePath("pause_menu/v_box_container/exit_to_lobby")
exit = NodePath("pause_menu/v_box_container/exit")
settings_panel = NodePath("settings")
scoreboard = NodePath("scoreboard")
chatbox = NodePath("chat_box")
health_label = NodePath("health_label")
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme = ExtResource("1_8qguk")
[node name="score_view" type="SimpleScoreView" parent="." unique_id=981879809]
layout_mode = 1
anchors_preset = 5
anchor_left = 0.5
anchor_right = 0.5
offset_left = -20.0
offset_top = 18.0
offset_right = 20.0
offset_bottom = 58.0
grow_horizontal = 2
alignment = 1
[node name="chat_box" parent="." unique_id=1125601400 instance=ExtResource("3_136eg")]
in_game = true
layout_mode = 0
[node name="pause_menu" type="Panel" parent="." unique_id=990293559]
visible = false
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -67.75
offset_top = -101.25
offset_right = 67.75
offset_bottom = 101.25
grow_horizontal = 2
grow_vertical = 2
[node name="v_box_container" type="VBoxContainer" parent="pause_menu" unique_id=1801932370]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -20.0
offset_top = -20.0
offset_right = 20.0
offset_bottom = 20.0
grow_horizontal = 2
grow_vertical = 2
alignment = 1
[node name="settings" type="Button" parent="pause_menu/v_box_container" unique_id=1671674264]
layout_mode = 2
text = "Settings"
[node name="exit_to_lobby" type="Button" parent="pause_menu/v_box_container" unique_id=313653211]
layout_mode = 2
text = "Exit to Lobby"
[node name="exit" type="Button" parent="pause_menu/v_box_container" unique_id=1097485912]
layout_mode = 2
text = "Exit"
[node name="settings" parent="." unique_id=999912383 instance=ExtResource("1_bo48s")]
visible = false
layout_mode = 1
[node name="scoreboard" type="PanelContainer" parent="." unique_id=99762392]
custom_minimum_size = Vector2(0, -1)
layout_mode = 1
anchors_preset = 5
anchor_left = 0.5
anchor_right = 0.5
offset_left = -76.0
offset_top = 58.0
offset_right = 77.0
offset_bottom = 100.0
grow_horizontal = 2
size_flags_vertical = 3
[node name="player_listings" type="PlayerListings" parent="scoreboard" unique_id=43264288]
player_listing_scene = ExtResource("2_8qguk")
layout_mode = 2
alignment = 1
metadata/_edit_lock_ = true
[node name="health_label" type="Label" parent="." unique_id=676741647]
layout_mode = 1
anchors_preset = 2
anchor_top = 1.0
anchor_bottom = 1.0
offset_left = 34.0
offset_top = -45.0
offset_right = 74.0
offset_bottom = -22.0
grow_vertical = 0
text = "100"
label_settings = SubResource("LabelSettings_oj5la")
vertical_alignment = 2