[gd_scene load_steps=5 format=3 uid="uid://djw7jhwtnycxq"] [ext_resource type="Script" uid="uid://rqkucvk8au68" path="res://Systems/Game/Shop/ShopScreen.gd" id="1_aoepi"] [ext_resource type="Script" uid="uid://bfjmon81nckns" path="res://Systems/Game/GameMenuButton.gd" id="2_mkl0p"] [ext_resource type="PackedScene" uid="uid://b128n53ivvwcv" path="res://card_preview_panel.tscn" id="3_yh3xu"] [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="ShopScreen" 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_aoepi") [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 = "SHOP" horizontal_alignment = 1 [node name="GoldContainer" type="HBoxContainer" parent="TopBar"] layout_mode = 2 size_flags_horizontal = 3 alignment = 2 [node name="GoldLabel" type="Label" parent="TopBar/GoldContainer"] layout_mode = 2 theme_override_font_sizes/font_size = 24 text = "100 GOLD" [node name="Spacer" type="Control" parent="TopBar/GoldContainer"] custom_minimum_size = Vector2(20, 0) layout_mode = 2 [node name="CardPreviewPanel" parent="." instance=ExtResource("3_yh3xu")] 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="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_mkl0p") [node name="BuyButton" type="Button" parent="."] custom_minimum_size = Vector2(200, 50) layout_mode = 2 offset_left = 952.0 offset_top = 573.0 offset_right = 1152.0 offset_bottom = 623.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 (50 gold)"