1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-06-25 04:52:29 +08:00

feat(子弹系统): 新增BREATH运动类型并更新相关子弹配置

- 在BulletBase.gd枚举中添加BREATH运动类型
- 为多种子弹场景文件添加motionType属性配置
- 在Parrier.gd中实现BREATH类型的碰撞处理逻辑
- 更新多个子弹场景文件的格式和唯一ID
This commit is contained in:
2026-04-30 06:45:48 +08:00
parent 64f11d75b2
commit 6afc97ba10
10 changed files with 63 additions and 56 deletions
+8 -10
View File
@@ -1,4 +1,4 @@
[gd_scene load_steps=17 format=3 uid="uid://bvri0nv1jrigf"]
[gd_scene format=3 uid="uid://bvri0nv1jrigf"]
[ext_resource type="PackedScene" uid="uid://8gjjfju6p3fh" path="res://components/Bullets/LaserSummoner.tscn" id="1_eb54j"]
[ext_resource type="Script" uid="uid://nygobyigq5sp" path="res://scripts/Contents/Bullets/ChickLaser.gd" id="2_7g0f0"]
@@ -204,13 +204,13 @@ _data = {
radius = 20.0
height = 500.0
[node name="ChickLaser" instance=ExtResource("1_eb54j")]
[node name="ChickLaser" unique_id=1419234842 instance=ExtResource("1_eb54j")]
script = ExtResource("2_7g0f0")
displayName = "冷冻激光"
penerate = 1.0
motionType = 2
metadata/_edit_vertical_guides_ = [688.0, 189.0]
[node name="rect" parent="texture" index="0"]
[node name="rect" parent="texture" parent_id_path=PackedInt32Array(162977358) index="0"]
material = SubResource("ShaderMaterial_x6ivr")
offset_left = 188.0
offset_right = 238.0
@@ -228,15 +228,13 @@ position = Vector2(25, -13.9999)
scale = Vector2(0.525, 0.525)
color = Color(0, 0.701961, 1, 1)
[node name="animator" parent="texture" index="1"]
libraries = {
&"": SubResource("AnimationLibrary_7qqtc")
}
[node name="animator" parent="texture" parent_id_path=PackedInt32Array(162977358) index="1" unique_id=1114087117]
libraries/ = SubResource("AnimationLibrary_7qqtc")
[node name="circle" parent="texture" index="2"]
[node name="circle" parent="texture" parent_id_path=PackedInt32Array(162977358) index="2"]
texture = ExtResource("4_cws6l")
[node name="hitbox" parent="." index="1"]
[node name="hitbox" parent="." index="1" unique_id=175349408]
visible = true
position = Vector2(438, 0)
shape = SubResource("CapsuleShape2D_sg52j")