1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-05-27 22:41:56 +08:00

Add UI components for Feed and Item displays, including SVG resources

- Introduced FeedCard and FieldShow scenes with corresponding GDScript files for managing feed and item display.
- Added SVG resources for banana and baseball items.
- Updated ItemStore to include mappings for item types and names in Chinese.
- Enhanced FieldShow and ItemShow scripts to dynamically update UI elements based on exported properties.
- Implemented a new Feed class for structured feed data handling.
This commit is contained in:
2025-08-26 18:09:04 +08:00
parent 96b26f01be
commit 4a66374e24
14 changed files with 325 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
[gd_scene load_steps=2 format=3 uid="uid://cw5ip3rw4r3pp"]
[ext_resource type="Script" path="res://scripts/Statemachine/FieldShow.gd" id="1_gwocj"]
[node name="FieldShow" type="HBoxContainer"]
script = ExtResource("1_gwocj")
value = "0"
[node name="name" type="Label" parent="."]
unique_name_in_owner = true
layout_mode = 2
text = "最大生命值"
[node name="value" type="Label" parent="."]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 10
text = "0"