1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-07-09 03:22:53 +08:00

Refactor feed components and UI interactions

- Updated various feed components (Cake, Cupcake, Dango, Donut, FruitPlatter, FruitSalad, Milk, Orange, RedJam, Strawberry, Taco, WaterBottle, Xigua-Full, Xigua-Half, YellowJam) to correct names, textures, and display names.
- Modified MakeFeed scene to improve feed selection and display logic, including the addition of skip functionality.
- Enhanced UIState and EntityBase scripts to manage feed counts and selections more effectively.
- Introduced DirTool for directory operations and improved file loading mechanisms.
- Adjusted TickTool for frame-based operations.
This commit is contained in:
2025-08-27 16:33:21 +08:00
parent a3ae7ae887
commit 9e396eef3d
24 changed files with 164 additions and 162 deletions
+2 -6
View File
@@ -1,8 +1,7 @@
[gd_scene load_steps=4 format=3 uid="uid://bbmjur6cjmffo"]
[gd_scene load_steps=3 format=3 uid="uid://bbmjur6cjmffo"]
[ext_resource type="PackedScene" uid="uid://bykwevnv7keeh" path="res://components/Abstracts/FeedCardBase.tscn" id="1_7gqm6"]
[ext_resource type="Texture2D" uid="uid://bxqax0anr5a45" path="res://resources/feeds/donut.svg" id="2_bv6j5"]
[ext_resource type="Texture2D" uid="uid://d3op67s1hysla" path="res://resources/feeds/cheesy puffs.png" id="2_q5fyh"]
[node name="Donut" instance=ExtResource("1_7gqm6")]
avatarTexture = ExtResource("2_bv6j5")
@@ -12,8 +11,5 @@ fieldValues = Array[float]([1.0, -3.0])
costs = Array[int]([0])
costCounts = Array[int]([100])
[node name="avatar" parent="container/info" index="0"]
texture = ExtResource("2_q5fyh")
[node name="name" parent="container/info" index="1"]
text = "[b]奶酪泡芙[/b]"
text = "[b]甜甜圈[/b]"