mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-05-27 22:41:56 +08:00
c80d3af6f9
新增狗、猫、鸡、MTY等角色的图片和动画资源,并调整部分角色的属性和动画逻辑。包括: - 添加狗角色的行走动画和图片资源 - 更新猫角色的行走动画和碰撞体 - 调整鸡角色的属性和动画帧 - 修改MTY角色的攻击冷却时间 - 更新彩虹糖的数值属性 - 优化链式机枪的攻击力属性 - 添加企鹅角色的多帧动画资源 - 更新熊角色的行走动画和面具资源 同时修复了部分角色的碰撞体大小和位置问题。
73 lines
2.0 KiB
Plaintext
73 lines
2.0 KiB
Plaintext
[gd_scene load_steps=8 format=3 uid="uid://b5ysxff1ujv4l"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://cvogxi7mktumf" path="res://components/Abstracts/EntityBase.tscn" id="1_8og84"]
|
|
[ext_resource type="Script" uid="uid://b80jr04qpitly" path="res://scripts/Contents/Characters/MTY.gd" id="2_hjlm2"]
|
|
[ext_resource type="Texture2D" uid="uid://b710rxx6yq2x1" path="res://resources/characters/bird/tera-a.svg" id="3_gxm04"]
|
|
[ext_resource type="Texture2D" uid="uid://cmmvtcahw5y5e" path="res://resources/characters/bird/tera-d.svg" id="4_ndje2"]
|
|
|
|
[sub_resource type="SpriteFrames" id="SpriteFrames_gxm04"]
|
|
animations = [{
|
|
"frames": [],
|
|
"loop": true,
|
|
"name": &"idle",
|
|
"speed": 5.0
|
|
}, {
|
|
"frames": [],
|
|
"loop": true,
|
|
"name": &"walk",
|
|
"speed": 0.5
|
|
}]
|
|
|
|
[sub_resource type="SpriteFrames" id="SpriteFrames_hjlm2"]
|
|
animations = [{
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": ExtResource("3_gxm04")
|
|
}],
|
|
"loop": true,
|
|
"name": &"idle",
|
|
"speed": 5.0
|
|
}, {
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": ExtResource("3_gxm04")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": ExtResource("4_ndje2")
|
|
}],
|
|
"loop": true,
|
|
"name": &"walk",
|
|
"speed": 0.5
|
|
}]
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_fdkbo"]
|
|
size = Vector2(138, 181)
|
|
|
|
[node name="MTY" instance=ExtResource("1_8og84")]
|
|
script = ExtResource("2_hjlm2")
|
|
displayName = "猫头鹰"
|
|
drops = Array[int]([0, 1, 3])
|
|
dropCounts = Array[Vector2]([Vector2(3, 6), Vector2(2, 4), Vector2(1, 3)])
|
|
useStatic = true
|
|
hurtAudioRate = 0.05
|
|
|
|
[node name="texture" parent="." index="3"]
|
|
position = Vector2(0, -64)
|
|
sprite_frames = SubResource("SpriteFrames_gxm04")
|
|
|
|
[node name="staticBackground" parent="texture" index="0"]
|
|
scale = Vector2(0.23718655, 0.23718655)
|
|
|
|
[node name="staticAnimation" parent="texture" index="1"]
|
|
position = Vector2(0, -27)
|
|
scale = Vector2(1.42485, 1.42485)
|
|
sprite_frames = SubResource("SpriteFrames_hjlm2")
|
|
animation = &"idle"
|
|
|
|
[node name="hitbox" parent="texture/hurtbox" index="0"]
|
|
position = Vector2(0, -26.5)
|
|
shape = SubResource("RectangleShape2D_fdkbo")
|
|
|
|
[node name="statebar" parent="." index="4"]
|
|
position = Vector2(0, -199)
|