前几天忘了上传了上传一下
This commit is contained in:
42
Scene/Pet/SmallYellow.tscn
Normal file
42
Scene/Pet/SmallYellow.tscn
Normal file
@@ -0,0 +1,42 @@
|
||||
[gd_scene load_steps=6 format=3 uid="uid://i7pgirkgv1u1"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://h66an0p6pl53" path="res://Scene/Pet/PetBase.tscn" id="1_trhvc"]
|
||||
[ext_resource type="Texture2D" uid="uid://lx0l12qrituk" path="res://assets/宠物图片/一堆小怪.png" id="2_k5jn7"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_trhvc"]
|
||||
atlas = ExtResource("2_k5jn7")
|
||||
region = Rect2(144, 0, 24, 24)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_k5jn7"]
|
||||
atlas = ExtResource("2_k5jn7")
|
||||
region = Rect2(168, 0, 24, 24)
|
||||
|
||||
[sub_resource type="SpriteFrames" id="SpriteFrames_yhcbw"]
|
||||
animations = [{
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_trhvc")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"idle",
|
||||
"speed": 5.0
|
||||
}, {
|
||||
"frames": [{
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_trhvc")
|
||||
}, {
|
||||
"duration": 1.0,
|
||||
"texture": SubResource("AtlasTexture_k5jn7")
|
||||
}],
|
||||
"loop": true,
|
||||
"name": &"walk",
|
||||
"speed": 8.0
|
||||
}]
|
||||
|
||||
[node name="SmallYellow" instance=ExtResource("1_trhvc")]
|
||||
|
||||
[node name="PetImage" parent="." index="0"]
|
||||
sprite_frames = SubResource("SpriteFrames_yhcbw")
|
||||
|
||||
[node name="PetToolImage" parent="PetImage" index="0"]
|
||||
visible = false
|
||||
Reference in New Issue
Block a user