1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-05-28 15:01:53 +08:00
Files
Dog-Lynx-And-HCN/components/Characters/Cat.tscn
T
fallingshrimp c80d3af6f9 feat(角色): 添加新角色资源及调整现有角色属性
新增狗、猫、鸡、MTY等角色的图片和动画资源,并调整部分角色的属性和动画逻辑。包括:
- 添加狗角色的行走动画和图片资源
- 更新猫角色的行走动画和碰撞体
- 调整鸡角色的属性和动画帧
- 修改MTY角色的攻击冷却时间
- 更新彩虹糖的数值属性
- 优化链式机枪的攻击力属性
- 添加企鹅角色的多帧动画资源
- 更新熊角色的行走动画和面具资源

同时修复了部分角色的碰撞体大小和位置问题。
2026-01-18 14:49:06 +08:00

89 lines
2.8 KiB
Plaintext

[gd_scene load_steps=12 format=3 uid="uid://bfkg40awgniv"]
[ext_resource type="PackedScene" uid="uid://cvogxi7mktumf" path="res://components/Abstracts/EntityBase.tscn" id="1_hw4g4"]
[ext_resource type="Script" uid="uid://chmxghslo4kc4" path="res://scripts/Contents/Characters/Cat.gd" id="2_uo67a"]
[ext_resource type="AudioStream" uid="uid://c3duk5wy1o3c2" path="res://resources/sounds/effect/Chirp.wav" id="3_2o6vq"]
[ext_resource type="AudioStream" uid="uid://chxpw0sprn4kj" path="res://resources/sounds/effect/Police Siren.wav" id="4_2o6vq"]
[ext_resource type="AudioStream" uid="uid://b7pxuov1id0ho" path="res://resources/sounds/effect/Pew.mp3" id="4_rh5rn"]
[ext_resource type="Texture2D" uid="uid://bk8spvhq72c44" path="res://resources/characters/cat/penguin-b.svg" id="6_i8yb5"]
[ext_resource type="Texture2D" uid="uid://dfid7kvdv8yas" path="res://resources/characters/cat/penguin-a.svg" id="7_kg8tn"]
[ext_resource type="Texture2D" uid="uid://dhof4hf8t0lnw" path="res://resources/characters/cat/penguin-c.svg" id="8_anefu"]
[sub_resource type="SpriteFrames" id="SpriteFrames_2o6vq"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": ExtResource("6_i8yb5")
}],
"loop": true,
"name": &"idle",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": ExtResource("7_kg8tn")
}, {
"duration": 1.0,
"texture": ExtResource("6_i8yb5")
}, {
"duration": 1.0,
"texture": ExtResource("8_anefu")
}, {
"duration": 1.0,
"texture": ExtResource("6_i8yb5")
}],
"loop": true,
"name": &"walk",
"speed": 4.0
}]
[sub_resource type="SpriteFrames" id="SpriteFrames_hmu5t"]
animations = [{
"frames": [],
"loop": true,
"name": &"idle",
"speed": 5.0
}]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_uo67a"]
size = Vector2(70, 93)
[node name="Cat" instance=ExtResource("1_hw4g4")]
script = ExtResource("2_uo67a")
displayName = "猫"
drops = Array[int]([0])
dropCounts = Array[Vector2]([Vector2(6, 10)])
hurtAudioRate = 0.1
[node name="hurt" parent="sounds" index="3"]
stream = ExtResource("3_2o6vq")
volume_db = 3.0
[node name="die" parent="sounds" index="5"]
stream = ExtResource("4_2o6vq")
[node name="attack0" parent="sounds" index="6"]
stream = ExtResource("4_rh5rn")
[node name="texture" parent="." index="3"]
position = Vector2(0, -46)
sprite_frames = SubResource("SpriteFrames_2o6vq")
animation = &"walk"
frame_progress = 0.7547687
[node name="staticBackground" parent="texture" index="0"]
position = Vector2(0, -2)
scale = Vector2(0.2, 0.2)
[node name="staticAnimation" parent="texture" index="1"]
scale = Vector2(1, 1.289)
sprite_frames = SubResource("SpriteFrames_hmu5t")
animation = &"idle"
[node name="hitbox" parent="texture/hurtbox" index="0"]
position = Vector2(0, -0.5)
shape = SubResource("RectangleShape2D_uo67a")
[node name="statebar" parent="." index="4"]
position = Vector2(0, -106)