mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-06-03 18:27:13 +08:00
327afcc721
实现小鸡的冲刺攻击能力,包括: 1. 新增ChickSprint子弹类型及场景 2. 为EntityBase添加拖尾粒子效果 3. 添加攻击蓄力特效和音效 4. 调整小鸡的攻击冷却时间和冲刺倍率 5. 优化TickTool工具类添加until方法 6. 修改世界背景z-index避免遮挡 调整战斗平衡性: 1. 降低默认冲刺倍率 2. 修改测试波次配置 3. 增加新的攻击方式选项
61 lines
2.1 KiB
Plaintext
61 lines
2.1 KiB
Plaintext
[gd_scene load_steps=9 format=3 uid="uid://b0ncrvm8u4pox"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://cvogxi7mktumf" path="res://components/Abstracts/EntityBase.tscn" id="1_goqmy"]
|
|
[ext_resource type="Script" path="res://scripts/Contents/Characters/Chick.gd" id="2_r6bub"]
|
|
[ext_resource type="Texture2D" uid="uid://7pkplcqqxvnp" path="res://resources/characters/chick/chick-a.svg" id="2_syddq"]
|
|
[ext_resource type="Texture2D" uid="uid://dj5dvqb8gsedr" path="res://resources/characters/chick/chick-b.svg" id="3_064jv"]
|
|
[ext_resource type="AudioStream" uid="uid://b7pxuov1id0ho" path="res://resources/sounds/effect/Pew.mp3" id="3_ik1xf"]
|
|
[ext_resource type="AudioStream" uid="uid://b10u6iir6uvqn" path="res://resources/sounds/effect/BigLaser.wav" id="4_mrsne"]
|
|
[ext_resource type="PackedScene" uid="uid://dny25qkcvtaa2" path="res://components/Effects/FirePot.tscn" id="6_kvx3n"]
|
|
|
|
[sub_resource type="SpriteFrames" id="SpriteFrames_xji3d"]
|
|
animations = [{
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": ExtResource("2_syddq")
|
|
}],
|
|
"loop": true,
|
|
"name": &"idle",
|
|
"speed": 5.0
|
|
}, {
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": ExtResource("2_syddq")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": ExtResource("3_064jv")
|
|
}],
|
|
"loop": true,
|
|
"name": &"walk",
|
|
"speed": 5.0
|
|
}]
|
|
|
|
[node name="Chick" instance=ExtResource("1_goqmy")]
|
|
script = ExtResource("2_r6bub")
|
|
isBoss = true
|
|
displayName = "小鸡"
|
|
drops = Array[int]([0, 1])
|
|
dropCounts = Array[Vector2]([Vector2(10, 30), Vector2(15, 50)])
|
|
appleCount = Vector2i(2, 4)
|
|
|
|
[node name="hurt" parent="sounds" index="3"]
|
|
stream = ExtResource("3_ik1xf")
|
|
|
|
[node name="attack1" type="AudioStreamPlayer2D" parent="sounds" index="6"]
|
|
stream = ExtResource("4_mrsne")
|
|
volume_db = -10.0
|
|
|
|
[node name="texture" parent="." index="1"]
|
|
position = Vector2(0, -37)
|
|
sprite_frames = SubResource("SpriteFrames_xji3d")
|
|
|
|
[node name="normal" type="Node2D" parent="texture/weapons" index="0"]
|
|
position = Vector2(30, -12)
|
|
|
|
[node name="firepot" parent="texture/weapons/normal" index="0" instance=ExtResource("6_kvx3n")]
|
|
unique_name_in_owner = true
|
|
|
|
[node name="statebar" parent="." index="2" node_paths=PackedStringArray("entity")]
|
|
position = Vector2(0, -82)
|
|
entity = NodePath("..")
|