77 lines
2.1 KiB
Plaintext
77 lines
2.1 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"]
|
|
y_sort_enabled = true
|
|
script = ExtResource("1_lesfu")
|
|
action_area = Vector2(700, 40)
|
|
|
|
[node name="mouse1" type="AnimatedSprite2D" parent="."]
|
|
z_index = 1
|
|
y_sort_enabled = true
|
|
position = Vector2(341.946, 19.4184)
|
|
sprite_frames = SubResource("SpriteFrames_bqotn")
|
|
animation = &"mouse1"
|
|
offset = Vector2(0, -3)
|
|
|
|
[node name="mouse2" type="AnimatedSprite2D" parent="."]
|
|
z_index = 1
|
|
y_sort_enabled = true
|
|
position = Vector2(441.315, 7.66069)
|
|
sprite_frames = SubResource("SpriteFrames_bqotn")
|
|
animation = &"mouse2"
|
|
offset = Vector2(0, -3)
|
|
|
|
[node name="mouse3" type="AnimatedSprite2D" parent="."]
|
|
z_index = 1
|
|
y_sort_enabled = true
|
|
position = Vector2(602.687, 37.4692)
|
|
sprite_frames = SubResource("SpriteFrames_bqotn")
|
|
animation = &"mouse2"
|
|
offset = Vector2(0, -3)
|
|
|
|
[node name="mouse4" type="AnimatedSprite2D" parent="."]
|
|
z_index = 1
|
|
y_sort_enabled = true
|
|
position = Vector2(59.7088, 20.6539)
|
|
sprite_frames = SubResource("SpriteFrames_bqotn")
|
|
animation = &"mouse1"
|
|
offset = Vector2(0, -3)
|
|
|
|
[node name="mouse5" type="AnimatedSprite2D" parent="."]
|
|
z_index = 1
|
|
y_sort_enabled = true
|
|
position = Vector2(198.783, 2.87105)
|
|
sprite_frames = SubResource("SpriteFrames_bqotn")
|
|
animation = &"mouse2"
|
|
offset = Vector2(0, -3)
|