ChessBuilder/lobby_screen.tscn

174 lines
4.5 KiB
Text

[gd_scene load_steps=5 format=3 uid="uid://c1u88sbx0am7b"]
[ext_resource type="Script" uid="uid://dkk0eu4fj7q5j" path="res://Systems/Game/Lobby/LobbyScreen.gd" id="1_pmnho"]
[ext_resource type="Script" uid="uid://bfjmon81nckns" path="res://Systems/Game/GameMenuButton.gd" id="2_uhnf6"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_kvmw1"]
bg_color = Color(0.14902, 0.14902, 0.2, 1)
border_width_left = 2
border_width_top = 2
border_width_right = 2
border_width_bottom = 2
border_color = Color(0.2, 0.2, 0.3, 1)
corner_radius_top_left = 10
corner_radius_top_right = 10
corner_radius_bottom_right = 10
corner_radius_bottom_left = 10
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_bmpt2"]
bg_color = Color(0.14902, 0.14902, 0.2, 1)
corner_radius_top_left = 5
corner_radius_top_right = 5
corner_radius_bottom_right = 5
corner_radius_bottom_left = 5
[node name="LobbyScreen" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_pmnho")
[node name="Background" type="ColorRect" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
color = Color(0.08, 0.08, 0.12, 1)
[node name="TopBar" type="HBoxContainer" parent="."]
layout_mode = 1
anchors_preset = 10
anchor_right = 1.0
offset_top = 20.0
offset_bottom = 80.0
grow_horizontal = 2
[node name="RunCountLabel" type="Label" parent="TopBar"]
layout_mode = 2
size_flags_horizontal = 3
theme_override_font_sizes/font_size = 36
text = "RUN #1"
horizontal_alignment = 1
[node name="TokenContainer" type="HBoxContainer" parent="TopBar"]
layout_mode = 2
size_flags_horizontal = 3
alignment = 2
[node name="TokenLabel" type="Label" parent="TopBar/TokenContainer"]
layout_mode = 2
theme_override_font_sizes/font_size = 24
text = "0 TOKENS"
[node name="Spacer" type="Control" parent="TopBar/TokenContainer"]
custom_minimum_size = Vector2(20, 0)
layout_mode = 2
[node name="CenterContainer" type="Control" parent="."]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -150.0
offset_top = -150.0
offset_right = 150.0
offset_bottom = 150.0
grow_horizontal = 2
grow_vertical = 2
[node name="ShopPanel" type="Panel" parent="CenterContainer"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_styles/panel = SubResource("StyleBoxFlat_kvmw1")
[node name="ShopButton" type="Button" parent="CenterContainer"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
flat = true
[node name="Label" type="Label" parent="CenterContainer"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_font_sizes/font_size = 48
text = "SHOP"
horizontal_alignment = 1
vertical_alignment = 1
[node name="BottomContainer" type="HBoxContainer" parent="."]
layout_mode = 1
anchors_preset = 12
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_top = -100.0
offset_bottom = -20.0
grow_horizontal = 2
grow_vertical = 0
theme_override_constants/separation = 20
alignment = 1
[node name="VanillaButton" type="Button" parent="BottomContainer"]
custom_minimum_size = Vector2(300, 80)
layout_mode = 2
size_flags_horizontal = 3
theme_override_font_sizes/font_size = 24
theme_override_styles/normal = SubResource("StyleBoxFlat_bmpt2")
text = "VANILLA"
[node name="Spacer" type="Control" parent="BottomContainer"]
layout_mode = 2
size_flags_horizontal = 3
[node name="DeeperButton" type="Button" parent="BottomContainer"]
custom_minimum_size = Vector2(300, 80)
layout_mode = 2
size_flags_horizontal = 3
theme_override_font_sizes/font_size = 24
theme_override_styles/normal = SubResource("StyleBoxFlat_bmpt2")
text = "DEEPER"
[node name="PreloadButton" type="RichTextLabel" parent="."]
custom_minimum_size = Vector2(100, 40)
offset_left = 1046.0
offset_top = 496.0
offset_right = 1146.0
offset_bottom = 536.0
size_flags_horizontal = 0
size_flags_vertical = 4
text = "Preload"
horizontal_alignment = 1
vertical_alignment = 2
script = ExtResource("2_uhnf6")
[node name="BackButton" type="RichTextLabel" parent="."]
custom_minimum_size = Vector2(100, 40)
layout_mode = 2
offset_left = 10.0
offset_top = 488.0
offset_right = 110.0
offset_bottom = 528.0
size_flags_horizontal = 0
size_flags_vertical = 4
text = "BACK"
horizontal_alignment = 1
vertical_alignment = 2
script = ExtResource("2_uhnf6")