1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-06-10 21:57:12 +08:00

feat: 更新多个组件,调整动画、显示名称和参数,优化游戏体验

This commit is contained in:
2025-08-27 18:56:55 +08:00
parent 266947df0d
commit 561e12398a
11 changed files with 60 additions and 25 deletions
+3 -3
View File
@@ -4,9 +4,6 @@
[sub_resource type="SpriteFrames" id="SpriteFrames_vypy3"]
[sub_resource type="Animation" id="Animation_kmogx"]
resource_name = "spawn"
[sub_resource type="Animation" id="Animation_ynxlt"]
resource_name = "loop"
loop_mode = 1
@@ -24,6 +21,9 @@ tracks/0/keys = {
"values": [0.0, 6.28319]
}
[sub_resource type="Animation" id="Animation_kmogx"]
resource_name = "spawn"
[sub_resource type="AnimationLibrary" id="AnimationLibrary_dxweq"]
_data = {
"loop": SubResource("Animation_ynxlt"),
+5
View File
@@ -0,0 +1,5 @@
[gd_scene load_steps=2 format=3 uid="uid://c8odsyb7xsu3i"]
[ext_resource type="PackedScene" uid="uid://crtdkysmnkith" path="res://components/Abstracts/BulletBase.tscn" id="1_cqnkd"]
[node name="BulletBase" instance=ExtResource("1_cqnkd")]
+1 -1
View File
@@ -35,7 +35,7 @@ radius = 40.0
script = ExtResource("2_8u5a0")
cooldownUnit = 1000.0
drops = Array[int]([0, 1])
dropCounts = Array[Vector2]([Vector2(4, 8), Vector2(2, 6)])
dropCounts = Array[Vector2]([Vector2(6, 12), Vector2(3, 8)])
energy = 1000.0
[node name="hurt" parent="sounds" index="3"]
+2 -2
View File
@@ -5,11 +5,11 @@
[node name="WaterBottle" instance=ExtResource("1_vfxjq")]
avatarTexture = ExtResource("2_gsfud")
displayName = "一杯水"
displayName = "水"
fields = Array[int]([3])
fieldValues = Array[float]([0.25])
costs = Array[int]([1])
costCounts = Array[int]([500])
costCounts = Array[int]([300])
[node name="avatar" parent="container/info" index="0"]
texture = ExtResource("2_gsfud")
@@ -1,8 +1,9 @@
[gd_scene load_steps=4 format=3 uid="uid://1n28ji5sl6bx"]
[gd_scene load_steps=5 format=3 uid="uid://1n28ji5sl6bx"]
[ext_resource type="PackedScene" uid="uid://d3qojeqa3difn" path="res://components/Abstracts/FullscreenPanelBase.tscn" id="1_1wmro"]
[ext_resource type="Script" path="res://scripts/Contents/Panels/MakeFeed.gd" id="2_pr610"]
[ext_resource type="Theme" uid="uid://dhvs6urgf6jr5" path="res://themes/main.tres" id="3_q1rym"]
[ext_resource type="PackedScene" uid="uid://bbm8l3hr4ihar" path="res://components/UI/ItemShow.tscn" id="4_kei5t"]
[node name="MakeFeed" instance=ExtResource("1_1wmro")]
script = ExtResource("2_pr610")
@@ -82,6 +83,19 @@ size_flags_vertical = 4
theme = ExtResource("3_q1rym")
text = "跳过"
[node name="refreshBtn" type="Button" parent="content/wrapper/tips/tip" index="6"]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 4
theme = ExtResource("3_q1rym")
text = "刷新"
[node name="needBB" parent="content/wrapper/tips/tip" index="7" instance=ExtResource("4_kei5t")]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 4
[node name="feedcards" type="HBoxContainer" parent="content/wrapper" index="1"]
unique_name_in_owner = true
layout_mode = 2
+1
View File
@@ -20,6 +20,7 @@ texture = ExtResource("6_p0nkj")
position = Vector2(394, 274)
[node name="camera" type="Camera2D" parent="rooster"]
process_mode = 3
position = Vector2(0, -100)
process_callback = 0
position_smoothing_enabled = true
+3 -2
View File
@@ -13,12 +13,13 @@ unique_name_in_owner = true
custom_minimum_size = Vector2(20, 20)
layout_mode = 2
size_flags_horizontal = 0
size_flags_vertical = 4
size_flags_vertical = 8
texture = ExtResource("1_hyowb")
expand_mode = 1
[node name="count" type="Label" parent="."]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 10
size_flags_horizontal = 0
size_flags_vertical = 8
text = "0"