188 lines
5 KiB
Text
188 lines
5 KiB
Text
[gd_scene load_steps=6 format=3 uid="uid://depsrpx00pnl5"]
|
|
|
|
[ext_resource type="Script" uid="uid://nrd5mq0tfmur" path="res://Systems/Game/Lobby/LobbyShopScreen.gd" id="1_bdrsx"]
|
|
[ext_resource type="Script" uid="uid://bfjmon81nckns" path="res://Systems/Game/GameMenuButton.gd" id="2_pq3rv"]
|
|
[ext_resource type="PackedScene" uid="uid://xxxxxxxx" path="res://card_preview_panel.tscn" id="3_cuwn5"]
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_xsd3f"]
|
|
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.25, 1)
|
|
corner_radius_top_left = 8
|
|
corner_radius_top_right = 8
|
|
corner_radius_bottom_right = 8
|
|
corner_radius_bottom_left = 8
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_jk2fb"]
|
|
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="LobbyShop" 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_bdrsx")
|
|
|
|
[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="TitleLabel" type="Label" parent="TopBar"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
theme_override_font_sizes/font_size = 36
|
|
text = "LOBBY SHOP"
|
|
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 = "10 TOKENS"
|
|
|
|
[node name="Spacer" type="Control" parent="TopBar/TokenContainer"]
|
|
custom_minimum_size = Vector2(20, 0)
|
|
layout_mode = 2
|
|
|
|
[node name="CardPreviewPanel" parent="." instance=ExtResource("3_cuwn5")]
|
|
layout_mode = 1
|
|
anchors_preset = 4
|
|
anchor_top = 0.5
|
|
anchor_right = 0.0
|
|
anchor_bottom = 0.5
|
|
offset_left = 20.0
|
|
offset_top = -200.0
|
|
offset_right = 320.0
|
|
offset_bottom = 200.0
|
|
grow_horizontal = 1
|
|
|
|
[node name="MainContainer" type="VBoxContainer" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
offset_left = 340.0
|
|
offset_top = 100.0
|
|
offset_right = -20.0
|
|
offset_bottom = -100.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
|
|
[node name="CardCarouselContainer" type="HBoxContainer" parent="MainContainer"]
|
|
layout_mode = 2
|
|
size_flags_vertical = 3
|
|
alignment = 1
|
|
|
|
[node name="LeftButton" type="Button" parent="MainContainer/CardCarouselContainer"]
|
|
custom_minimum_size = Vector2(40, 0)
|
|
layout_mode = 2
|
|
size_flags_vertical = 4
|
|
theme_override_font_sizes/font_size = 24
|
|
text = "←"
|
|
|
|
[node name="CardCarousel" type="HBoxContainer" parent="MainContainer/CardCarouselContainer"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
theme_override_constants/separation = 20
|
|
alignment = 1
|
|
|
|
[node name="RightButton" type="Button" parent="MainContainer/CardCarouselContainer"]
|
|
custom_minimum_size = Vector2(40, 0)
|
|
layout_mode = 2
|
|
size_flags_vertical = 4
|
|
theme_override_font_sizes/font_size = 24
|
|
text = "→"
|
|
|
|
[node name="HandSizeContainer" type="HBoxContainer" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = 12
|
|
anchor_top = 1.0
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
offset_left = 340.0
|
|
offset_top = -170.0
|
|
offset_right = -20.0
|
|
offset_bottom = -110.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 0
|
|
alignment = 1
|
|
|
|
[node name="Panel" type="Panel" parent="HandSizeContainer"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
theme_override_styles/panel = SubResource("StyleBoxFlat_xsd3f")
|
|
|
|
[node name="HandSizeLabel" type="Label" parent="HandSizeContainer"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
theme_override_font_sizes/font_size = 24
|
|
text = "HAND SIZE: 2"
|
|
horizontal_alignment = 1
|
|
vertical_alignment = 1
|
|
|
|
[node name="CostLabel" type="Label" parent="HandSizeContainer"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
theme_override_font_sizes/font_size = 20
|
|
text = "Cost: 3 tokens"
|
|
horizontal_alignment = 1
|
|
vertical_alignment = 1
|
|
|
|
[node name="IncreaseButton" type="Button" parent="HandSizeContainer"]
|
|
custom_minimum_size = Vector2(60, 60)
|
|
layout_mode = 2
|
|
theme_override_font_sizes/font_size = 36
|
|
text = "+"
|
|
|
|
[node name="BackButton" type="RichTextLabel" parent="."]
|
|
custom_minimum_size = Vector2(100, 40)
|
|
layout_mode = 2
|
|
offset_top = 578.0
|
|
offset_right = 100.0
|
|
offset_bottom = 618.0
|
|
size_flags_horizontal = 0
|
|
size_flags_vertical = 4
|
|
text = "BACK"
|
|
horizontal_alignment = 1
|
|
vertical_alignment = 2
|
|
script = ExtResource("2_pq3rv")
|
|
|
|
[node name="BuyButton" type="Button" parent="."]
|
|
custom_minimum_size = Vector2(200, 50)
|
|
layout_mode = 2
|
|
offset_left = 952.0
|
|
offset_top = 533.0
|
|
offset_right = 1152.0
|
|
offset_bottom = 583.0
|
|
size_flags_horizontal = 8
|
|
size_flags_vertical = 4
|
|
theme_override_font_sizes/font_size = 18
|
|
theme_override_styles/normal = SubResource("StyleBoxFlat_jk2fb")
|
|
text = "BUY (3 tokens)"
|