mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-05-29 15:31:54 +08:00
7f52f4b805
移除火扫弹的独立脚本和火罐效果,改为直接在子弹中实现 火山武器改为三段伤害机制并调整基础伤害值 添加子弹基础伤害乘数数组支持多段伤害 更新相关场景和资源配置以匹配新机制
111 lines
3.7 KiB
Plaintext
111 lines
3.7 KiB
Plaintext
[gd_scene load_steps=14 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" uid="uid://b2gg1fh0bflu7" path="res://scripts/Contents/Characters/Chick.gd" id="2_r6bub"]
|
|
[ext_resource type="AudioStream" uid="uid://bp41p33g0mep6" path="res://resources/sounds/effect/foxhurt.mp3" id="3_x766l"]
|
|
[ext_resource type="AudioStream" uid="uid://bgo8p1l77xrbe" path="res://resources/sounds/effect/Magic Spell.wav" id="4_2qabh"]
|
|
[ext_resource type="AudioStream" uid="uid://b10u6iir6uvqn" path="res://resources/sounds/effect/BigLaser.wav" id="4_mrsne"]
|
|
[ext_resource type="AudioStream" uid="uid://bf34p3xnsosgj" path="res://resources/sounds/effect/Dun Dun Dunnn.wav" id="4_w0sit"]
|
|
[ext_resource type="AudioStream" uid="uid://cee6rxv2uqynh" path="res://resources/sounds/effect/Flame.ogg" id="5_vcsbb"]
|
|
[ext_resource type="AudioStream" uid="uid://dn6bijr513wyp" path="res://resources/sounds/effect/Drum Boing.wav" id="7_qjhwc"]
|
|
[ext_resource type="Texture2D" uid="uid://k0hcr5u2xlk6" path="res://resources/characters/chick/fox.png" id="8_k8ox8"]
|
|
|
|
[sub_resource type="SpriteFrames" id="SpriteFrames_xji3d"]
|
|
animations = [{
|
|
"frames": [],
|
|
"loop": true,
|
|
"name": &"idle",
|
|
"speed": 5.0
|
|
}, {
|
|
"frames": [],
|
|
"loop": true,
|
|
"name": &"walk",
|
|
"speed": 5.0
|
|
}]
|
|
|
|
[sub_resource type="SpriteFrames" id="SpriteFrames_x766l"]
|
|
animations = [{
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": ExtResource("8_k8ox8")
|
|
}],
|
|
"loop": true,
|
|
"name": &"idle",
|
|
"speed": 5.0
|
|
}, {
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": ExtResource("8_k8ox8")
|
|
}],
|
|
"loop": true,
|
|
"name": &"walk",
|
|
"speed": 5.0
|
|
}]
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_x766l"]
|
|
size = Vector2(57, 114)
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_w0sit"]
|
|
radius = 61.03278
|
|
|
|
[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)
|
|
hurtAudioRate = 0.1
|
|
|
|
[node name="hurt" parent="sounds" index="3"]
|
|
stream = ExtResource("3_x766l")
|
|
|
|
[node name="attack1" type="AudioStreamPlayer2D" parent="sounds" index="6"]
|
|
stream = ExtResource("4_mrsne")
|
|
volume_db = -10.0
|
|
|
|
[node name="attack2" type="AudioStreamPlayer2D" parent="sounds" index="7"]
|
|
stream = ExtResource("5_vcsbb")
|
|
|
|
[node name="attack3" type="AudioStreamPlayer2D" parent="sounds" index="8"]
|
|
stream = ExtResource("7_qjhwc")
|
|
|
|
[node name="attack0" parent="sounds" index="9"]
|
|
stream = ExtResource("4_2qabh")
|
|
|
|
[node name="readyToDie" type="AudioStreamPlayer2D" parent="sounds" index="10"]
|
|
stream = ExtResource("4_w0sit")
|
|
volume_db = 10.0
|
|
|
|
[node name="texture" parent="." index="3"]
|
|
position = Vector2(0, -37)
|
|
sprite_frames = SubResource("SpriteFrames_xji3d")
|
|
animation = &"walk"
|
|
|
|
[node name="staticAnimation" parent="texture" index="1"]
|
|
position = Vector2(0, -94)
|
|
scale = Vector2(0.72807497, 0.72807497)
|
|
sprite_frames = SubResource("SpriteFrames_x766l")
|
|
animation = &"idle"
|
|
|
|
[node name="hitbox" parent="texture/hurtbox" index="0"]
|
|
position = Vector2(-0.5, -113)
|
|
shape = SubResource("RectangleShape2D_x766l")
|
|
|
|
[node name="hitbox2" type="CollisionShape2D" parent="texture/hurtbox" index="1"]
|
|
position = Vector2(117, -149)
|
|
shape = SubResource("CircleShape2D_w0sit")
|
|
|
|
[node name="normal" type="Node2D" parent="texture/weapons" index="0"]
|
|
position = Vector2(134, -130)
|
|
|
|
[node name="foot" type="Node2D" parent="texture/weapons" index="1"]
|
|
position = Vector2(56, 28)
|
|
|
|
[node name="trailParticle" parent="texture" index="7"]
|
|
position = Vector2(1, -107)
|
|
|
|
[node name="statebar" parent="." index="4" node_paths=PackedStringArray("entity")]
|
|
position = Vector2(0, -227)
|
|
entity = NodePath("..")
|