xiandie/scene/ground/script/c01/s00_自动跟随的老鼠.tscn

66 lines
1.9 KiB
Plaintext

[gd_scene load_steps=6 format=3 uid="uid://nwpbl5yuh280"]
[ext_resource type="Script" path="res://scene/ground/script/c01/s00_自动跟随的老鼠.gd" id="1_lesfu"]
[ext_resource type="Texture2D" uid="uid://bebirk1fwldg2" path="res://asset/art/临时草稿/老鼠/老鼠.png" id="2_6u35i"]
[sub_resource type="AtlasTexture" id="AtlasTexture_6ljga"]
atlas = ExtResource("2_6u35i")
region = Rect2(0, 0, 16, 10)
[sub_resource type="AtlasTexture" id="AtlasTexture_p46st"]
atlas = ExtResource("2_6u35i")
region = Rect2(32, 0, 16, 10)
[sub_resource type="SpriteFrames" id="SpriteFrames_bqotn"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_6ljga")
}],
"loop": true,
"name": &"mouse1",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_p46st")
}],
"loop": true,
"name": &"mouse2",
"speed": 5.0
}]
[node name="自动跟随的老鼠" type="Node2D"]
script = ExtResource("1_lesfu")
action_area = Vector2(700, 40)
[node name="mouse1" type="AnimatedSprite2D" parent="."]
y_sort_enabled = true
position = Vector2(341.946, 19.4184)
sprite_frames = SubResource("SpriteFrames_bqotn")
animation = &"mouse1"
[node name="mouse2" type="AnimatedSprite2D" parent="."]
y_sort_enabled = true
position = Vector2(441.315, 7.66069)
sprite_frames = SubResource("SpriteFrames_bqotn")
animation = &"mouse2"
[node name="mouse3" type="AnimatedSprite2D" parent="."]
y_sort_enabled = true
position = Vector2(602.687, 37.4692)
sprite_frames = SubResource("SpriteFrames_bqotn")
animation = &"mouse2"
[node name="mouse4" type="AnimatedSprite2D" parent="."]
y_sort_enabled = true
position = Vector2(59.7088, 20.6539)
sprite_frames = SubResource("SpriteFrames_bqotn")
animation = &"mouse1"
[node name="mouse5" type="AnimatedSprite2D" parent="."]
y_sort_enabled = true
position = Vector2(198.783, 2.87105)
sprite_frames = SubResource("SpriteFrames_bqotn")
animation = &"mouse2"