2025-12-07 17:04:47 +08:00
|
|
|
[gd_scene load_steps=7 format=3 uid="uid://b5ysxff1ujv4l"]
|
2025-12-07 16:39:43 +08:00
|
|
|
|
|
|
|
|
[ext_resource type="PackedScene" uid="uid://cvogxi7mktumf" path="res://components/Abstracts/EntityBase.tscn" id="1_8og84"]
|
2025-12-07 17:04:47 +08:00
|
|
|
[ext_resource type="Script" uid="uid://b80jr04qpitly" path="res://scripts/Contents/Characters/MTY.gd" id="2_hjlm2"]
|
2025-12-07 16:39:43 +08:00
|
|
|
[ext_resource type="Texture2D" uid="uid://cpaafqx7vf443" path="res://resources/characters/bird/mty.png" id="2_i2hh0"]
|
|
|
|
|
|
|
|
|
|
[sub_resource type="SpriteFrames" id="SpriteFrames_hjlm2"]
|
|
|
|
|
animations = [{
|
|
|
|
|
"frames": [],
|
|
|
|
|
"loop": true,
|
|
|
|
|
"name": &"idle",
|
|
|
|
|
"speed": 5.0
|
|
|
|
|
}, {
|
|
|
|
|
"frames": [],
|
|
|
|
|
"loop": true,
|
|
|
|
|
"name": &"walk",
|
|
|
|
|
"speed": 5.0
|
|
|
|
|
}]
|
|
|
|
|
|
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_i2hh0"]
|
|
|
|
|
size = Vector2(471, 57)
|
|
|
|
|
|
|
|
|
|
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_hjlm2"]
|
|
|
|
|
radius = 37.0
|
|
|
|
|
height = 126.0
|
|
|
|
|
|
|
|
|
|
[node name="MTY" instance=ExtResource("1_8og84")]
|
2025-12-07 17:04:47 +08:00
|
|
|
script = ExtResource("2_hjlm2")
|
2025-12-07 16:39:43 +08:00
|
|
|
displayName = "猫头鹰"
|
|
|
|
|
drops = Array[int]([0, 1, 3])
|
|
|
|
|
dropCounts = Array[Vector2]([Vector2(2, 4), Vector2(2, 4), Vector2(1, 3)])
|
|
|
|
|
hurtAudioRate = 0.05
|
|
|
|
|
|
|
|
|
|
[node name="texture" parent="." index="3"]
|
|
|
|
|
sprite_frames = SubResource("SpriteFrames_hjlm2")
|
|
|
|
|
|
|
|
|
|
[node name="staticBackground" parent="texture" index="0"]
|
|
|
|
|
scale = Vector2(0.23718655, 0.23718655)
|
|
|
|
|
texture = ExtResource("2_i2hh0")
|
|
|
|
|
|
|
|
|
|
[node name="hitbox" parent="texture/hurtbox" index="0"]
|
|
|
|
|
position = Vector2(-3.5, -13.5)
|
|
|
|
|
shape = SubResource("RectangleShape2D_i2hh0")
|
|
|
|
|
|
|
|
|
|
[node name="hitbox2" type="CollisionShape2D" parent="texture/hurtbox" index="1"]
|
|
|
|
|
position = Vector2(0, -3)
|
|
|
|
|
shape = SubResource("CapsuleShape2D_hjlm2")
|
|
|
|
|
|
|
|
|
|
[node name="statebar" parent="." index="4"]
|
|
|
|
|
position = Vector2(0, -130)
|