Pong/Scenes/UI/Score.tscn
Fries 425bf2ad27 make a settings menu and general refactoring
i added more to the main menu, as it has a settings menu now, that stores its files with json. i also changed the font to atkinson hyperlegible and made a BaseMenu class that takes care of the screen scaling for menus.

i also refactored the project folder structure to make it more organized.
2023-05-20 21:42:38 -07:00

28 lines
789 B
Text

[gd_scene load_steps=3 format=3 uid="uid://clsmrwvyrt7av"]
[ext_resource type="Script" path="res://Scripts/Managers/UI/Score.gd" id="1_ytifn"]
[ext_resource type="LabelSettings" uid="uid://dkyqusswobqb3" path="res://Resources/ScoreLabelSettings.tres" id="2_mh7dc"]
[node name="Score" type="HFlowContainer"]
z_index = 1
offset_left = -378.0
offset_top = -272.0
offset_right = 378.0
offset_bottom = 268.0
script = ExtResource("1_ytifn")
[node name="Player1" type="Label" parent="."]
layout_mode = 2
size_flags_horizontal = 3
text = "0
"
label_settings = ExtResource("2_mh7dc")
vertical_alignment = 1
[node name="Player2" type="Label" parent="."]
layout_mode = 2
size_flags_horizontal = 3
text = "0"
label_settings = ExtResource("2_mh7dc")
horizontal_alignment = 2
vertical_alignment = 1