mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-05-28 06:51:54 +08:00
2ff8d0d388
- 统一多个场景的容器对齐方式 - 修改MakeFeed面板的文本描述和按钮布局 - 优化ItemShow组件的属性和动画资源引用
120 lines
3.5 KiB
Plaintext
120 lines
3.5 KiB
Plaintext
[gd_scene format=3 uid="uid://bbm8l3hr4ihar"]
|
|
|
|
[ext_resource type="Script" uid="uid://cl2orf01mb827" 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"]
|
|
|
|
[sub_resource type="LabelSettings" id="LabelSettings_bcjvg"]
|
|
|
|
[sub_resource type="Animation" id="Animation_6sxrr"]
|
|
length = 0.001
|
|
tracks/0/type = "bezier"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath(".:scale:x")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"handle_modes": PackedInt32Array(0),
|
|
"points": PackedFloat32Array(1, -0.25, 0, 0.25, 0),
|
|
"times": PackedFloat32Array(0)
|
|
}
|
|
tracks/1/type = "bezier"
|
|
tracks/1/imported = false
|
|
tracks/1/enabled = true
|
|
tracks/1/path = NodePath(".:modulate:a")
|
|
tracks/1/interp = 1
|
|
tracks/1/loop_wrap = true
|
|
tracks/1/keys = {
|
|
"handle_modes": PackedInt32Array(0),
|
|
"points": PackedFloat32Array(1, -0.25, 0, 0.25, 0),
|
|
"times": PackedFloat32Array(0)
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_ltvf2"]
|
|
resource_name = "hide"
|
|
length = 0.5
|
|
tracks/0/type = "bezier"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath(".:scale:x")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"handle_modes": PackedInt32Array(0, 0),
|
|
"points": PackedFloat32Array(1, -0.25, 0, 0.25, 0, 1e-05, -0.25, 0, 0.25, 0),
|
|
"times": PackedFloat32Array(0, 0.5)
|
|
}
|
|
tracks/1/type = "bezier"
|
|
tracks/1/imported = false
|
|
tracks/1/enabled = true
|
|
tracks/1/path = NodePath(".:modulate:a")
|
|
tracks/1/interp = 1
|
|
tracks/1/loop_wrap = true
|
|
tracks/1/keys = {
|
|
"handle_modes": PackedInt32Array(0, 0),
|
|
"points": PackedFloat32Array(1, -0.25, 0, 0.25, 0, 0, -0.25, 0, 0.25, 0),
|
|
"times": PackedFloat32Array(0, 0.5)
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_pv00d"]
|
|
resource_name = "hide"
|
|
length = 0.5
|
|
step = 0.1
|
|
tracks/0/type = "bezier"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath(".:scale:x")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"handle_modes": PackedInt32Array(0, 0),
|
|
"points": PackedFloat32Array(1e-05, -0.25, 0, 0.25, 0, 1, -0.25, 0, 0.25, 0),
|
|
"times": PackedFloat32Array(0, 0.5)
|
|
}
|
|
tracks/1/type = "bezier"
|
|
tracks/1/imported = false
|
|
tracks/1/enabled = true
|
|
tracks/1/path = NodePath(".:modulate:a")
|
|
tracks/1/interp = 1
|
|
tracks/1/loop_wrap = true
|
|
tracks/1/keys = {
|
|
"handle_modes": PackedInt32Array(0, 0),
|
|
"points": PackedFloat32Array(0, -0.25, 0, 0.25, 0, 1, -0.25, 0, 0.25, 0),
|
|
"times": PackedFloat32Array(0, 0.5)
|
|
}
|
|
|
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_xbbtb"]
|
|
_data = {
|
|
&"RESET": SubResource("Animation_6sxrr"),
|
|
&"hide": SubResource("Animation_ltvf2"),
|
|
&"show": SubResource("Animation_pv00d")
|
|
}
|
|
|
|
[node name="ItemShow" type="HBoxContainer" unique_id=583849471]
|
|
offset_right = 34.0
|
|
offset_bottom = 20.0
|
|
size_flags_horizontal = 6
|
|
size_flags_vertical = 6
|
|
alignment = 1
|
|
script = ExtResource("1_2dhsb")
|
|
|
|
[node name="avatar" type="TextureRect" parent="." unique_id=772951764]
|
|
unique_name_in_owner = true
|
|
custom_minimum_size = Vector2(20, 20)
|
|
layout_mode = 2
|
|
size_flags_horizontal = 2
|
|
size_flags_vertical = 4
|
|
texture = ExtResource("1_hyowb")
|
|
expand_mode = 1
|
|
|
|
[node name="count" type="Label" parent="." unique_id=626046085]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_horizontal = 0
|
|
text = "0"
|
|
label_settings = SubResource("LabelSettings_bcjvg")
|
|
|
|
[node name="animator" type="AnimationPlayer" parent="." unique_id=355450861]
|
|
unique_name_in_owner = true
|
|
libraries/ = SubResource("AnimationLibrary_xbbtb")
|