mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-06-22 03:22:30 +08:00
feat: 添加局外养成系统和游戏结束面板改进
添加新的物品类型紫水晶和钻石 实现局外属性升级系统 改进游戏结束面板的返回和退出功能 添加新的UI组件用于显示属性和物品 更新游戏规则和存储系统以支持局外养成
This commit is contained in:
@@ -1,29 +1,31 @@
|
||||
[gd_scene load_steps=5 format=3 uid="uid://cw5ip3rw4r3pp"]
|
||||
[gd_scene format=3 uid="uid://cw5ip3rw4r3pp"]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/Statemachine/FieldShow.gd" id="1_gwocj"]
|
||||
[ext_resource type="Texture2D" uid="uid://iu5i8ullbhf6" path="res://resources/items/apple.svg" id="2_q02yi"]
|
||||
[ext_resource type="Script" uid="uid://cosrwhfwqba7c" path="res://scripts/Statemachine/FieldShow.gd" id="1_gwocj"]
|
||||
[ext_resource type="Texture2D" uid="uid://indwfnk25l74" path="res://resources/fieldIcons/生命上限.svg" id="2_ueodc"]
|
||||
[ext_resource type="Theme" uid="uid://b6nox1qqh50ub" path="res://themes/smallText.tres" id="2_x62bb"]
|
||||
[ext_resource type="Texture2D" uid="uid://bq8wf01j5ulwe" path="res://resources/ui/update-level.svg" id="4_imrgm"]
|
||||
|
||||
[sub_resource type="LabelSettings" id="LabelSettings_ysv18"]
|
||||
[sub_resource type="LabelSettings" id="LabelSettings_imrgm"]
|
||||
font_size = 13
|
||||
|
||||
[node name="FieldShow" type="HBoxContainer"]
|
||||
[node name="FieldShow" type="HBoxContainer" unique_id=1958616813]
|
||||
offset_right = 144.0
|
||||
offset_bottom = 18.0
|
||||
alignment = 1
|
||||
script = ExtResource("1_gwocj")
|
||||
metadata/_edit_horizontal_guides_ = [20.0]
|
||||
|
||||
[node name="icon" type="TextureRect" parent="."]
|
||||
[node name="icon" type="TextureRect" parent="." unique_id=1570201622]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(20, 20)
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 4
|
||||
size_flags_vertical = 4
|
||||
texture = ExtResource("2_q02yi")
|
||||
texture = ExtResource("2_ueodc")
|
||||
expand_mode = 1
|
||||
stretch_mode = 5
|
||||
|
||||
[node name="name" type="Label" parent="."]
|
||||
[node name="name" type="Label" parent="." unique_id=452024197]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 11
|
||||
@@ -31,18 +33,31 @@ theme = ExtResource("2_x62bb")
|
||||
text = "生命上限"
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="sep" type="ColorRect" parent="."]
|
||||
[node name="sep" type="ColorRect" parent="." unique_id=947351883]
|
||||
custom_minimum_size = Vector2(20, 1)
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 4
|
||||
size_flags_stretch_ratio = 16.0
|
||||
|
||||
[node name="value" type="Label" parent="."]
|
||||
[node name="value" type="Label" parent="." unique_id=1521326049]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 10
|
||||
size_flags_vertical = 8
|
||||
text = "0"
|
||||
label_settings = SubResource("LabelSettings_ysv18")
|
||||
text = "+10.0"
|
||||
label_settings = SubResource("LabelSettings_imrgm")
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="upgrades" type="HBoxContainer" parent="." unique_id=1359455298]
|
||||
unique_name_in_owner = true
|
||||
visible = false
|
||||
layout_mode = 2
|
||||
|
||||
[node name="upgradeBtn" type="Button" parent="upgrades" unique_id=1348396281]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
icon = ExtResource("4_imrgm")
|
||||
|
||||
[node name="cost" type="HBoxContainer" parent="upgrades" unique_id=1708563406]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
|
||||
Reference in New Issue
Block a user