mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-05-28 06:51:54 +08:00
4a66374e24
- 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.
23 lines
698 B
Plaintext
23 lines
698 B
Plaintext
[gd_scene load_steps=3 format=3 uid="uid://bbm8l3hr4ihar"]
|
|
|
|
[ext_resource type="Script" path="res://scripts/Statemachine/ItemShow.gd" id="1_2dhsb"]
|
|
[ext_resource type="Texture2D" uid="uid://bks8jmctleina" path="res://resources/items/baseball.svg" id="1_hyowb"]
|
|
|
|
[node name="ItemShow" type="HBoxContainer"]
|
|
script = ExtResource("1_2dhsb")
|
|
|
|
[node name="avatar" type="TextureRect" parent="."]
|
|
unique_name_in_owner = true
|
|
custom_minimum_size = Vector2(20, 20)
|
|
layout_mode = 2
|
|
size_flags_horizontal = 0
|
|
size_flags_vertical = 4
|
|
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
|
|
text = "0"
|