166 lines
5.0 KiB
Plaintext
166 lines
5.0 KiB
Plaintext
[gd_scene load_steps=5 format=3 uid="uid://d3i0l6ysrde6o"]
|
|
|
|
[ext_resource type="Script" uid="uid://dinrduqwsf5k5" path="res://Script/SmallPanel/AccountSettingPanel.gd" id="1_xfiot"]
|
|
[ext_resource type="Texture2D" uid="uid://dsln1w1aqgf1k" path="res://assets/游戏UI/玩家默认头像.webp" id="2_a2cah"]
|
|
[ext_resource type="Script" uid="uid://0d2j5m6j2ema" path="res://Components/HTTPTextureRect.gd" id="3_wibl7"]
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_y1hsh"]
|
|
bg_color = Color(0.9, 0.85, 0.7, 0.95)
|
|
border_width_left = 5
|
|
border_width_top = 5
|
|
border_width_right = 5
|
|
border_width_bottom = 5
|
|
border_color = Color(0.6, 0.4, 0.2, 1)
|
|
border_blend = true
|
|
corner_radius_top_left = 10
|
|
corner_radius_top_right = 10
|
|
corner_radius_bottom_right = 10
|
|
corner_radius_bottom_left = 10
|
|
corner_detail = 20
|
|
shadow_color = Color(0.3, 0.2, 0.1, 0.5)
|
|
shadow_size = 20
|
|
shadow_offset = Vector2(10, 10)
|
|
anti_aliasing_size = 5.0
|
|
|
|
[node name="AccountSettingPanel" type="Panel"]
|
|
offset_left = 243.0
|
|
offset_top = 42.0
|
|
offset_right = 1154.0
|
|
offset_bottom = 689.0
|
|
theme_override_styles/panel = SubResource("StyleBoxFlat_y1hsh")
|
|
script = ExtResource("1_xfiot")
|
|
|
|
[node name="Title" type="RichTextLabel" parent="."]
|
|
modulate = Color(0.2, 0.6, 0.2, 1)
|
|
layout_mode = 0
|
|
offset_left = 2.0
|
|
offset_right = 911.0
|
|
offset_bottom = 56.0
|
|
size_flags_vertical = 3
|
|
theme_override_colors/font_outline_color = Color(0, 0, 0, 1)
|
|
theme_override_colors/font_shadow_color = Color(0, 0, 0, 1)
|
|
theme_override_constants/outline_size = 10
|
|
theme_override_constants/shadow_offset_y = 3
|
|
theme_override_constants/shadow_offset_x = 3
|
|
theme_override_constants/shadow_outline_size = 10
|
|
theme_override_font_sizes/normal_font_size = 40
|
|
bbcode_enabled = true
|
|
text = "🌾 萌芽农场 - 农场主信息 🚜"
|
|
horizontal_alignment = 1
|
|
threaded = true
|
|
|
|
[node name="QuitButton" type="Button" parent="."]
|
|
modulate = Color(0.984314, 0, 0, 1)
|
|
custom_minimum_size = Vector2(55, 55)
|
|
layout_mode = 0
|
|
offset_left = 833.0
|
|
offset_top = 19.0
|
|
offset_right = 890.0
|
|
offset_bottom = 76.0
|
|
theme_override_colors/font_disabled_color = Color(0, 0, 0, 1)
|
|
theme_override_font_sizes/font_size = 35
|
|
text = "X"
|
|
|
|
[node name="RefreshButton" type="Button" parent="."]
|
|
custom_minimum_size = Vector2(55, 55)
|
|
layout_mode = 0
|
|
offset_left = 25.0
|
|
offset_top = 19.0
|
|
offset_right = 160.0
|
|
offset_bottom = 76.0
|
|
theme_override_font_sizes/font_size = 35
|
|
text = "🔄 刷新"
|
|
|
|
[node name="VBox1" type="VBoxContainer" parent="."]
|
|
layout_mode = 0
|
|
offset_top = 58.0
|
|
offset_right = 911.0
|
|
offset_bottom = 647.0
|
|
|
|
[node name="HBox1" type="HBoxContainer" parent="VBox1"]
|
|
layout_mode = 2
|
|
alignment = 1
|
|
|
|
[node name="HTTPTextureRect" type="TextureRect" parent="VBox1/HBox1"]
|
|
layout_mode = 2
|
|
texture = ExtResource("2_a2cah")
|
|
script = ExtResource("3_wibl7")
|
|
metadata/_custom_type_script = "uid://0d2j5m6j2ema"
|
|
|
|
[node name="Grid" type="GridContainer" parent="VBox1"]
|
|
layout_mode = 2
|
|
columns = 2
|
|
|
|
[node name="User_Name" type="Label" parent="VBox1/Grid"]
|
|
layout_mode = 2
|
|
theme_override_font_sizes/font_size = 30
|
|
text = "🔑 农场账户:"
|
|
horizontal_alignment = 1
|
|
vertical_alignment = 1
|
|
|
|
[node name="User_Name_Input" type="Label" parent="VBox1/Grid"]
|
|
layout_mode = 2
|
|
theme_override_font_sizes/font_size = 30
|
|
text = "74074091740"
|
|
vertical_alignment = 1
|
|
|
|
[node name="User_Password" type="Label" parent="VBox1/Grid"]
|
|
layout_mode = 2
|
|
theme_override_font_sizes/font_size = 30
|
|
text = "🔒 农场密钥:"
|
|
horizontal_alignment = 1
|
|
vertical_alignment = 1
|
|
|
|
[node name="User_Password_Input" type="LineEdit" parent="VBox1/Grid"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
theme_override_font_sizes/font_size = 30
|
|
placeholder_text = "请输入您的农场密钥"
|
|
|
|
[node name="Player_Name" type="Label" parent="VBox1/Grid"]
|
|
layout_mode = 2
|
|
theme_override_font_sizes/font_size = 30
|
|
text = "👨🌾 农场主昵称:"
|
|
|
|
[node name="Player_Name_Input" type="LineEdit" parent="VBox1/Grid"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
theme_override_font_sizes/font_size = 30
|
|
placeholder_text = "请输入您的农场主昵称"
|
|
|
|
[node name="Farm_Name" type="Label" parent="VBox1/Grid"]
|
|
layout_mode = 2
|
|
theme_override_font_sizes/font_size = 30
|
|
text = "🏡 我的农场名:"
|
|
|
|
[node name="Farm_Name_Input" type="LineEdit" parent="VBox1/Grid"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
theme_override_font_sizes/font_size = 30
|
|
placeholder_text = "为您的萌芽农场起个好听的名字"
|
|
|
|
[node name="Personal_Profile" type="Label" parent="VBox1/Grid"]
|
|
layout_mode = 2
|
|
theme_override_font_sizes/font_size = 30
|
|
text = "📝 农场故事:"
|
|
|
|
[node name="Personal_Profile_Input" type="LineEdit" parent="VBox1/Grid"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
theme_override_font_sizes/font_size = 30
|
|
placeholder_text = "讲述您的农场故事和种植计划"
|
|
|
|
[node name="HBox2" type="HBoxContainer" parent="VBox1"]
|
|
layout_mode = 2
|
|
alignment = 1
|
|
|
|
[node name="Remove_Account_Btn" type="Button" parent="VBox1/HBox2"]
|
|
layout_mode = 2
|
|
theme_override_font_sizes/font_size = 30
|
|
text = "❌ 注销农场"
|
|
|
|
[node name="Confirm_Btn" type="Button" parent="VBox1/HBox2"]
|
|
layout_mode = 2
|
|
theme_override_font_sizes/font_size = 30
|
|
text = "✅ 保存信息"
|