面板美化
This commit is contained in:
104
MainGame.tscn
104
MainGame.tscn
@@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=113 format=3 uid="uid://dgh61dttaas5a"]
|
||||
[gd_scene load_steps=114 format=3 uid="uid://dgh61dttaas5a"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://2pt11sfcaxf7" path="res://MainGame.gd" id="1_v3yaj"]
|
||||
[ext_resource type="Texture2D" uid="uid://du2pyiojliasy" path="res://assets/游戏UI/经验球.webp" id="2_6jgly"]
|
||||
@@ -31,7 +31,6 @@
|
||||
[ext_resource type="PackedScene" uid="uid://bseuwniienrqy" path="res://Scene/BigPanel/PlayerBagPanel.tscn" id="19_8kysg"]
|
||||
[ext_resource type="PackedScene" uid="uid://cehw5sx5pgmmc" path="res://Scene/BigPanel/ItemBagPanel.tscn" id="20_n03md"]
|
||||
[ext_resource type="PackedScene" uid="uid://j4ft87o7jk14" path="res://Scene/BigPanel/ItemStorePanel.tscn" id="21_uhubb"]
|
||||
[ext_resource type="Script" uid="uid://bdhwvqsmakna2" path="res://Script/BigPanel/PetBagPanel.gd" id="23_uc6q1"]
|
||||
[ext_resource type="Script" uid="uid://bdavskipn547h" path="res://Script/BigPanel/PlayerStorePanel.gd" id="24_dygid"]
|
||||
[ext_resource type="PackedScene" uid="uid://cnjidcwuv4nn4" path="res://Scene/BigPanel/PetStorePanel.tscn" id="24_uc6q1"]
|
||||
[ext_resource type="PackedScene" uid="uid://d3i0l6ysrde6o" path="res://Scene/SmallPanel/AccountSettingPanel.tscn" id="26_uc6q1"]
|
||||
@@ -42,6 +41,7 @@
|
||||
[ext_resource type="PackedScene" uid="uid://diwbnwhnq026" path="res://Scene/NewPet/PetBattlePanel.tscn" id="29_mw3xw"]
|
||||
[ext_resource type="PackedScene" uid="uid://dos15dmc1b6bt" path="res://GUI/GameSettingPanel.tscn" id="30_game_setting"]
|
||||
[ext_resource type="PackedScene" uid="uid://jjlgdnoo8e52" path="res://Scene/BigPanel/PlayGamePanel.tscn" id="30_rawle"]
|
||||
[ext_resource type="PackedScene" uid="uid://bnf1u6re1r1if" path="res://Scene/BigPanel/PetBagPanel.tscn" id="31_dfxu8"]
|
||||
[ext_resource type="Texture2D" uid="uid://2sdfbvf1isif" path="res://icon.svg" id="31_uc6q1"]
|
||||
[ext_resource type="Script" uid="uid://doo34ll0yb078" path="res://Script/SmallPanel/PetInformPanel.gd" id="31_vygm6"]
|
||||
[ext_resource type="PackedScene" uid="uid://byxhjyyaahs6q" path="res://Scene/BigPanel/SpecialFarmPanel.tscn" id="31_ww70k"]
|
||||
@@ -92,6 +92,22 @@
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_adtqp"]
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_n03md"]
|
||||
bg_color = Color(0.85, 0.95, 0.88, 0.85)
|
||||
border_width_left = 2
|
||||
border_width_top = 2
|
||||
border_width_right = 2
|
||||
border_width_bottom = 2
|
||||
border_color = Color(0.6, 0.8, 0.65, 0.9)
|
||||
corner_radius_top_left = 35
|
||||
corner_radius_top_right = 35
|
||||
corner_radius_bottom_right = 35
|
||||
corner_radius_bottom_left = 35
|
||||
corner_detail = 20
|
||||
shadow_color = Color(0, 0, 0, 0.3)
|
||||
shadow_size = 12
|
||||
shadow_offset = Vector2(3, 3)
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_dfxu8"]
|
||||
border_width_left = 5
|
||||
border_width_top = 5
|
||||
border_width_right = 5
|
||||
@@ -103,7 +119,7 @@ corner_radius_bottom_left = 20
|
||||
corner_detail = 20
|
||||
shadow_size = 20
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_8d602"]
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_ww70k"]
|
||||
border_width_left = 5
|
||||
border_width_top = 5
|
||||
border_width_right = 5
|
||||
@@ -801,15 +817,19 @@ offset_right = 1473.0
|
||||
offset_bottom = 748.0
|
||||
|
||||
[node name="ItemStorePanel" parent="UI/BigPanel" instance=ExtResource("21_uhubb")]
|
||||
visible = false
|
||||
offset_left = 80.0
|
||||
offset_top = 77.0
|
||||
offset_right = 1620.0
|
||||
offset_bottom = 797.0
|
||||
theme_override_styles/panel = SubResource("StyleBoxFlat_n03md")
|
||||
|
||||
[node name="ItemBagPanel" parent="UI/BigPanel" instance=ExtResource("20_n03md")]
|
||||
visible = false
|
||||
theme_override_styles/panel = SubResource("StyleBoxFlat_dfxu8")
|
||||
|
||||
[node name="CropWarehousePanel" parent="UI/BigPanel" instance=ExtResource("18_5b81d")]
|
||||
visible = false
|
||||
|
||||
[node name="PlayerBagPanel" parent="UI/BigPanel" instance=ExtResource("19_8kysg")]
|
||||
visible = false
|
||||
@@ -826,7 +846,7 @@ offset_bottom = 836.0
|
||||
scale = Vector2(0.8, 0.8)
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
theme_override_styles/panel = SubResource("StyleBoxFlat_n03md")
|
||||
theme_override_styles/panel = SubResource("StyleBoxFlat_ww70k")
|
||||
script = ExtResource("24_dygid")
|
||||
|
||||
[node name="TMBackGround" type="ColorRect" parent="UI/BigPanel/PlayerStorePanel"]
|
||||
@@ -899,80 +919,10 @@ offset_bottom = 80.5
|
||||
theme_override_font_sizes/font_size = 40
|
||||
text = "购买商品摊位"
|
||||
|
||||
[node name="PetBagPanel" parent="UI/BigPanel" instance=ExtResource("31_dfxu8")]
|
||||
visible = false
|
||||
|
||||
[node name="PetStorePanel" parent="UI/BigPanel" instance=ExtResource("24_uc6q1")]
|
||||
visible = false
|
||||
|
||||
[node name="PetBagPanel" type="Panel" parent="UI/BigPanel"]
|
||||
visible = false
|
||||
offset_left = 69.0
|
||||
offset_top = 56.0
|
||||
offset_right = 1635.0
|
||||
offset_bottom = 836.0
|
||||
scale = Vector2(0.8, 0.8)
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
theme_override_styles/panel = SubResource("StyleBoxFlat_8d602")
|
||||
script = ExtResource("23_uc6q1")
|
||||
|
||||
[node name="TMBackGround" type="ColorRect" parent="UI/BigPanel/PetBagPanel"]
|
||||
layout_mode = 0
|
||||
offset_left = -90.0
|
||||
offset_top = -71.0
|
||||
offset_right = 1672.0
|
||||
offset_bottom = 831.0
|
||||
color = Color(1, 1, 1, 0)
|
||||
|
||||
[node name="ScrollContainer" type="ScrollContainer" parent="UI/BigPanel/PetBagPanel"]
|
||||
layout_mode = 2
|
||||
offset_left = 28.0
|
||||
offset_top = 95.0
|
||||
offset_right = 3805.0
|
||||
offset_bottom = 1723.0
|
||||
scale = Vector2(0.4, 0.4)
|
||||
size_flags_vertical = 3
|
||||
horizontal_scroll_mode = 0
|
||||
|
||||
[node name="Bag_Grid" type="GridContainer" parent="UI/BigPanel/PetBagPanel/ScrollContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 6
|
||||
size_flags_vertical = 3
|
||||
columns = 8
|
||||
|
||||
[node name="Title" type="Label" parent="UI/BigPanel/PetBagPanel"]
|
||||
layout_mode = 2
|
||||
offset_right = 1566.0
|
||||
offset_bottom = 69.0
|
||||
size_flags_horizontal = 3
|
||||
theme_override_colors/font_color = Color(1, 1, 0.807843, 1)
|
||||
theme_override_colors/font_shadow_color = Color(0, 0, 0, 1)
|
||||
theme_override_colors/font_outline_color = Color(0, 0, 0, 1)
|
||||
theme_override_constants/shadow_offset_x = 4
|
||||
theme_override_constants/shadow_offset_y = 4
|
||||
theme_override_constants/outline_size = 15
|
||||
theme_override_constants/shadow_outline_size = 15
|
||||
theme_override_font_sizes/font_size = 50
|
||||
text = "宠物背包"
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="QuitButton" type="Button" parent="UI/BigPanel/PetBagPanel"]
|
||||
custom_minimum_size = Vector2(60, 60)
|
||||
layout_mode = 2
|
||||
offset_left = 1478.75
|
||||
offset_top = 20.0
|
||||
offset_right = 1538.75
|
||||
offset_bottom = 83.0
|
||||
theme_override_font_sizes/font_size = 40
|
||||
text = "X"
|
||||
|
||||
[node name="RefreshButton" type="Button" parent="UI/BigPanel/PetBagPanel"]
|
||||
custom_minimum_size = Vector2(60, 60)
|
||||
layout_mode = 2
|
||||
offset_left = 27.5
|
||||
offset_top = 16.25
|
||||
offset_right = 115.5
|
||||
offset_bottom = 79.25
|
||||
theme_override_font_sizes/font_size = 40
|
||||
text = "刷新"
|
||||
|
||||
[node name="DailyCheckInPanel" parent="UI/BigPanel" instance=ExtResource("18_m6fch")]
|
||||
visible = false
|
||||
|
||||
@@ -1,30 +1,75 @@
|
||||
[gd_scene load_steps=4 format=3 uid="uid://hesp70n3ondo"]
|
||||
[gd_scene load_steps=7 format=3 uid="uid://hesp70n3ondo"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://mtfp0ct42nrx" path="res://Script/BigPanel/CropStorePanel.gd" id="1_ehof8"]
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_8kysg"]
|
||||
border_width_left = 5
|
||||
border_width_top = 5
|
||||
border_width_right = 5
|
||||
border_width_bottom = 5
|
||||
corner_radius_top_left = 20
|
||||
corner_radius_top_right = 20
|
||||
corner_radius_bottom_right = 20
|
||||
corner_radius_bottom_left = 20
|
||||
corner_detail = 5
|
||||
shadow_size = 20
|
||||
bg_color = Color(0.9, 0.85, 0.75, 0.95)
|
||||
border_width_left = 8
|
||||
border_width_top = 8
|
||||
border_width_right = 8
|
||||
border_width_bottom = 8
|
||||
border_color = Color(0.5, 0.3, 0.1, 1)
|
||||
corner_radius_top_left = 25
|
||||
corner_radius_top_right = 25
|
||||
corner_radius_bottom_right = 25
|
||||
corner_radius_bottom_left = 25
|
||||
shadow_color = Color(0.3, 0.2, 0.1, 0.4)
|
||||
shadow_size = 15
|
||||
shadow_offset = Vector2(3, 3)
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_button_hover"]
|
||||
bg_color = Color(0.85, 0.7, 0.5, 1)
|
||||
border_width_left = 2
|
||||
border_width_top = 2
|
||||
border_width_right = 2
|
||||
border_width_bottom = 2
|
||||
border_color = Color(0.5, 0.4, 0.2, 1)
|
||||
corner_radius_top_left = 12
|
||||
corner_radius_top_right = 12
|
||||
corner_radius_bottom_right = 12
|
||||
corner_radius_bottom_left = 12
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_button_pressed"]
|
||||
bg_color = Color(0.65, 0.5, 0.3, 1)
|
||||
border_width_left = 2
|
||||
border_width_top = 2
|
||||
border_width_right = 2
|
||||
border_width_bottom = 2
|
||||
border_color = Color(0.3, 0.2, 0.05, 1)
|
||||
corner_radius_top_left = 12
|
||||
corner_radius_top_right = 12
|
||||
corner_radius_bottom_right = 12
|
||||
corner_radius_bottom_left = 12
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_button"]
|
||||
bg_color = Color(0.75, 0.6, 0.4, 1)
|
||||
border_width_left = 2
|
||||
border_width_top = 2
|
||||
border_width_right = 2
|
||||
border_width_bottom = 2
|
||||
border_color = Color(0.4, 0.3, 0.1, 1)
|
||||
corner_radius_top_left = 12
|
||||
corner_radius_top_right = 12
|
||||
corner_radius_bottom_right = 12
|
||||
corner_radius_bottom_left = 12
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_uc6q1"]
|
||||
corner_radius_top_left = 10
|
||||
corner_radius_top_right = 10
|
||||
corner_radius_bottom_right = 10
|
||||
corner_radius_bottom_left = 10
|
||||
bg_color = Color(0.95, 0.92, 0.85, 0.9)
|
||||
border_width_left = 3
|
||||
border_width_top = 3
|
||||
border_width_right = 3
|
||||
border_width_bottom = 3
|
||||
border_color = Color(0.6, 0.4, 0.2, 0.8)
|
||||
corner_radius_top_left = 15
|
||||
corner_radius_top_right = 15
|
||||
corner_radius_bottom_right = 15
|
||||
corner_radius_bottom_left = 15
|
||||
corner_detail = 20
|
||||
|
||||
[node name="CropStorePanel" type="Panel"]
|
||||
offset_left = 79.0
|
||||
offset_left = 81.0
|
||||
offset_top = 70.0
|
||||
offset_right = 1598.0
|
||||
offset_right = 1640.0
|
||||
offset_bottom = 790.0
|
||||
scale = Vector2(0.8, 0.8)
|
||||
size_flags_horizontal = 3
|
||||
@@ -38,99 +83,146 @@ offset_left = -101.0
|
||||
offset_top = -87.0
|
||||
offset_right = 1655.0
|
||||
offset_bottom = 811.0
|
||||
color = Color(1, 1, 1, 0)
|
||||
color = Color(0.901961, 0.8, 0.6, 0.262745)
|
||||
|
||||
[node name="Title" type="Label" parent="."]
|
||||
layout_mode = 2
|
||||
offset_right = 1519.0
|
||||
offset_bottom = 69.0
|
||||
size_flags_horizontal = 3
|
||||
theme_override_colors/font_color = Color(1, 0.964706, 0, 1)
|
||||
theme_override_colors/font_shadow_color = Color(0, 0, 0, 1)
|
||||
theme_override_colors/font_outline_color = Color(0, 0, 0, 1)
|
||||
theme_override_constants/shadow_offset_x = 5
|
||||
theme_override_constants/shadow_offset_y = 5
|
||||
theme_override_constants/outline_size = 15
|
||||
theme_override_constants/shadow_outline_size = 15
|
||||
theme_override_colors/font_color = Color(0.4, 0.2, 0.1, 1)
|
||||
theme_override_colors/font_shadow_color = Color(1, 0.9, 0.7, 0.8)
|
||||
theme_override_colors/font_outline_color = Color(0.7, 0.5, 0.3, 1)
|
||||
theme_override_constants/shadow_offset_x = 2
|
||||
theme_override_constants/shadow_offset_y = 2
|
||||
theme_override_constants/outline_size = 3
|
||||
theme_override_constants/shadow_outline_size = 8
|
||||
theme_override_font_sizes/font_size = 50
|
||||
text = "种子商店"
|
||||
text = "🌱 种子商店 🌱"
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="SortContainer" type="HBoxContainer" parent="."]
|
||||
layout_mode = 0
|
||||
offset_left = 13.0
|
||||
offset_top = 78.0
|
||||
offset_right = 1519.0
|
||||
offset_right = 1540.0
|
||||
offset_bottom = 141.0
|
||||
alignment = 1
|
||||
|
||||
[node name="FilterLabel" type="Label" parent="SortContainer"]
|
||||
self_modulate = Color(0.607843, 0.647059, 1, 1)
|
||||
modulate = Color(0.439216, 0.560784, 1, 1)
|
||||
layout_mode = 2
|
||||
theme_override_colors/font_shadow_color = Color(1, 0.9, 0.7, 0.6)
|
||||
theme_override_constants/shadow_offset_x = 1
|
||||
theme_override_constants/shadow_offset_y = 1
|
||||
theme_override_font_sizes/font_size = 30
|
||||
text = "筛选:"
|
||||
text = "🔍 筛选:"
|
||||
|
||||
[node name="Sort_All" type="Button" parent="SortContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 30
|
||||
text = "全部"
|
||||
theme_override_colors/font_color = Color(0.3, 0.2, 0.1, 1)
|
||||
theme_override_font_sizes/font_size = 28
|
||||
theme_override_styles/hover = SubResource("StyleBoxFlat_button_hover")
|
||||
theme_override_styles/pressed = SubResource("StyleBoxFlat_button_pressed")
|
||||
theme_override_styles/normal = SubResource("StyleBoxFlat_button")
|
||||
text = "🌾 全部"
|
||||
|
||||
[node name="Sort_Common" type="Button" parent="SortContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 30
|
||||
text = "普通"
|
||||
theme_override_colors/font_color = Color(1, 1, 1, 1)
|
||||
theme_override_font_sizes/font_size = 28
|
||||
theme_override_styles/hover = SubResource("StyleBoxFlat_button_hover")
|
||||
theme_override_styles/pressed = SubResource("StyleBoxFlat_button_pressed")
|
||||
theme_override_styles/normal = SubResource("StyleBoxFlat_button")
|
||||
text = "⚪ 普通"
|
||||
|
||||
[node name="Sort_Superior" type="Button" parent="SortContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 30
|
||||
text = "优良"
|
||||
theme_override_colors/font_color = Color(0, 0.823529, 0.415686, 1)
|
||||
theme_override_font_sizes/font_size = 28
|
||||
theme_override_styles/hover = SubResource("StyleBoxFlat_button_hover")
|
||||
theme_override_styles/pressed = SubResource("StyleBoxFlat_button_pressed")
|
||||
theme_override_styles/normal = SubResource("StyleBoxFlat_button")
|
||||
text = "🟢 优良"
|
||||
|
||||
[node name="Sort_Rare" type="Button" parent="SortContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 30
|
||||
text = "稀有"
|
||||
theme_override_colors/font_color = Color(0, 0.454902, 0.729412, 1)
|
||||
theme_override_font_sizes/font_size = 28
|
||||
theme_override_styles/hover = SubResource("StyleBoxFlat_button_hover")
|
||||
theme_override_styles/pressed = SubResource("StyleBoxFlat_button_pressed")
|
||||
theme_override_styles/normal = SubResource("StyleBoxFlat_button")
|
||||
text = "🔵 稀有"
|
||||
|
||||
[node name="Sort_Epic" type="Button" parent="SortContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 30
|
||||
text = "史诗"
|
||||
theme_override_colors/font_color = Color(0.552941, 0.396078, 0.772549, 1)
|
||||
theme_override_font_sizes/font_size = 28
|
||||
theme_override_styles/hover = SubResource("StyleBoxFlat_button_hover")
|
||||
theme_override_styles/pressed = SubResource("StyleBoxFlat_button_pressed")
|
||||
theme_override_styles/normal = SubResource("StyleBoxFlat_button")
|
||||
text = "🟣 史诗"
|
||||
|
||||
[node name="Sort_Legendary" type="Button" parent="SortContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 30
|
||||
text = "传奇"
|
||||
theme_override_colors/font_color = Color(0.988235, 0.835294, 0.247059, 1)
|
||||
theme_override_font_sizes/font_size = 28
|
||||
theme_override_styles/hover = SubResource("StyleBoxFlat_button_hover")
|
||||
theme_override_styles/pressed = SubResource("StyleBoxFlat_button_pressed")
|
||||
theme_override_styles/normal = SubResource("StyleBoxFlat_button")
|
||||
text = "🟡 传奇"
|
||||
|
||||
[node name="SortLabel" type="Label" parent="SortContainer"]
|
||||
self_modulate = Color(0.607843, 0.647059, 1, 1)
|
||||
modulate = Color(0.439216, 0.560784, 1, 1)
|
||||
layout_mode = 2
|
||||
theme_override_colors/font_shadow_color = Color(1, 0.9, 0.7, 0.6)
|
||||
theme_override_constants/shadow_offset_x = 1
|
||||
theme_override_constants/shadow_offset_y = 1
|
||||
theme_override_font_sizes/font_size = 30
|
||||
text = "排序:"
|
||||
text = "📊 排序:"
|
||||
|
||||
[node name="Sort_Price" type="Button" parent="SortContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 30
|
||||
text = "按价格"
|
||||
theme_override_colors/font_color = Color(0.2, 0.4, 0.1, 1)
|
||||
theme_override_font_sizes/font_size = 28
|
||||
theme_override_styles/hover = SubResource("StyleBoxFlat_button_hover")
|
||||
theme_override_styles/pressed = SubResource("StyleBoxFlat_button_pressed")
|
||||
theme_override_styles/normal = SubResource("StyleBoxFlat_button")
|
||||
text = "💰 按价格"
|
||||
|
||||
[node name="Sort_GrowTime" type="Button" parent="SortContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 30
|
||||
text = "按生长时间"
|
||||
theme_override_colors/font_color = Color(0.2, 0.4, 0.1, 1)
|
||||
theme_override_font_sizes/font_size = 28
|
||||
theme_override_styles/hover = SubResource("StyleBoxFlat_button_hover")
|
||||
theme_override_styles/pressed = SubResource("StyleBoxFlat_button_pressed")
|
||||
theme_override_styles/normal = SubResource("StyleBoxFlat_button")
|
||||
text = "⏰ 按生长时间"
|
||||
|
||||
[node name="Sort_Profit" type="Button" parent="SortContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 30
|
||||
text = "按收益"
|
||||
theme_override_colors/font_color = Color(0.2, 0.4, 0.1, 1)
|
||||
theme_override_font_sizes/font_size = 28
|
||||
theme_override_styles/hover = SubResource("StyleBoxFlat_button_hover")
|
||||
theme_override_styles/pressed = SubResource("StyleBoxFlat_button_pressed")
|
||||
theme_override_styles/normal = SubResource("StyleBoxFlat_button")
|
||||
text = "📈 按收益"
|
||||
|
||||
[node name="Sort_Level" type="Button" parent="SortContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 30
|
||||
text = "按等级"
|
||||
theme_override_colors/font_color = Color(0.2, 0.4, 0.1, 1)
|
||||
theme_override_font_sizes/font_size = 28
|
||||
theme_override_styles/hover = SubResource("StyleBoxFlat_button_hover")
|
||||
theme_override_styles/pressed = SubResource("StyleBoxFlat_button_pressed")
|
||||
theme_override_styles/normal = SubResource("StyleBoxFlat_button")
|
||||
text = "⭐ 按等级"
|
||||
|
||||
[node name="ScrollContainer" type="ScrollContainer" parent="."]
|
||||
layout_mode = 2
|
||||
offset_left = 13.0
|
||||
offset_top = 144.0
|
||||
offset_right = 3727.0
|
||||
offset_bottom = 1551.0
|
||||
offset_left = 19.0
|
||||
offset_top = 151.0
|
||||
offset_right = 3810.0
|
||||
offset_bottom = 1540.0
|
||||
scale = Vector2(0.4, 0.4)
|
||||
size_flags_vertical = 3
|
||||
theme_override_styles/panel = SubResource("StyleBoxFlat_uc6q1")
|
||||
@@ -147,21 +239,29 @@ columns = 8
|
||||
[node name="QuitButton" type="Button" parent="."]
|
||||
custom_minimum_size = Vector2(60, 60)
|
||||
layout_mode = 2
|
||||
offset_left = 1438.75
|
||||
offset_top = 11.25
|
||||
offset_right = 1498.75
|
||||
offset_bottom = 74.25
|
||||
theme_override_font_sizes/font_size = 40
|
||||
text = "X"
|
||||
offset_left = 1478.75
|
||||
offset_top = 15.0
|
||||
offset_right = 1538.75
|
||||
offset_bottom = 78.0
|
||||
theme_override_colors/font_color = Color(0.8, 0.2, 0.2, 1)
|
||||
theme_override_font_sizes/font_size = 35
|
||||
theme_override_styles/hover = SubResource("StyleBoxFlat_button_hover")
|
||||
theme_override_styles/pressed = SubResource("StyleBoxFlat_button_pressed")
|
||||
theme_override_styles/normal = SubResource("StyleBoxFlat_button")
|
||||
text = "❌"
|
||||
|
||||
[node name="RefreshButton" type="Button" parent="."]
|
||||
custom_minimum_size = Vector2(60, 60)
|
||||
custom_minimum_size = Vector2(88, 60)
|
||||
layout_mode = 2
|
||||
offset_left = 13.0
|
||||
offset_top = 11.0
|
||||
offset_right = 101.0
|
||||
offset_bottom = 74.0
|
||||
theme_override_font_sizes/font_size = 40
|
||||
text = "刷新"
|
||||
theme_override_colors/font_color = Color(0.3, 0.2, 0.1, 1)
|
||||
theme_override_font_sizes/font_size = 28
|
||||
theme_override_styles/hover = SubResource("StyleBoxFlat_button_hover")
|
||||
theme_override_styles/pressed = SubResource("StyleBoxFlat_button_pressed")
|
||||
theme_override_styles/normal = SubResource("StyleBoxFlat_button")
|
||||
text = "🔄 刷新"
|
||||
|
||||
[connection signal="pressed" from="RefreshButton" to="." method="_on_refresh_button_pressed"]
|
||||
|
||||
@@ -1,28 +1,72 @@
|
||||
[gd_scene load_steps=4 format=3 uid="uid://drw18a6mcr2of"]
|
||||
[gd_scene load_steps=7 format=3 uid="uid://drw18a6mcr2of"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://ptdj0qmobihd" path="res://Script/BigPanel/CropWarehousePanel.gd" id="1_24g1t"]
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_8kysg"]
|
||||
border_width_left = 5
|
||||
border_width_top = 5
|
||||
border_width_right = 5
|
||||
border_width_bottom = 5
|
||||
corner_radius_top_left = 20
|
||||
corner_radius_top_right = 20
|
||||
corner_radius_bottom_right = 20
|
||||
corner_radius_bottom_left = 20
|
||||
corner_detail = 5
|
||||
shadow_size = 20
|
||||
bg_color = Color(0.9, 0.85, 0.75, 0.95)
|
||||
border_width_left = 8
|
||||
border_width_top = 8
|
||||
border_width_right = 8
|
||||
border_width_bottom = 8
|
||||
border_color = Color(0.5, 0.3, 0.1, 1)
|
||||
corner_radius_top_left = 25
|
||||
corner_radius_top_right = 25
|
||||
corner_radius_bottom_right = 25
|
||||
corner_radius_bottom_left = 25
|
||||
shadow_color = Color(0.3, 0.2, 0.1, 0.4)
|
||||
shadow_size = 15
|
||||
shadow_offset = Vector2(3, 3)
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_button_hover"]
|
||||
bg_color = Color(0.85, 0.7, 0.5, 1)
|
||||
border_width_left = 2
|
||||
border_width_top = 2
|
||||
border_width_right = 2
|
||||
border_width_bottom = 2
|
||||
border_color = Color(0.5, 0.4, 0.2, 1)
|
||||
corner_radius_top_left = 12
|
||||
corner_radius_top_right = 12
|
||||
corner_radius_bottom_right = 12
|
||||
corner_radius_bottom_left = 12
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_button_pressed"]
|
||||
bg_color = Color(0.65, 0.5, 0.3, 1)
|
||||
border_width_left = 2
|
||||
border_width_top = 2
|
||||
border_width_right = 2
|
||||
border_width_bottom = 2
|
||||
border_color = Color(0.3, 0.2, 0.05, 1)
|
||||
corner_radius_top_left = 12
|
||||
corner_radius_top_right = 12
|
||||
corner_radius_bottom_right = 12
|
||||
corner_radius_bottom_left = 12
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_button"]
|
||||
bg_color = Color(0.75, 0.6, 0.4, 1)
|
||||
border_width_left = 2
|
||||
border_width_top = 2
|
||||
border_width_right = 2
|
||||
border_width_bottom = 2
|
||||
border_color = Color(0.4, 0.3, 0.1, 1)
|
||||
corner_radius_top_left = 12
|
||||
corner_radius_top_right = 12
|
||||
corner_radius_bottom_right = 12
|
||||
corner_radius_bottom_left = 12
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_uc6q1"]
|
||||
corner_radius_top_left = 10
|
||||
corner_radius_top_right = 10
|
||||
corner_radius_bottom_right = 10
|
||||
corner_radius_bottom_left = 10
|
||||
bg_color = Color(0.95, 0.92, 0.85, 0.9)
|
||||
border_width_left = 3
|
||||
border_width_top = 3
|
||||
border_width_right = 3
|
||||
border_width_bottom = 3
|
||||
border_color = Color(0.6, 0.4, 0.2, 0.8)
|
||||
corner_radius_top_left = 15
|
||||
corner_radius_top_right = 15
|
||||
corner_radius_bottom_right = 15
|
||||
corner_radius_bottom_left = 15
|
||||
corner_detail = 20
|
||||
|
||||
[node name="CropWarehousePanel" type="Panel"]
|
||||
visible = false
|
||||
offset_left = 58.0
|
||||
offset_top = 77.0
|
||||
offset_right = 1624.0
|
||||
@@ -39,99 +83,147 @@ offset_left = -72.0
|
||||
offset_top = -95.0
|
||||
offset_right = 1678.0
|
||||
offset_bottom = 804.0
|
||||
color = Color(1, 1, 1, 0)
|
||||
color = Color(0.9, 0.8, 0.6, 0.3)
|
||||
|
||||
[node name="Title" type="Label" parent="."]
|
||||
layout_mode = 2
|
||||
offset_top = 13.0
|
||||
offset_right = 1566.0
|
||||
offset_bottom = 55.0
|
||||
offset_bottom = 98.0
|
||||
size_flags_horizontal = 3
|
||||
theme_override_colors/font_color = Color(1, 0.964706, 0, 1)
|
||||
theme_override_colors/font_shadow_color = Color(0, 0, 0, 1)
|
||||
theme_override_colors/font_outline_color = Color(0, 0, 0, 1)
|
||||
theme_override_constants/shadow_offset_x = 3
|
||||
theme_override_constants/shadow_offset_y = 3
|
||||
theme_override_constants/outline_size = 10
|
||||
theme_override_constants/shadow_outline_size = 10
|
||||
theme_override_font_sizes/font_size = 40
|
||||
text = "作物仓库"
|
||||
theme_override_colors/font_color = Color(0.4, 0.2, 0.1, 1)
|
||||
theme_override_colors/font_shadow_color = Color(1, 0.9, 0.7, 0.8)
|
||||
theme_override_colors/font_outline_color = Color(0.7, 0.5, 0.3, 1)
|
||||
theme_override_constants/shadow_offset_x = 2
|
||||
theme_override_constants/shadow_offset_y = 2
|
||||
theme_override_constants/outline_size = 3
|
||||
theme_override_constants/shadow_outline_size = 8
|
||||
theme_override_font_sizes/font_size = 45
|
||||
text = "🌾 作物仓库 🌾"
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="SortContainer" type="HBoxContainer" parent="."]
|
||||
layout_mode = 0
|
||||
offset_top = 58.0
|
||||
offset_right = 1566.0
|
||||
offset_bottom = 121.0
|
||||
offset_left = 10.0
|
||||
offset_top = 97.5
|
||||
offset_right = 1576.0
|
||||
offset_bottom = 160.5
|
||||
alignment = 1
|
||||
|
||||
[node name="FilterLabel" type="Label" parent="SortContainer"]
|
||||
self_modulate = Color(0.607843, 1, 1, 1)
|
||||
self_modulate = Color(0.439216, 0.560784, 1, 1)
|
||||
layout_mode = 2
|
||||
theme_override_colors/font_shadow_color = Color(1, 0.9, 0.7, 0.6)
|
||||
theme_override_constants/shadow_offset_x = 1
|
||||
theme_override_constants/shadow_offset_y = 1
|
||||
theme_override_font_sizes/font_size = 30
|
||||
text = "筛选:"
|
||||
text = "🔍 筛选:"
|
||||
|
||||
[node name="Sort_All" type="Button" parent="SortContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 30
|
||||
text = "全部"
|
||||
theme_override_colors/font_color = Color(0.3, 0.2, 0.1, 1)
|
||||
theme_override_font_sizes/font_size = 28
|
||||
theme_override_styles/hover = SubResource("StyleBoxFlat_button_hover")
|
||||
theme_override_styles/pressed = SubResource("StyleBoxFlat_button_pressed")
|
||||
theme_override_styles/normal = SubResource("StyleBoxFlat_button")
|
||||
text = "🌾全部"
|
||||
|
||||
[node name="Sort_Common" type="Button" parent="SortContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 30
|
||||
text = "普通"
|
||||
theme_override_colors/font_color = Color(1, 1, 1, 1)
|
||||
theme_override_font_sizes/font_size = 28
|
||||
theme_override_styles/hover = SubResource("StyleBoxFlat_button_hover")
|
||||
theme_override_styles/pressed = SubResource("StyleBoxFlat_button_pressed")
|
||||
theme_override_styles/normal = SubResource("StyleBoxFlat_button")
|
||||
text = "⚪普通"
|
||||
|
||||
[node name="Sort_Superior" type="Button" parent="SortContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 30
|
||||
text = "优良"
|
||||
theme_override_colors/font_color = Color(0, 0.823529, 0.415686, 1)
|
||||
theme_override_font_sizes/font_size = 28
|
||||
theme_override_styles/hover = SubResource("StyleBoxFlat_button_hover")
|
||||
theme_override_styles/pressed = SubResource("StyleBoxFlat_button_pressed")
|
||||
theme_override_styles/normal = SubResource("StyleBoxFlat_button")
|
||||
text = "🟢优良"
|
||||
|
||||
[node name="Sort_Rare" type="Button" parent="SortContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 30
|
||||
text = "稀有"
|
||||
theme_override_colors/font_color = Color(0, 0.454902, 0.729412, 1)
|
||||
theme_override_font_sizes/font_size = 28
|
||||
theme_override_styles/hover = SubResource("StyleBoxFlat_button_hover")
|
||||
theme_override_styles/pressed = SubResource("StyleBoxFlat_button_pressed")
|
||||
theme_override_styles/normal = SubResource("StyleBoxFlat_button")
|
||||
text = "🔵稀有"
|
||||
|
||||
[node name="Sort_Epic" type="Button" parent="SortContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 30
|
||||
text = "史诗"
|
||||
theme_override_colors/font_color = Color(0.552941, 0.396078, 0.772549, 1)
|
||||
theme_override_font_sizes/font_size = 28
|
||||
theme_override_styles/hover = SubResource("StyleBoxFlat_button_hover")
|
||||
theme_override_styles/pressed = SubResource("StyleBoxFlat_button_pressed")
|
||||
theme_override_styles/normal = SubResource("StyleBoxFlat_button")
|
||||
text = "🟣史诗"
|
||||
|
||||
[node name="Sort_Legendary" type="Button" parent="SortContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 30
|
||||
text = "传奇"
|
||||
theme_override_colors/font_color = Color(0.988235, 0.835294, 0.247059, 1)
|
||||
theme_override_font_sizes/font_size = 28
|
||||
theme_override_styles/hover = SubResource("StyleBoxFlat_button_hover")
|
||||
theme_override_styles/pressed = SubResource("StyleBoxFlat_button_pressed")
|
||||
theme_override_styles/normal = SubResource("StyleBoxFlat_button")
|
||||
text = "🟡传奇"
|
||||
|
||||
[node name="SortLabel" type="Label" parent="SortContainer"]
|
||||
self_modulate = Color(0.607843, 1, 1, 1)
|
||||
self_modulate = Color(0.439216, 0.560784, 1, 1)
|
||||
layout_mode = 2
|
||||
theme_override_colors/font_shadow_color = Color(1, 0.9, 0.7, 0.6)
|
||||
theme_override_constants/shadow_offset_x = 1
|
||||
theme_override_constants/shadow_offset_y = 1
|
||||
theme_override_font_sizes/font_size = 30
|
||||
text = "排序:"
|
||||
text = "📊 排序:"
|
||||
|
||||
[node name="Sort_Price" type="Button" parent="SortContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 30
|
||||
text = "按价格"
|
||||
theme_override_colors/font_color = Color(0.3, 0.2, 0.1, 1)
|
||||
theme_override_font_sizes/font_size = 28
|
||||
theme_override_styles/hover = SubResource("StyleBoxFlat_button_hover")
|
||||
theme_override_styles/pressed = SubResource("StyleBoxFlat_button_pressed")
|
||||
theme_override_styles/normal = SubResource("StyleBoxFlat_button")
|
||||
text = "💰 按价格"
|
||||
|
||||
[node name="Sort_GrowTime" type="Button" parent="SortContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 30
|
||||
text = "按生长时间"
|
||||
theme_override_colors/font_color = Color(0.3, 0.2, 0.1, 1)
|
||||
theme_override_font_sizes/font_size = 28
|
||||
theme_override_styles/hover = SubResource("StyleBoxFlat_button_hover")
|
||||
theme_override_styles/pressed = SubResource("StyleBoxFlat_button_pressed")
|
||||
theme_override_styles/normal = SubResource("StyleBoxFlat_button")
|
||||
text = "⏰按生长时间"
|
||||
|
||||
[node name="Sort_Profit" type="Button" parent="SortContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 30
|
||||
text = "按收益"
|
||||
theme_override_colors/font_color = Color(0.3, 0.2, 0.1, 1)
|
||||
theme_override_font_sizes/font_size = 28
|
||||
theme_override_styles/hover = SubResource("StyleBoxFlat_button_hover")
|
||||
theme_override_styles/pressed = SubResource("StyleBoxFlat_button_pressed")
|
||||
theme_override_styles/normal = SubResource("StyleBoxFlat_button")
|
||||
text = "📈按收益"
|
||||
|
||||
[node name="Sort_Level" type="Button" parent="SortContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 30
|
||||
text = "按等级"
|
||||
theme_override_colors/font_color = Color(0.3, 0.2, 0.1, 1)
|
||||
theme_override_font_sizes/font_size = 28
|
||||
theme_override_styles/hover = SubResource("StyleBoxFlat_button_hover")
|
||||
theme_override_styles/pressed = SubResource("StyleBoxFlat_button_pressed")
|
||||
theme_override_styles/normal = SubResource("StyleBoxFlat_button")
|
||||
text = "⭐ 按等级"
|
||||
|
||||
[node name="ScrollContainer" type="ScrollContainer" parent="."]
|
||||
layout_mode = 2
|
||||
offset_left = 9.0
|
||||
offset_top = 121.0
|
||||
offset_top = 179.0
|
||||
offset_right = 3890.0
|
||||
offset_bottom = 1588.0
|
||||
offset_bottom = 1502.0
|
||||
scale = Vector2(0.4, 0.4)
|
||||
size_flags_vertical = 3
|
||||
theme_override_styles/panel = SubResource("StyleBoxFlat_uc6q1")
|
||||
@@ -148,19 +240,27 @@ columns = 8
|
||||
[node name="QuitButton" type="Button" parent="."]
|
||||
custom_minimum_size = Vector2(60, 60)
|
||||
layout_mode = 2
|
||||
offset_left = 1495.0
|
||||
offset_top = 12.5
|
||||
offset_right = 1555.0
|
||||
offset_bottom = 75.5
|
||||
theme_override_font_sizes/font_size = 40
|
||||
text = "X"
|
||||
offset_left = 1482.5
|
||||
offset_top = 27.5
|
||||
offset_right = 1542.5
|
||||
offset_bottom = 90.5
|
||||
theme_override_colors/font_color = Color(0.8, 0.2, 0.2, 1)
|
||||
theme_override_font_sizes/font_size = 35
|
||||
theme_override_styles/hover = SubResource("StyleBoxFlat_button_hover")
|
||||
theme_override_styles/pressed = SubResource("StyleBoxFlat_button_pressed")
|
||||
theme_override_styles/normal = SubResource("StyleBoxFlat_button")
|
||||
text = "❌"
|
||||
|
||||
[node name="RefreshButton" type="Button" parent="."]
|
||||
custom_minimum_size = Vector2(60, 60)
|
||||
custom_minimum_size = Vector2(88, 60)
|
||||
layout_mode = 2
|
||||
offset_left = 12.5001
|
||||
offset_top = 12.5
|
||||
offset_right = 100.5
|
||||
offset_bottom = 75.5
|
||||
theme_override_font_sizes/font_size = 40
|
||||
text = "刷新"
|
||||
offset_left = 13.0
|
||||
offset_top = 13.0
|
||||
offset_right = 117.0
|
||||
offset_bottom = 76.0
|
||||
theme_override_colors/font_color = Color(0.3, 0.2, 0.1, 1)
|
||||
theme_override_font_sizes/font_size = 28
|
||||
theme_override_styles/hover = SubResource("StyleBoxFlat_button_hover")
|
||||
theme_override_styles/pressed = SubResource("StyleBoxFlat_button_pressed")
|
||||
theme_override_styles/normal = SubResource("StyleBoxFlat_button")
|
||||
text = "🔄刷新"
|
||||
|
||||
@@ -1,18 +1,70 @@
|
||||
[gd_scene load_steps=3 format=3 uid="uid://cehw5sx5pgmmc"]
|
||||
[gd_scene load_steps=7 format=3 uid="uid://cehw5sx5pgmmc"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://b701r833vse3u" path="res://Script/BigPanel/ItemBagPanel.gd" id="1_ixe68"]
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_n03md"]
|
||||
border_width_left = 5
|
||||
border_width_top = 5
|
||||
border_width_right = 5
|
||||
border_width_bottom = 5
|
||||
corner_radius_top_left = 20
|
||||
corner_radius_top_right = 20
|
||||
corner_radius_bottom_right = 20
|
||||
corner_radius_bottom_left = 20
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_8kysg"]
|
||||
bg_color = Color(0.9, 0.85, 0.75, 0.95)
|
||||
border_width_left = 8
|
||||
border_width_top = 8
|
||||
border_width_right = 8
|
||||
border_width_bottom = 8
|
||||
border_color = Color(0.5, 0.3, 0.1, 1)
|
||||
corner_radius_top_left = 25
|
||||
corner_radius_top_right = 25
|
||||
corner_radius_bottom_right = 25
|
||||
corner_radius_bottom_left = 25
|
||||
shadow_color = Color(0.3, 0.2, 0.1, 0.4)
|
||||
shadow_size = 15
|
||||
shadow_offset = Vector2(3, 3)
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_button_hover"]
|
||||
bg_color = Color(0.85, 0.7, 0.5, 1)
|
||||
border_width_left = 2
|
||||
border_width_top = 2
|
||||
border_width_right = 2
|
||||
border_width_bottom = 2
|
||||
border_color = Color(0.5, 0.4, 0.2, 1)
|
||||
corner_radius_top_left = 12
|
||||
corner_radius_top_right = 12
|
||||
corner_radius_bottom_right = 12
|
||||
corner_radius_bottom_left = 12
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_button_pressed"]
|
||||
bg_color = Color(0.65, 0.5, 0.3, 1)
|
||||
border_width_left = 2
|
||||
border_width_top = 2
|
||||
border_width_right = 2
|
||||
border_width_bottom = 2
|
||||
border_color = Color(0.3, 0.2, 0.05, 1)
|
||||
corner_radius_top_left = 12
|
||||
corner_radius_top_right = 12
|
||||
corner_radius_bottom_right = 12
|
||||
corner_radius_bottom_left = 12
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_button"]
|
||||
bg_color = Color(0.75, 0.6, 0.4, 1)
|
||||
border_width_left = 2
|
||||
border_width_top = 2
|
||||
border_width_right = 2
|
||||
border_width_bottom = 2
|
||||
border_color = Color(0.4, 0.3, 0.1, 1)
|
||||
corner_radius_top_left = 12
|
||||
corner_radius_top_right = 12
|
||||
corner_radius_bottom_right = 12
|
||||
corner_radius_bottom_left = 12
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_ixe68"]
|
||||
bg_color = Color(0.95, 0.92, 0.85, 0.9)
|
||||
border_width_left = 3
|
||||
border_width_top = 3
|
||||
border_width_right = 3
|
||||
border_width_bottom = 3
|
||||
border_color = Color(0.6, 0.4, 0.2, 0.8)
|
||||
corner_radius_top_left = 15
|
||||
corner_radius_top_right = 15
|
||||
corner_radius_bottom_right = 15
|
||||
corner_radius_bottom_left = 15
|
||||
corner_detail = 20
|
||||
shadow_size = 20
|
||||
|
||||
[node name="ItemBagPanel" type="Panel"]
|
||||
offset_left = 69.0
|
||||
@@ -22,7 +74,7 @@ offset_bottom = 836.0
|
||||
scale = Vector2(0.8, 0.8)
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
theme_override_styles/panel = SubResource("StyleBoxFlat_n03md")
|
||||
theme_override_styles/panel = SubResource("StyleBoxFlat_8kysg")
|
||||
script = ExtResource("1_ixe68")
|
||||
|
||||
[node name="TMBackGround" type="ColorRect" parent="."]
|
||||
@@ -31,38 +83,23 @@ offset_left = -90.0
|
||||
offset_top = -71.0
|
||||
offset_right = 1672.0
|
||||
offset_bottom = 831.0
|
||||
color = Color(1, 1, 1, 0)
|
||||
|
||||
[node name="ScrollContainer" type="ScrollContainer" parent="."]
|
||||
layout_mode = 2
|
||||
offset_left = 28.0
|
||||
offset_top = 95.0
|
||||
offset_right = 3805.0
|
||||
offset_bottom = 1723.0
|
||||
scale = Vector2(0.4, 0.4)
|
||||
size_flags_vertical = 3
|
||||
horizontal_scroll_mode = 0
|
||||
|
||||
[node name="Bag_Grid" type="GridContainer" parent="ScrollContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 6
|
||||
size_flags_vertical = 3
|
||||
columns = 8
|
||||
color = Color(0.9, 0.8, 0.6, 0.3)
|
||||
|
||||
[node name="Title" type="Label" parent="."]
|
||||
layout_mode = 2
|
||||
offset_top = 13.75
|
||||
offset_right = 1566.0
|
||||
offset_bottom = 69.0
|
||||
offset_bottom = 82.75
|
||||
size_flags_horizontal = 3
|
||||
theme_override_colors/font_color = Color(1, 1, 0.807843, 1)
|
||||
theme_override_colors/font_shadow_color = Color(0, 0, 0, 1)
|
||||
theme_override_colors/font_outline_color = Color(0, 0, 0, 1)
|
||||
theme_override_constants/shadow_offset_x = 4
|
||||
theme_override_constants/shadow_offset_y = 4
|
||||
theme_override_constants/outline_size = 15
|
||||
theme_override_constants/shadow_outline_size = 15
|
||||
theme_override_font_sizes/font_size = 50
|
||||
text = "道具背包"
|
||||
theme_override_colors/font_color = Color(0.4, 0.2, 0.1, 1)
|
||||
theme_override_colors/font_shadow_color = Color(1, 0.9, 0.7, 0.8)
|
||||
theme_override_colors/font_outline_color = Color(0.7, 0.5, 0.3, 1)
|
||||
theme_override_constants/shadow_offset_x = 2
|
||||
theme_override_constants/shadow_offset_y = 2
|
||||
theme_override_constants/outline_size = 3
|
||||
theme_override_constants/shadow_outline_size = 8
|
||||
theme_override_font_sizes/font_size = 45
|
||||
text = "🎒 道具背包 🎒"
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="QuitButton" type="Button" parent="."]
|
||||
@@ -72,8 +109,12 @@ offset_left = 1478.75
|
||||
offset_top = 20.0
|
||||
offset_right = 1538.75
|
||||
offset_bottom = 83.0
|
||||
theme_override_font_sizes/font_size = 40
|
||||
text = "X"
|
||||
theme_override_colors/font_color = Color(0.8, 0.2, 0.2, 1)
|
||||
theme_override_font_sizes/font_size = 35
|
||||
theme_override_styles/hover = SubResource("StyleBoxFlat_button_hover")
|
||||
theme_override_styles/pressed = SubResource("StyleBoxFlat_button_pressed")
|
||||
theme_override_styles/normal = SubResource("StyleBoxFlat_button")
|
||||
text = "❌"
|
||||
|
||||
[node name="RefreshButton" type="Button" parent="."]
|
||||
custom_minimum_size = Vector2(60, 60)
|
||||
@@ -82,44 +123,84 @@ offset_left = 27.5
|
||||
offset_top = 16.25
|
||||
offset_right = 115.5
|
||||
offset_bottom = 79.25
|
||||
theme_override_font_sizes/font_size = 40
|
||||
text = "刷新"
|
||||
theme_override_colors/font_color = Color(0.3, 0.2, 0.1, 1)
|
||||
theme_override_font_sizes/font_size = 28
|
||||
theme_override_styles/hover = SubResource("StyleBoxFlat_button_hover")
|
||||
theme_override_styles/pressed = SubResource("StyleBoxFlat_button_pressed")
|
||||
theme_override_styles/normal = SubResource("StyleBoxFlat_button")
|
||||
text = "🔄刷新"
|
||||
|
||||
[node name="All_Filter" type="Button" parent="."]
|
||||
custom_minimum_size = Vector2(60, 60)
|
||||
offset_left = 217.5
|
||||
offset_top = 12.5
|
||||
offset_right = 305.5
|
||||
offset_bottom = 75.5
|
||||
theme_override_font_sizes/font_size = 40
|
||||
text = "全部"
|
||||
layout_mode = 0
|
||||
offset_left = 188.75
|
||||
offset_top = 16.25
|
||||
offset_right = 286.75
|
||||
offset_bottom = 79.25
|
||||
theme_override_colors/font_color = Color(0.3, 0.2, 0.1, 1)
|
||||
theme_override_font_sizes/font_size = 28
|
||||
theme_override_styles/hover = SubResource("StyleBoxFlat_button_hover")
|
||||
theme_override_styles/pressed = SubResource("StyleBoxFlat_button_pressed")
|
||||
theme_override_styles/normal = SubResource("StyleBoxFlat_button")
|
||||
text = "🎒全部"
|
||||
|
||||
[node name="Pet_Filter" type="Button" parent="."]
|
||||
custom_minimum_size = Vector2(60, 60)
|
||||
offset_left = 310.0
|
||||
offset_top = 13.75
|
||||
offset_right = 398.0
|
||||
offset_bottom = 76.75
|
||||
theme_override_font_sizes/font_size = 40
|
||||
text = "宠物"
|
||||
layout_mode = 0
|
||||
offset_left = 297.5
|
||||
offset_top = 15.0
|
||||
offset_right = 395.5
|
||||
offset_bottom = 78.0
|
||||
theme_override_colors/font_color = Color(0.3, 0.2, 0.1, 1)
|
||||
theme_override_font_sizes/font_size = 28
|
||||
theme_override_styles/hover = SubResource("StyleBoxFlat_button_hover")
|
||||
theme_override_styles/pressed = SubResource("StyleBoxFlat_button_pressed")
|
||||
theme_override_styles/normal = SubResource("StyleBoxFlat_button")
|
||||
text = "🐾宠物"
|
||||
|
||||
[node name="Crop_Filter" type="Button" parent="."]
|
||||
custom_minimum_size = Vector2(60, 60)
|
||||
offset_left = 397.5
|
||||
layout_mode = 0
|
||||
offset_left = 410.0
|
||||
offset_top = 13.75
|
||||
offset_right = 485.5
|
||||
offset_right = 508.0
|
||||
offset_bottom = 76.75
|
||||
theme_override_font_sizes/font_size = 40
|
||||
text = "作物"
|
||||
theme_override_colors/font_color = Color(0.3, 0.2, 0.1, 1)
|
||||
theme_override_font_sizes/font_size = 28
|
||||
theme_override_styles/hover = SubResource("StyleBoxFlat_button_hover")
|
||||
theme_override_styles/pressed = SubResource("StyleBoxFlat_button_pressed")
|
||||
theme_override_styles/normal = SubResource("StyleBoxFlat_button")
|
||||
text = "🌾作物"
|
||||
|
||||
[node name="Farm_Filter" type="Button" parent="."]
|
||||
custom_minimum_size = Vector2(60, 60)
|
||||
offset_left = 485.0
|
||||
offset_top = 13.75
|
||||
offset_right = 573.0
|
||||
offset_bottom = 76.75
|
||||
theme_override_font_sizes/font_size = 40
|
||||
text = "农场"
|
||||
layout_mode = 0
|
||||
offset_left = 521.25
|
||||
offset_top = 16.25
|
||||
offset_right = 619.25
|
||||
offset_bottom = 79.25
|
||||
theme_override_colors/font_color = Color(0.3, 0.2, 0.1, 1)
|
||||
theme_override_font_sizes/font_size = 28
|
||||
theme_override_styles/hover = SubResource("StyleBoxFlat_button_hover")
|
||||
theme_override_styles/pressed = SubResource("StyleBoxFlat_button_pressed")
|
||||
theme_override_styles/normal = SubResource("StyleBoxFlat_button")
|
||||
text = "🏡农场"
|
||||
|
||||
[node name="ScrollContainer" type="ScrollContainer" parent="."]
|
||||
offset_left = 51.0
|
||||
offset_top = 88.0
|
||||
offset_right = 3663.0
|
||||
offset_bottom = 1687.0
|
||||
scale = Vector2(0.4, 0.4)
|
||||
size_flags_vertical = 3
|
||||
theme_override_styles/panel = SubResource("StyleBoxFlat_ixe68")
|
||||
horizontal_scroll_mode = 0
|
||||
|
||||
[node name="Bag_Grid" type="GridContainer" parent="ScrollContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 6
|
||||
size_flags_vertical = 3
|
||||
columns = 8
|
||||
|
||||
[connection signal="pressed" from="QuitButton" to="." method="_on_quit_button_pressed"]
|
||||
[connection signal="pressed" from="RefreshButton" to="." method="_on_refresh_button_pressed"]
|
||||
|
||||
@@ -1,74 +1,70 @@
|
||||
[gd_scene load_steps=8 format=3 uid="uid://j4ft87o7jk14"]
|
||||
[gd_scene load_steps=7 format=3 uid="uid://j4ft87o7jk14"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://bruqwi63myl1m" path="res://Script/BigPanel/ItemStorePanel.gd" id="1_vx1qn"]
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_n03md"]
|
||||
bg_color = Color(0.85, 0.95, 0.88, 0.85)
|
||||
border_width_left = 2
|
||||
border_width_top = 2
|
||||
border_width_right = 2
|
||||
border_width_bottom = 2
|
||||
border_color = Color(0.6, 0.8, 0.65, 0.9)
|
||||
corner_radius_top_left = 35
|
||||
corner_radius_top_right = 35
|
||||
corner_radius_bottom_right = 35
|
||||
corner_radius_bottom_left = 35
|
||||
corner_detail = 20
|
||||
shadow_color = Color(0, 0, 0, 0.3)
|
||||
shadow_size = 12
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_8kysg"]
|
||||
bg_color = Color(0.9, 0.85, 0.75, 0.95)
|
||||
border_width_left = 8
|
||||
border_width_top = 8
|
||||
border_width_right = 8
|
||||
border_width_bottom = 8
|
||||
border_color = Color(0.5, 0.3, 0.1, 1)
|
||||
corner_radius_top_left = 25
|
||||
corner_radius_top_right = 25
|
||||
corner_radius_bottom_right = 25
|
||||
corner_radius_bottom_left = 25
|
||||
shadow_color = Color(0.3, 0.2, 0.1, 0.4)
|
||||
shadow_size = 15
|
||||
shadow_offset = Vector2(3, 3)
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_Button"]
|
||||
bg_color = Color(0.75, 0.9, 0.8, 0.8)
|
||||
border_width_left = 1
|
||||
border_width_top = 1
|
||||
border_width_right = 1
|
||||
border_width_bottom = 1
|
||||
border_color = Color(0.5, 0.75, 0.6, 0.8)
|
||||
corner_radius_top_left = 20
|
||||
corner_radius_top_right = 20
|
||||
corner_radius_bottom_right = 20
|
||||
corner_radius_bottom_left = 20
|
||||
shadow_color = Color(0, 0, 0, 0.2)
|
||||
shadow_size = 6
|
||||
shadow_offset = Vector2(2, 2)
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_ButtonHover"]
|
||||
bg_color = Color(0.8, 0.95, 0.85, 0.9)
|
||||
border_width_left = 1
|
||||
border_width_top = 1
|
||||
border_width_right = 1
|
||||
border_width_bottom = 1
|
||||
border_color = Color(0.4, 0.7, 0.5, 1)
|
||||
corner_radius_top_left = 20
|
||||
corner_radius_top_right = 20
|
||||
corner_radius_bottom_right = 20
|
||||
corner_radius_bottom_left = 20
|
||||
shadow_color = Color(0, 0, 0, 0.25)
|
||||
shadow_size = 8
|
||||
shadow_offset = Vector2(2, 2)
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_ButtonPressed"]
|
||||
bg_color = Color(0.65, 0.8, 0.7, 0.9)
|
||||
border_width_left = 1
|
||||
border_width_top = 1
|
||||
border_width_right = 1
|
||||
border_width_bottom = 1
|
||||
border_color = Color(0.3, 0.6, 0.4, 1)
|
||||
corner_radius_top_left = 20
|
||||
corner_radius_top_right = 20
|
||||
corner_radius_bottom_right = 20
|
||||
corner_radius_bottom_left = 20
|
||||
shadow_color = Color(0, 0, 0, 0.15)
|
||||
shadow_size = 4
|
||||
shadow_offset = Vector2(1, 1)
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_ScrollBar"]
|
||||
bg_color = Color(0.8, 0.9, 0.85, 0.7)
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_uc6q1"]
|
||||
bg_color = Color(0.95, 0.92, 0.85, 0.9)
|
||||
border_width_left = 3
|
||||
border_width_top = 3
|
||||
border_width_right = 3
|
||||
border_width_bottom = 3
|
||||
border_color = Color(0.6, 0.4, 0.2, 0.8)
|
||||
corner_radius_top_left = 15
|
||||
corner_radius_top_right = 15
|
||||
corner_radius_bottom_right = 15
|
||||
corner_radius_bottom_left = 15
|
||||
corner_detail = 20
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_button_hover"]
|
||||
bg_color = Color(0.85, 0.7, 0.5, 1)
|
||||
border_width_left = 2
|
||||
border_width_top = 2
|
||||
border_width_right = 2
|
||||
border_width_bottom = 2
|
||||
border_color = Color(0.5, 0.4, 0.2, 1)
|
||||
corner_radius_top_left = 12
|
||||
corner_radius_top_right = 12
|
||||
corner_radius_bottom_right = 12
|
||||
corner_radius_bottom_left = 12
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_button_pressed"]
|
||||
bg_color = Color(0.65, 0.5, 0.3, 1)
|
||||
border_width_left = 2
|
||||
border_width_top = 2
|
||||
border_width_right = 2
|
||||
border_width_bottom = 2
|
||||
border_color = Color(0.3, 0.2, 0.05, 1)
|
||||
corner_radius_top_left = 12
|
||||
corner_radius_top_right = 12
|
||||
corner_radius_bottom_right = 12
|
||||
corner_radius_bottom_left = 12
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_button"]
|
||||
bg_color = Color(0.75, 0.6, 0.4, 1)
|
||||
border_width_left = 2
|
||||
border_width_top = 2
|
||||
border_width_right = 2
|
||||
border_width_bottom = 2
|
||||
border_color = Color(0.4, 0.3, 0.1, 1)
|
||||
corner_radius_top_left = 12
|
||||
corner_radius_top_right = 12
|
||||
corner_radius_bottom_right = 12
|
||||
corner_radius_bottom_left = 12
|
||||
|
||||
[node name="ItemStorePanel" type="Panel"]
|
||||
offset_left = 58.0
|
||||
@@ -78,7 +74,7 @@ offset_bottom = 799.0
|
||||
scale = Vector2(0.8, 0.8)
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
theme_override_styles/panel = SubResource("StyleBoxFlat_n03md")
|
||||
theme_override_styles/panel = SubResource("StyleBoxFlat_8kysg")
|
||||
script = ExtResource("1_vx1qn")
|
||||
|
||||
[node name="TMBackGround" type="ColorRect" parent="."]
|
||||
@@ -87,18 +83,18 @@ offset_left = -184.0
|
||||
offset_top = -100.0
|
||||
offset_right = 1571.0
|
||||
offset_bottom = 804.0
|
||||
color = Color(0.9, 0.98, 0.92, 0.2)
|
||||
color = Color(0.9, 0.8, 0.6, 0.3)
|
||||
|
||||
[node name="ScrollContainer" type="ScrollContainer" parent="."]
|
||||
layout_mode = 2
|
||||
offset_left = 15.0
|
||||
offset_left = 51.0
|
||||
offset_top = 88.0
|
||||
offset_right = 3799.0
|
||||
offset_bottom = 1626.0
|
||||
offset_right = 3663.0
|
||||
offset_bottom = 1571.0
|
||||
scale = Vector2(0.4, 0.4)
|
||||
size_flags_vertical = 3
|
||||
theme_override_styles/panel = SubResource("StyleBoxFlat_uc6q1")
|
||||
horizontal_scroll_mode = 0
|
||||
theme_override_styles/panel = SubResource("StyleBoxFlat_ScrollBar")
|
||||
|
||||
[node name="Store_Grid" type="GridContainer" parent="ScrollContainer"]
|
||||
layout_mode = 2
|
||||
@@ -111,15 +107,15 @@ layout_mode = 2
|
||||
offset_right = 1540.0
|
||||
offset_bottom = 75.0
|
||||
size_flags_horizontal = 3
|
||||
theme_override_colors/font_color = Color(0.2, 0.6, 0.3, 1)
|
||||
theme_override_colors/font_shadow_color = Color(0, 0, 0, 0.4)
|
||||
theme_override_colors/font_outline_color = Color(0.8, 0.95, 0.85, 0.8)
|
||||
theme_override_colors/font_color = Color(0.4, 0.2, 0.1, 1)
|
||||
theme_override_colors/font_shadow_color = Color(1, 0.9, 0.7, 0.8)
|
||||
theme_override_colors/font_outline_color = Color(0.7, 0.5, 0.3, 1)
|
||||
theme_override_constants/shadow_offset_x = 2
|
||||
theme_override_constants/shadow_offset_y = 2
|
||||
theme_override_constants/outline_size = 8
|
||||
theme_override_constants/outline_size = 3
|
||||
theme_override_constants/shadow_outline_size = 8
|
||||
theme_override_font_sizes/font_size = 42
|
||||
text = "道具商店"
|
||||
theme_override_font_sizes/font_size = 45
|
||||
text = "🏪 道具商店 🏪"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
@@ -130,15 +126,12 @@ offset_left = 1457.5
|
||||
offset_top = 13.75
|
||||
offset_right = 1517.5
|
||||
offset_bottom = 76.75
|
||||
theme_override_colors/font_color = Color(0.3, 0.5, 0.35, 1)
|
||||
theme_override_colors/font_shadow_color = Color(0, 0, 0, 0.3)
|
||||
theme_override_constants/shadow_offset_x = 1
|
||||
theme_override_constants/shadow_offset_y = 1
|
||||
theme_override_font_sizes/font_size = 40
|
||||
theme_override_styles/normal = SubResource("StyleBoxFlat_Button")
|
||||
theme_override_styles/hover = SubResource("StyleBoxFlat_ButtonHover")
|
||||
theme_override_styles/pressed = SubResource("StyleBoxFlat_ButtonPressed")
|
||||
text = "X"
|
||||
theme_override_colors/font_color = Color(0.8, 0.2, 0.2, 1)
|
||||
theme_override_font_sizes/font_size = 35
|
||||
theme_override_styles/hover = SubResource("StyleBoxFlat_button_hover")
|
||||
theme_override_styles/pressed = SubResource("StyleBoxFlat_button_pressed")
|
||||
theme_override_styles/normal = SubResource("StyleBoxFlat_button")
|
||||
text = "❌"
|
||||
|
||||
[node name="RefreshButton" type="Button" parent="."]
|
||||
custom_minimum_size = Vector2(60, 60)
|
||||
@@ -147,83 +140,68 @@ offset_left = 12.5
|
||||
offset_top = 12.5
|
||||
offset_right = 100.5
|
||||
offset_bottom = 75.5
|
||||
theme_override_colors/font_color = Color(0.2, 0.5, 0.3, 1)
|
||||
theme_override_colors/font_shadow_color = Color(0, 0, 0, 0.3)
|
||||
theme_override_constants/shadow_offset_x = 1
|
||||
theme_override_constants/shadow_offset_y = 1
|
||||
theme_override_font_sizes/font_size = 32
|
||||
theme_override_styles/normal = SubResource("StyleBoxFlat_Button")
|
||||
theme_override_styles/hover = SubResource("StyleBoxFlat_ButtonHover")
|
||||
theme_override_styles/pressed = SubResource("StyleBoxFlat_ButtonPressed")
|
||||
text = "刷新"
|
||||
theme_override_colors/font_color = Color(0.3, 0.2, 0.1, 1)
|
||||
theme_override_font_sizes/font_size = 28
|
||||
theme_override_styles/hover = SubResource("StyleBoxFlat_button_hover")
|
||||
theme_override_styles/pressed = SubResource("StyleBoxFlat_button_pressed")
|
||||
theme_override_styles/normal = SubResource("StyleBoxFlat_button")
|
||||
text = "🔄刷新"
|
||||
|
||||
[node name="All_Filter" type="Button" parent="."]
|
||||
custom_minimum_size = Vector2(60, 60)
|
||||
layout_mode = 2
|
||||
offset_left = 217.5
|
||||
offset_top = 12.5
|
||||
offset_right = 305.5
|
||||
offset_bottom = 75.5
|
||||
theme_override_colors/font_color = Color(0.25, 0.5, 0.3, 1)
|
||||
theme_override_colors/font_shadow_color = Color(0, 0, 0, 0.3)
|
||||
theme_override_constants/shadow_offset_x = 1
|
||||
theme_override_constants/shadow_offset_y = 1
|
||||
theme_override_font_sizes/font_size = 32
|
||||
theme_override_styles/normal = SubResource("StyleBoxFlat_Button")
|
||||
theme_override_styles/hover = SubResource("StyleBoxFlat_ButtonHover")
|
||||
theme_override_styles/pressed = SubResource("StyleBoxFlat_ButtonPressed")
|
||||
text = "全部"
|
||||
offset_left = 161.25
|
||||
offset_top = 13.75
|
||||
offset_right = 259.25
|
||||
offset_bottom = 76.75
|
||||
theme_override_colors/font_color = Color(0.3, 0.2, 0.1, 1)
|
||||
theme_override_font_sizes/font_size = 28
|
||||
theme_override_styles/hover = SubResource("StyleBoxFlat_button_hover")
|
||||
theme_override_styles/pressed = SubResource("StyleBoxFlat_button_pressed")
|
||||
theme_override_styles/normal = SubResource("StyleBoxFlat_button")
|
||||
text = "🏪全部"
|
||||
|
||||
[node name="Pet_Filter" type="Button" parent="."]
|
||||
custom_minimum_size = Vector2(60, 60)
|
||||
layout_mode = 2
|
||||
offset_left = 310.0
|
||||
offset_left = 277.5
|
||||
offset_top = 13.75
|
||||
offset_right = 398.0
|
||||
offset_right = 375.5
|
||||
offset_bottom = 76.75
|
||||
theme_override_colors/font_color = Color(0.25, 0.5, 0.35, 1)
|
||||
theme_override_colors/font_shadow_color = Color(0, 0, 0, 0.3)
|
||||
theme_override_constants/shadow_offset_x = 1
|
||||
theme_override_constants/shadow_offset_y = 1
|
||||
theme_override_font_sizes/font_size = 32
|
||||
theme_override_styles/normal = SubResource("StyleBoxFlat_Button")
|
||||
theme_override_styles/hover = SubResource("StyleBoxFlat_ButtonHover")
|
||||
theme_override_styles/pressed = SubResource("StyleBoxFlat_ButtonPressed")
|
||||
text = "宠物"
|
||||
theme_override_colors/font_color = Color(0.3, 0.2, 0.1, 1)
|
||||
theme_override_font_sizes/font_size = 28
|
||||
theme_override_styles/hover = SubResource("StyleBoxFlat_button_hover")
|
||||
theme_override_styles/pressed = SubResource("StyleBoxFlat_button_pressed")
|
||||
theme_override_styles/normal = SubResource("StyleBoxFlat_button")
|
||||
text = "🐾宠物"
|
||||
|
||||
[node name="Crop_Filter" type="Button" parent="."]
|
||||
custom_minimum_size = Vector2(60, 60)
|
||||
layout_mode = 2
|
||||
offset_left = 397.5
|
||||
offset_top = 13.75
|
||||
offset_right = 485.5
|
||||
offset_bottom = 76.75
|
||||
theme_override_colors/font_color = Color(0.2, 0.5, 0.25, 1)
|
||||
theme_override_colors/font_shadow_color = Color(0, 0, 0, 0.3)
|
||||
theme_override_constants/shadow_offset_x = 1
|
||||
theme_override_constants/shadow_offset_y = 1
|
||||
theme_override_font_sizes/font_size = 32
|
||||
theme_override_styles/normal = SubResource("StyleBoxFlat_Button")
|
||||
theme_override_styles/hover = SubResource("StyleBoxFlat_ButtonHover")
|
||||
theme_override_styles/pressed = SubResource("StyleBoxFlat_ButtonPressed")
|
||||
text = "作物"
|
||||
offset_left = 391.25
|
||||
offset_top = 12.5
|
||||
offset_right = 489.25
|
||||
offset_bottom = 75.5
|
||||
theme_override_colors/font_color = Color(0.3, 0.2, 0.1, 1)
|
||||
theme_override_font_sizes/font_size = 28
|
||||
theme_override_styles/hover = SubResource("StyleBoxFlat_button_hover")
|
||||
theme_override_styles/pressed = SubResource("StyleBoxFlat_button_pressed")
|
||||
theme_override_styles/normal = SubResource("StyleBoxFlat_button")
|
||||
text = "🌾作物"
|
||||
|
||||
[node name="Farm_Filter" type="Button" parent="."]
|
||||
custom_minimum_size = Vector2(60, 60)
|
||||
layout_mode = 2
|
||||
offset_left = 485.0
|
||||
offset_top = 13.75
|
||||
offset_right = 573.0
|
||||
offset_bottom = 76.75
|
||||
theme_override_colors/font_color = Color(0.25, 0.5, 0.3, 1)
|
||||
theme_override_colors/font_shadow_color = Color(0, 0, 0, 0.3)
|
||||
theme_override_constants/shadow_offset_x = 1
|
||||
theme_override_constants/shadow_offset_y = 1
|
||||
theme_override_font_sizes/font_size = 32
|
||||
theme_override_styles/normal = SubResource("StyleBoxFlat_Button")
|
||||
theme_override_styles/hover = SubResource("StyleBoxFlat_ButtonHover")
|
||||
theme_override_styles/pressed = SubResource("StyleBoxFlat_ButtonPressed")
|
||||
text = "农场"
|
||||
offset_left = 507.5
|
||||
offset_top = 12.5
|
||||
offset_right = 605.5
|
||||
offset_bottom = 75.5
|
||||
theme_override_colors/font_color = Color(0.3, 0.2, 0.1, 1)
|
||||
theme_override_font_sizes/font_size = 28
|
||||
theme_override_styles/hover = SubResource("StyleBoxFlat_button_hover")
|
||||
theme_override_styles/pressed = SubResource("StyleBoxFlat_button_pressed")
|
||||
theme_override_styles/normal = SubResource("StyleBoxFlat_button")
|
||||
text = "🏡农场"
|
||||
|
||||
[connection signal="pressed" from="RefreshButton" to="." method="_on_refresh_button_pressed"]
|
||||
[connection signal="pressed" from="All_Filter" to="." method="_on_all_filter_pressed"]
|
||||
|
||||
@@ -1,47 +1,102 @@
|
||||
[gd_scene load_steps=3 format=3 uid="uid://bnf1u6re1r1if"]
|
||||
[gd_scene load_steps=7 format=3 uid="uid://bnf1u6re1r1if"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://bdhwvqsmakna2" path="res://Script/BigPanel/PetBagPanel.gd" id="1_m60ti"]
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_n03md"]
|
||||
border_width_left = 5
|
||||
border_width_top = 5
|
||||
border_width_right = 5
|
||||
border_width_bottom = 5
|
||||
corner_radius_top_left = 20
|
||||
corner_radius_top_right = 20
|
||||
corner_radius_bottom_right = 20
|
||||
corner_radius_bottom_left = 20
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_8kysg"]
|
||||
bg_color = Color(0.9, 0.85, 0.75, 0.95)
|
||||
border_width_left = 8
|
||||
border_width_top = 8
|
||||
border_width_right = 8
|
||||
border_width_bottom = 8
|
||||
border_color = Color(0.5, 0.3, 0.1, 1)
|
||||
corner_radius_top_left = 25
|
||||
corner_radius_top_right = 25
|
||||
corner_radius_bottom_right = 25
|
||||
corner_radius_bottom_left = 25
|
||||
shadow_color = Color(0.3, 0.2, 0.1, 0.4)
|
||||
shadow_size = 15
|
||||
shadow_offset = Vector2(3, 3)
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_uc6q1"]
|
||||
bg_color = Color(0.95, 0.92, 0.85, 0.9)
|
||||
border_width_left = 3
|
||||
border_width_top = 3
|
||||
border_width_right = 3
|
||||
border_width_bottom = 3
|
||||
border_color = Color(0.6, 0.4, 0.2, 0.8)
|
||||
corner_radius_top_left = 15
|
||||
corner_radius_top_right = 15
|
||||
corner_radius_bottom_right = 15
|
||||
corner_radius_bottom_left = 15
|
||||
corner_detail = 20
|
||||
shadow_size = 20
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_button_hover"]
|
||||
bg_color = Color(0.85, 0.7, 0.5, 1)
|
||||
border_width_left = 2
|
||||
border_width_top = 2
|
||||
border_width_right = 2
|
||||
border_width_bottom = 2
|
||||
border_color = Color(0.5, 0.4, 0.2, 1)
|
||||
corner_radius_top_left = 12
|
||||
corner_radius_top_right = 12
|
||||
corner_radius_bottom_right = 12
|
||||
corner_radius_bottom_left = 12
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_button_pressed"]
|
||||
bg_color = Color(0.65, 0.5, 0.3, 1)
|
||||
border_width_left = 2
|
||||
border_width_top = 2
|
||||
border_width_right = 2
|
||||
border_width_bottom = 2
|
||||
border_color = Color(0.3, 0.2, 0.05, 1)
|
||||
corner_radius_top_left = 12
|
||||
corner_radius_top_right = 12
|
||||
corner_radius_bottom_right = 12
|
||||
corner_radius_bottom_left = 12
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_button"]
|
||||
bg_color = Color(0.75, 0.6, 0.4, 1)
|
||||
border_width_left = 2
|
||||
border_width_top = 2
|
||||
border_width_right = 2
|
||||
border_width_bottom = 2
|
||||
border_color = Color(0.4, 0.3, 0.1, 1)
|
||||
corner_radius_top_left = 12
|
||||
corner_radius_top_right = 12
|
||||
corner_radius_bottom_right = 12
|
||||
corner_radius_bottom_left = 12
|
||||
|
||||
[node name="PetBagPanel" type="Panel"]
|
||||
offset_left = 69.0
|
||||
offset_top = 56.0
|
||||
offset_right = 1635.0
|
||||
offset_bottom = 836.0
|
||||
offset_left = 58.0
|
||||
offset_top = 77.0
|
||||
offset_right = 1624.0
|
||||
offset_bottom = 797.0
|
||||
scale = Vector2(0.8, 0.8)
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
theme_override_styles/panel = SubResource("StyleBoxFlat_n03md")
|
||||
theme_override_styles/panel = SubResource("StyleBoxFlat_8kysg")
|
||||
script = ExtResource("1_m60ti")
|
||||
|
||||
[node name="TMBackGround" type="ColorRect" parent="."]
|
||||
layout_mode = 0
|
||||
offset_left = -90.0
|
||||
offset_top = -71.0
|
||||
offset_right = 1672.0
|
||||
offset_bottom = 831.0
|
||||
color = Color(1, 1, 1, 0)
|
||||
offset_left = -72.0
|
||||
offset_top = -95.0
|
||||
offset_right = 1678.0
|
||||
offset_bottom = 804.0
|
||||
color = Color(0.9, 0.8, 0.6, 0.3)
|
||||
|
||||
[node name="ScrollContainer" type="ScrollContainer" parent="."]
|
||||
layout_mode = 2
|
||||
offset_left = 28.0
|
||||
offset_top = 95.0
|
||||
offset_right = 3805.0
|
||||
offset_bottom = 1723.0
|
||||
offset_left = 40.0
|
||||
offset_top = 100.0
|
||||
offset_right = 3753.0
|
||||
offset_bottom = 1532.0
|
||||
scale = Vector2(0.4, 0.4)
|
||||
size_flags_vertical = 3
|
||||
theme_override_styles/panel = SubResource("StyleBoxFlat_uc6q1")
|
||||
horizontal_scroll_mode = 0
|
||||
vertical_scroll_mode = 2
|
||||
scroll_deadzone = -10
|
||||
|
||||
[node name="Bag_Grid" type="GridContainer" parent="ScrollContainer"]
|
||||
layout_mode = 2
|
||||
@@ -51,36 +106,45 @@ columns = 8
|
||||
|
||||
[node name="Title" type="Label" parent="."]
|
||||
layout_mode = 2
|
||||
offset_top = 13.0
|
||||
offset_right = 1566.0
|
||||
offset_bottom = 69.0
|
||||
offset_bottom = 98.0
|
||||
size_flags_horizontal = 3
|
||||
theme_override_colors/font_color = Color(1, 1, 0.807843, 1)
|
||||
theme_override_colors/font_shadow_color = Color(0, 0, 0, 1)
|
||||
theme_override_colors/font_outline_color = Color(0, 0, 0, 1)
|
||||
theme_override_constants/shadow_offset_x = 4
|
||||
theme_override_constants/shadow_offset_y = 4
|
||||
theme_override_constants/outline_size = 15
|
||||
theme_override_constants/shadow_outline_size = 15
|
||||
theme_override_font_sizes/font_size = 50
|
||||
text = "宠物背包"
|
||||
theme_override_colors/font_color = Color(0.4, 0.2, 0.1, 1)
|
||||
theme_override_colors/font_shadow_color = Color(1, 0.9, 0.7, 0.8)
|
||||
theme_override_colors/font_outline_color = Color(0.7, 0.5, 0.3, 1)
|
||||
theme_override_constants/shadow_offset_x = 2
|
||||
theme_override_constants/shadow_offset_y = 2
|
||||
theme_override_constants/outline_size = 3
|
||||
theme_override_constants/shadow_outline_size = 8
|
||||
theme_override_font_sizes/font_size = 45
|
||||
text = "🐾 宠物背包 🐾"
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="QuitButton" type="Button" parent="."]
|
||||
custom_minimum_size = Vector2(60, 60)
|
||||
layout_mode = 2
|
||||
offset_left = 1478.75
|
||||
offset_top = 20.0
|
||||
offset_right = 1538.75
|
||||
offset_bottom = 83.0
|
||||
theme_override_font_sizes/font_size = 40
|
||||
text = "X"
|
||||
offset_left = 1482.5
|
||||
offset_top = 27.5
|
||||
offset_right = 1542.5
|
||||
offset_bottom = 90.5
|
||||
theme_override_colors/font_color = Color(0.8, 0.2, 0.2, 1)
|
||||
theme_override_font_sizes/font_size = 35
|
||||
theme_override_styles/hover = SubResource("StyleBoxFlat_button_hover")
|
||||
theme_override_styles/pressed = SubResource("StyleBoxFlat_button_pressed")
|
||||
theme_override_styles/normal = SubResource("StyleBoxFlat_button")
|
||||
text = "❌"
|
||||
|
||||
[node name="RefreshButton" type="Button" parent="."]
|
||||
custom_minimum_size = Vector2(60, 60)
|
||||
custom_minimum_size = Vector2(88, 60)
|
||||
layout_mode = 2
|
||||
offset_left = 27.5
|
||||
offset_top = 16.25
|
||||
offset_right = 115.5
|
||||
offset_bottom = 79.25
|
||||
theme_override_font_sizes/font_size = 40
|
||||
text = "刷新"
|
||||
offset_left = 13.0
|
||||
offset_top = 13.0
|
||||
offset_right = 117.0
|
||||
offset_bottom = 76.0
|
||||
theme_override_colors/font_color = Color(0.3, 0.2, 0.1, 1)
|
||||
theme_override_font_sizes/font_size = 28
|
||||
theme_override_styles/hover = SubResource("StyleBoxFlat_button_hover")
|
||||
theme_override_styles/pressed = SubResource("StyleBoxFlat_button_pressed")
|
||||
theme_override_styles/normal = SubResource("StyleBoxFlat_button")
|
||||
text = "🔄刷新"
|
||||
|
||||
@@ -1,47 +1,102 @@
|
||||
[gd_scene load_steps=3 format=3 uid="uid://cnjidcwuv4nn4"]
|
||||
[gd_scene load_steps=7 format=3 uid="uid://cnjidcwuv4nn4"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dc1pmi1ubd2cf" path="res://Script/BigPanel/PetStorePanel.gd" id="1_pfdc7"]
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_n03md"]
|
||||
border_width_left = 5
|
||||
border_width_top = 5
|
||||
border_width_right = 5
|
||||
border_width_bottom = 5
|
||||
corner_radius_top_left = 20
|
||||
corner_radius_top_right = 20
|
||||
corner_radius_bottom_right = 20
|
||||
corner_radius_bottom_left = 20
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_8kysg"]
|
||||
bg_color = Color(0.9, 0.85, 0.75, 0.95)
|
||||
border_width_left = 8
|
||||
border_width_top = 8
|
||||
border_width_right = 8
|
||||
border_width_bottom = 8
|
||||
border_color = Color(0.5, 0.3, 0.1, 1)
|
||||
corner_radius_top_left = 25
|
||||
corner_radius_top_right = 25
|
||||
corner_radius_bottom_right = 25
|
||||
corner_radius_bottom_left = 25
|
||||
shadow_color = Color(0.3, 0.2, 0.1, 0.4)
|
||||
shadow_size = 15
|
||||
shadow_offset = Vector2(3, 3)
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_uc6q1"]
|
||||
bg_color = Color(0.95, 0.92, 0.85, 0.9)
|
||||
border_width_left = 3
|
||||
border_width_top = 3
|
||||
border_width_right = 3
|
||||
border_width_bottom = 3
|
||||
border_color = Color(0.6, 0.4, 0.2, 0.8)
|
||||
corner_radius_top_left = 15
|
||||
corner_radius_top_right = 15
|
||||
corner_radius_bottom_right = 15
|
||||
corner_radius_bottom_left = 15
|
||||
corner_detail = 20
|
||||
shadow_size = 20
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_button_hover"]
|
||||
bg_color = Color(0.85, 0.7, 0.5, 1)
|
||||
border_width_left = 2
|
||||
border_width_top = 2
|
||||
border_width_right = 2
|
||||
border_width_bottom = 2
|
||||
border_color = Color(0.5, 0.4, 0.2, 1)
|
||||
corner_radius_top_left = 12
|
||||
corner_radius_top_right = 12
|
||||
corner_radius_bottom_right = 12
|
||||
corner_radius_bottom_left = 12
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_button_pressed"]
|
||||
bg_color = Color(0.65, 0.5, 0.3, 1)
|
||||
border_width_left = 2
|
||||
border_width_top = 2
|
||||
border_width_right = 2
|
||||
border_width_bottom = 2
|
||||
border_color = Color(0.3, 0.2, 0.05, 1)
|
||||
corner_radius_top_left = 12
|
||||
corner_radius_top_right = 12
|
||||
corner_radius_bottom_right = 12
|
||||
corner_radius_bottom_left = 12
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_button"]
|
||||
bg_color = Color(0.75, 0.6, 0.4, 1)
|
||||
border_width_left = 2
|
||||
border_width_top = 2
|
||||
border_width_right = 2
|
||||
border_width_bottom = 2
|
||||
border_color = Color(0.4, 0.3, 0.1, 1)
|
||||
corner_radius_top_left = 12
|
||||
corner_radius_top_right = 12
|
||||
corner_radius_bottom_right = 12
|
||||
corner_radius_bottom_left = 12
|
||||
|
||||
[node name="PetStorePanel" type="Panel"]
|
||||
offset_left = 69.0
|
||||
offset_top = 56.0
|
||||
offset_right = 1635.0
|
||||
offset_bottom = 836.0
|
||||
offset_left = 58.0
|
||||
offset_top = 77.0
|
||||
offset_right = 1624.0
|
||||
offset_bottom = 797.0
|
||||
scale = Vector2(0.8, 0.8)
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
theme_override_styles/panel = SubResource("StyleBoxFlat_n03md")
|
||||
theme_override_styles/panel = SubResource("StyleBoxFlat_8kysg")
|
||||
script = ExtResource("1_pfdc7")
|
||||
|
||||
[node name="TMBackGround" type="ColorRect" parent="."]
|
||||
layout_mode = 0
|
||||
offset_left = -90.0
|
||||
offset_top = -71.0
|
||||
offset_right = 1672.0
|
||||
offset_bottom = 831.0
|
||||
color = Color(1, 1, 1, 0)
|
||||
offset_left = -72.0
|
||||
offset_top = -95.0
|
||||
offset_right = 1678.0
|
||||
offset_bottom = 804.0
|
||||
color = Color(0.9, 0.8, 0.6, 0.3)
|
||||
|
||||
[node name="ScrollContainer" type="ScrollContainer" parent="."]
|
||||
layout_mode = 2
|
||||
offset_left = 28.0
|
||||
offset_top = 95.0
|
||||
offset_right = 3805.0
|
||||
offset_bottom = 1723.0
|
||||
offset_left = 59.0
|
||||
offset_top = 110.0
|
||||
offset_right = 3709.0
|
||||
offset_bottom = 1511.0
|
||||
scale = Vector2(0.4, 0.4)
|
||||
size_flags_vertical = 3
|
||||
theme_override_styles/panel = SubResource("StyleBoxFlat_uc6q1")
|
||||
horizontal_scroll_mode = 0
|
||||
vertical_scroll_mode = 2
|
||||
scroll_deadzone = -10
|
||||
|
||||
[node name="Store_Grid" type="GridContainer" parent="ScrollContainer"]
|
||||
layout_mode = 2
|
||||
@@ -51,36 +106,45 @@ columns = 8
|
||||
|
||||
[node name="Title" type="Label" parent="."]
|
||||
layout_mode = 2
|
||||
offset_top = 13.0
|
||||
offset_right = 1566.0
|
||||
offset_bottom = 69.0
|
||||
offset_bottom = 98.0
|
||||
size_flags_horizontal = 3
|
||||
theme_override_colors/font_color = Color(1, 1, 0.807843, 1)
|
||||
theme_override_colors/font_shadow_color = Color(0, 0, 0, 1)
|
||||
theme_override_colors/font_outline_color = Color(0, 0, 0, 1)
|
||||
theme_override_constants/shadow_offset_x = 4
|
||||
theme_override_constants/shadow_offset_y = 4
|
||||
theme_override_constants/outline_size = 15
|
||||
theme_override_constants/shadow_outline_size = 15
|
||||
theme_override_font_sizes/font_size = 50
|
||||
text = "宠物商店"
|
||||
theme_override_colors/font_color = Color(0.4, 0.2, 0.1, 1)
|
||||
theme_override_colors/font_shadow_color = Color(1, 0.9, 0.7, 0.8)
|
||||
theme_override_colors/font_outline_color = Color(0.7, 0.5, 0.3, 1)
|
||||
theme_override_constants/shadow_offset_x = 2
|
||||
theme_override_constants/shadow_offset_y = 2
|
||||
theme_override_constants/outline_size = 3
|
||||
theme_override_constants/shadow_outline_size = 8
|
||||
theme_override_font_sizes/font_size = 45
|
||||
text = "🏪 宠物商店 🏪"
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="QuitButton" type="Button" parent="."]
|
||||
custom_minimum_size = Vector2(60, 60)
|
||||
layout_mode = 2
|
||||
offset_left = 1478.75
|
||||
offset_top = 20.0
|
||||
offset_right = 1538.75
|
||||
offset_bottom = 83.0
|
||||
theme_override_font_sizes/font_size = 40
|
||||
text = "X"
|
||||
offset_left = 1482.5
|
||||
offset_top = 27.5
|
||||
offset_right = 1542.5
|
||||
offset_bottom = 90.5
|
||||
theme_override_colors/font_color = Color(0.8, 0.2, 0.2, 1)
|
||||
theme_override_font_sizes/font_size = 35
|
||||
theme_override_styles/hover = SubResource("StyleBoxFlat_button_hover")
|
||||
theme_override_styles/pressed = SubResource("StyleBoxFlat_button_pressed")
|
||||
theme_override_styles/normal = SubResource("StyleBoxFlat_button")
|
||||
text = "❌"
|
||||
|
||||
[node name="RefreshButton" type="Button" parent="."]
|
||||
custom_minimum_size = Vector2(60, 60)
|
||||
custom_minimum_size = Vector2(88, 60)
|
||||
layout_mode = 2
|
||||
offset_left = 27.5
|
||||
offset_top = 16.25
|
||||
offset_right = 115.5
|
||||
offset_bottom = 79.25
|
||||
theme_override_font_sizes/font_size = 40
|
||||
text = "刷新"
|
||||
offset_left = 13.0
|
||||
offset_top = 13.0
|
||||
offset_right = 117.0
|
||||
offset_bottom = 76.0
|
||||
theme_override_colors/font_color = Color(0.3, 0.2, 0.1, 1)
|
||||
theme_override_font_sizes/font_size = 28
|
||||
theme_override_styles/hover = SubResource("StyleBoxFlat_button_hover")
|
||||
theme_override_styles/pressed = SubResource("StyleBoxFlat_button_pressed")
|
||||
theme_override_styles/normal = SubResource("StyleBoxFlat_button")
|
||||
text = "🔄刷新"
|
||||
|
||||
@@ -308,6 +308,11 @@ layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 30
|
||||
text = "点击游玩"
|
||||
|
||||
[node name="QuitButton" type="Button" parent="."]
|
||||
layout_mode = 0
|
||||
offset_right = 8.0
|
||||
offset_bottom = 8.0
|
||||
|
||||
[connection signal="pressed" from="ScrollContainer/Grid/2048Game/2048GameButton" to="." method="_on_game_button_pressed"]
|
||||
[connection signal="pressed" from="ScrollContainer/Grid/PushBox/PushBoxButton" to="." method="_on_push_box_button_pressed"]
|
||||
[connection signal="pressed" from="ScrollContainer/Grid/SnakeGame/SnakeGameButton" to="." method="_on_snake_game_button_pressed"]
|
||||
|
||||
@@ -1,18 +1,70 @@
|
||||
[gd_scene load_steps=3 format=3 uid="uid://bseuwniienrqy"]
|
||||
[gd_scene load_steps=7 format=3 uid="uid://bseuwniienrqy"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://cgr332wsx63a8" path="res://Script/BigPanel/PlayerBagPanel.gd" id="1_srags"]
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_n03md"]
|
||||
border_width_left = 5
|
||||
border_width_top = 5
|
||||
border_width_right = 5
|
||||
border_width_bottom = 5
|
||||
corner_radius_top_left = 20
|
||||
corner_radius_top_right = 20
|
||||
corner_radius_bottom_right = 20
|
||||
corner_radius_bottom_left = 20
|
||||
bg_color = Color(0.9, 0.85, 0.75, 0.95)
|
||||
border_width_left = 8
|
||||
border_width_top = 8
|
||||
border_width_right = 8
|
||||
border_width_bottom = 8
|
||||
border_color = Color(0.5, 0.3, 0.1, 1)
|
||||
corner_radius_top_left = 25
|
||||
corner_radius_top_right = 25
|
||||
corner_radius_bottom_right = 25
|
||||
corner_radius_bottom_left = 25
|
||||
shadow_color = Color(0.3, 0.2, 0.1, 0.4)
|
||||
shadow_size = 15
|
||||
shadow_offset = Vector2(3, 3)
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_button_hover"]
|
||||
bg_color = Color(0.85, 0.7, 0.5, 1)
|
||||
border_width_left = 2
|
||||
border_width_top = 2
|
||||
border_width_right = 2
|
||||
border_width_bottom = 2
|
||||
border_color = Color(0.5, 0.4, 0.2, 1)
|
||||
corner_radius_top_left = 12
|
||||
corner_radius_top_right = 12
|
||||
corner_radius_bottom_right = 12
|
||||
corner_radius_bottom_left = 12
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_button_pressed"]
|
||||
bg_color = Color(0.65, 0.5, 0.3, 1)
|
||||
border_width_left = 2
|
||||
border_width_top = 2
|
||||
border_width_right = 2
|
||||
border_width_bottom = 2
|
||||
border_color = Color(0.3, 0.2, 0.05, 1)
|
||||
corner_radius_top_left = 12
|
||||
corner_radius_top_right = 12
|
||||
corner_radius_bottom_right = 12
|
||||
corner_radius_bottom_left = 12
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_button"]
|
||||
bg_color = Color(0.75, 0.6, 0.4, 1)
|
||||
border_width_left = 2
|
||||
border_width_top = 2
|
||||
border_width_right = 2
|
||||
border_width_bottom = 2
|
||||
border_color = Color(0.4, 0.3, 0.1, 1)
|
||||
corner_radius_top_left = 12
|
||||
corner_radius_top_right = 12
|
||||
corner_radius_bottom_right = 12
|
||||
corner_radius_bottom_left = 12
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_srags"]
|
||||
bg_color = Color(0.95, 0.92, 0.85, 0.9)
|
||||
border_width_left = 3
|
||||
border_width_top = 3
|
||||
border_width_right = 3
|
||||
border_width_bottom = 3
|
||||
border_color = Color(0.6, 0.4, 0.2, 0.8)
|
||||
corner_radius_top_left = 15
|
||||
corner_radius_top_right = 15
|
||||
corner_radius_bottom_right = 15
|
||||
corner_radius_bottom_left = 15
|
||||
corner_detail = 20
|
||||
shadow_size = 20
|
||||
|
||||
[node name="PlayerBagPanel" type="Panel"]
|
||||
offset_left = 63.0
|
||||
@@ -31,107 +83,133 @@ offset_left = -81.0
|
||||
offset_top = -96.0
|
||||
offset_right = 1677.0
|
||||
offset_bottom = 802.0
|
||||
color = Color(1, 1, 1, 0)
|
||||
color = Color(0.901961, 0.8, 0.6, 0.262745)
|
||||
|
||||
[node name="SortContainer" type="HBoxContainer" parent="."]
|
||||
layout_mode = 0
|
||||
offset_top = 58.0
|
||||
offset_right = 1557.0
|
||||
offset_bottom = 121.0
|
||||
offset_left = 13.75
|
||||
offset_top = 83.75
|
||||
offset_right = 1570.75
|
||||
offset_bottom = 146.75
|
||||
alignment = 1
|
||||
|
||||
[node name="FilterLabel" type="Label" parent="SortContainer"]
|
||||
modulate = Color(0.439216, 0.560784, 1, 1)
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 30
|
||||
text = "排序:"
|
||||
text = "🔍 筛选:"
|
||||
|
||||
[node name="Sort_All" type="Button" parent="SortContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 30
|
||||
text = "全部"
|
||||
theme_override_colors/font_color = Color(0.2, 0.4, 0.6, 1)
|
||||
theme_override_font_sizes/font_size = 28
|
||||
theme_override_styles/hover = SubResource("StyleBoxFlat_button_hover")
|
||||
theme_override_styles/pressed = SubResource("StyleBoxFlat_button_pressed")
|
||||
theme_override_styles/normal = SubResource("StyleBoxFlat_button")
|
||||
text = "🌾全部"
|
||||
|
||||
[node name="Sort_Common" type="Button" parent="SortContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 30
|
||||
text = "普通"
|
||||
theme_override_colors/font_color = Color(1, 1, 1, 1)
|
||||
theme_override_font_sizes/font_size = 28
|
||||
theme_override_styles/hover = SubResource("StyleBoxFlat_button_hover")
|
||||
theme_override_styles/pressed = SubResource("StyleBoxFlat_button_pressed")
|
||||
theme_override_styles/normal = SubResource("StyleBoxFlat_button")
|
||||
text = "⚪普通"
|
||||
|
||||
[node name="Sort_Superior" type="Button" parent="SortContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 30
|
||||
text = "优良"
|
||||
theme_override_colors/font_color = Color(0, 0.823529, 0.415686, 1)
|
||||
theme_override_font_sizes/font_size = 28
|
||||
theme_override_styles/hover = SubResource("StyleBoxFlat_button_hover")
|
||||
theme_override_styles/pressed = SubResource("StyleBoxFlat_button_pressed")
|
||||
theme_override_styles/normal = SubResource("StyleBoxFlat_button")
|
||||
text = "🟢优良"
|
||||
|
||||
[node name="Sort_Rare" type="Button" parent="SortContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 30
|
||||
text = "稀有"
|
||||
theme_override_colors/font_color = Color(0, 0.454902, 0.729412, 1)
|
||||
theme_override_font_sizes/font_size = 28
|
||||
theme_override_styles/hover = SubResource("StyleBoxFlat_button_hover")
|
||||
theme_override_styles/pressed = SubResource("StyleBoxFlat_button_pressed")
|
||||
theme_override_styles/normal = SubResource("StyleBoxFlat_button")
|
||||
text = "🔵稀有"
|
||||
|
||||
[node name="Sort_Epic" type="Button" parent="SortContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 30
|
||||
text = "史诗"
|
||||
theme_override_colors/font_color = Color(0.552941, 0.396078, 0.772549, 1)
|
||||
theme_override_font_sizes/font_size = 28
|
||||
theme_override_styles/hover = SubResource("StyleBoxFlat_button_hover")
|
||||
theme_override_styles/pressed = SubResource("StyleBoxFlat_button_pressed")
|
||||
theme_override_styles/normal = SubResource("StyleBoxFlat_button")
|
||||
text = "🟣史诗"
|
||||
|
||||
[node name="Sort_Legendary" type="Button" parent="SortContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 30
|
||||
text = "传奇"
|
||||
theme_override_colors/font_color = Color(0.988235, 0.835294, 0.247059, 1)
|
||||
theme_override_font_sizes/font_size = 28
|
||||
theme_override_styles/hover = SubResource("StyleBoxFlat_button_hover")
|
||||
theme_override_styles/pressed = SubResource("StyleBoxFlat_button_pressed")
|
||||
theme_override_styles/normal = SubResource("StyleBoxFlat_button")
|
||||
text = "🟡传奇"
|
||||
|
||||
[node name="SortLabel" type="Label" parent="SortContainer"]
|
||||
modulate = Color(0.439216, 0.560784, 1, 1)
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 30
|
||||
text = "排序:"
|
||||
text = "📊 排序:"
|
||||
|
||||
[node name="Sort_Price" type="Button" parent="SortContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 30
|
||||
text = "按价格"
|
||||
theme_override_colors/font_color = Color(0.2, 0.4, 0.6, 1)
|
||||
theme_override_font_sizes/font_size = 28
|
||||
theme_override_styles/hover = SubResource("StyleBoxFlat_button_hover")
|
||||
theme_override_styles/pressed = SubResource("StyleBoxFlat_button_pressed")
|
||||
theme_override_styles/normal = SubResource("StyleBoxFlat_button")
|
||||
text = "💰按价格"
|
||||
|
||||
[node name="Sort_GrowTime" type="Button" parent="SortContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 30
|
||||
text = "按生长时间"
|
||||
theme_override_colors/font_color = Color(0.2, 0.4, 0.6, 1)
|
||||
theme_override_font_sizes/font_size = 28
|
||||
theme_override_styles/hover = SubResource("StyleBoxFlat_button_hover")
|
||||
theme_override_styles/pressed = SubResource("StyleBoxFlat_button_pressed")
|
||||
theme_override_styles/normal = SubResource("StyleBoxFlat_button")
|
||||
text = "⏰按生长时间"
|
||||
|
||||
[node name="Sort_Profit" type="Button" parent="SortContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 30
|
||||
text = "按收益"
|
||||
theme_override_colors/font_color = Color(0.2, 0.4, 0.6, 1)
|
||||
theme_override_font_sizes/font_size = 28
|
||||
theme_override_styles/hover = SubResource("StyleBoxFlat_button_hover")
|
||||
theme_override_styles/pressed = SubResource("StyleBoxFlat_button_pressed")
|
||||
theme_override_styles/normal = SubResource("StyleBoxFlat_button")
|
||||
text = "📈按收益"
|
||||
|
||||
[node name="Sort_Level" type="Button" parent="SortContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_font_sizes/font_size = 30
|
||||
text = "按等级"
|
||||
|
||||
[node name="ScrollContainer" type="ScrollContainer" parent="."]
|
||||
layout_mode = 2
|
||||
offset_left = 11.0
|
||||
offset_top = 121.0
|
||||
offset_right = 3877.0
|
||||
offset_bottom = 1592.0
|
||||
scale = Vector2(0.4, 0.4)
|
||||
size_flags_vertical = 3
|
||||
horizontal_scroll_mode = 0
|
||||
|
||||
[node name="Bag_Grid" type="GridContainer" parent="ScrollContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 6
|
||||
size_flags_vertical = 3
|
||||
columns = 8
|
||||
theme_override_colors/font_color = Color(0.2, 0.4, 0.6, 1)
|
||||
theme_override_font_sizes/font_size = 28
|
||||
theme_override_styles/hover = SubResource("StyleBoxFlat_button_hover")
|
||||
theme_override_styles/pressed = SubResource("StyleBoxFlat_button_pressed")
|
||||
theme_override_styles/normal = SubResource("StyleBoxFlat_button")
|
||||
text = "🏆按等级"
|
||||
|
||||
[node name="Title" type="Label" parent="."]
|
||||
layout_mode = 2
|
||||
offset_top = 14.0
|
||||
offset_right = 1557.0
|
||||
offset_bottom = 55.0
|
||||
offset_bottom = 76.0
|
||||
size_flags_horizontal = 3
|
||||
theme_override_colors/font_color = Color(1, 1, 1, 1)
|
||||
theme_override_colors/font_shadow_color = Color(0, 0, 0, 1)
|
||||
theme_override_colors/font_outline_color = Color(0, 0, 0, 1)
|
||||
theme_override_colors/font_color = Color(0.4, 0.2, 0.0980392, 1)
|
||||
theme_override_colors/font_shadow_color = Color(1, 0.901961, 0.701961, 0.8)
|
||||
theme_override_colors/font_outline_color = Color(0.701961, 0.501961, 0.301961, 1)
|
||||
theme_override_constants/shadow_offset_x = 2
|
||||
theme_override_constants/shadow_offset_y = 2
|
||||
theme_override_constants/outline_size = 10
|
||||
theme_override_constants/shadow_outline_size = 10
|
||||
theme_override_constants/outline_size = 3
|
||||
theme_override_constants/shadow_outline_size = 8
|
||||
theme_override_font_sizes/font_size = 40
|
||||
text = "种子仓库"
|
||||
text = "🌱 种子仓库 🌱"
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="QuitButton" type="Button" parent="."]
|
||||
@@ -141,8 +219,12 @@ offset_left = 1478.75
|
||||
offset_top = 13.75
|
||||
offset_right = 1538.75
|
||||
offset_bottom = 76.75
|
||||
theme_override_colors/font_color = Color(0.2, 0.4, 0.6, 1)
|
||||
theme_override_font_sizes/font_size = 40
|
||||
text = "X"
|
||||
theme_override_styles/hover = SubResource("StyleBoxFlat_button_hover")
|
||||
theme_override_styles/pressed = SubResource("StyleBoxFlat_button_pressed")
|
||||
theme_override_styles/normal = SubResource("StyleBoxFlat_button")
|
||||
text = "❌"
|
||||
|
||||
[node name="RefreshButton" type="Button" parent="."]
|
||||
custom_minimum_size = Vector2(60, 60)
|
||||
@@ -151,7 +233,29 @@ offset_left = 15.0001
|
||||
offset_top = 13.75
|
||||
offset_right = 75.0001
|
||||
offset_bottom = 76.75
|
||||
theme_override_colors/font_color = Color(0.2, 0.4, 0.6, 1)
|
||||
theme_override_font_sizes/font_size = 40
|
||||
text = "刷新"
|
||||
theme_override_styles/hover = SubResource("StyleBoxFlat_button_hover")
|
||||
theme_override_styles/pressed = SubResource("StyleBoxFlat_button_pressed")
|
||||
theme_override_styles/normal = SubResource("StyleBoxFlat_button")
|
||||
text = "🔄刷新"
|
||||
|
||||
[node name="ScrollContainer" type="ScrollContainer" parent="."]
|
||||
offset_left = 19.0
|
||||
offset_top = 151.0
|
||||
offset_right = 3810.0
|
||||
offset_bottom = 1540.0
|
||||
scale = Vector2(0.4, 0.4)
|
||||
size_flags_vertical = 3
|
||||
theme_override_styles/panel = SubResource("StyleBoxFlat_srags")
|
||||
horizontal_scroll_mode = 0
|
||||
vertical_scroll_mode = 2
|
||||
scroll_deadzone = -10
|
||||
|
||||
[node name="Bag_Grid" type="GridContainer" parent="ScrollContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 6
|
||||
size_flags_vertical = 3
|
||||
columns = 8
|
||||
|
||||
[connection signal="pressed" from="RefreshButton" to="." method="_on_refresh_button_pressed"]
|
||||
|
||||
Reference in New Issue
Block a user