135 lines
3.6 KiB
Text
135 lines
3.6 KiB
Text
[gd_scene load_steps=5 format=3 uid="uid://tmrvgfwodpno"]
|
|
|
|
[ext_resource type="Script" uid="uid://ccy6bx6kiejjy" path="res://Systems/Game/Shop/RewardScreen.gd" id="1_c5sfe"]
|
|
[ext_resource type="PackedScene" uid="uid://xxxxxxxx" path="res://card_preview_panel.tscn" id="2_1dq2e"]
|
|
[ext_resource type="Script" uid="uid://bfjmon81nckns" path="res://Systems/Game/GameMenuButton.gd" id="3_2qq52"]
|
|
|
|
[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="RewardScreen" 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_c5sfe")
|
|
|
|
[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 = "Select Reward"
|
|
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("2_1dq2e")]
|
|
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("3_2qq52")
|
|
|
|
[node name="SelectButton" 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 = "Select"
|