1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-06-29 23:12:28 +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
+5 -4
View File
@@ -6,13 +6,13 @@
[ext_resource type="Shader" uid="uid://dfd73rom161o4" path="res://shaders/FilledRing.gdshader" id="5_txsro"]
[ext_resource type="Script" uid="uid://cgb01lelfg73p" path="res://scripts/Statemachine/ShaderStage.gd" id="6_6g0ep"]
[sub_resource type="ShaderMaterial" id="ShaderMaterial_1mqkh"]
[sub_resource type="ShaderMaterial" id="ShaderMaterial_of0mu"]
shader = ExtResource("5_txsro")
shader_parameter/inner = 1.0
shader_parameter/outer = 1.0
shader_parameter/alpha = 1.0
[sub_resource type="ShaderMaterial" id="ShaderMaterial_5xjim"]
[sub_resource type="ShaderMaterial" id="ShaderMaterial_txsro"]
shader = ExtResource("5_txsro")
shader_parameter/inner = 0.98
shader_parameter/outer = 1.0
@@ -84,17 +84,18 @@ script = ExtResource("2_165xl")
displayName = "蹦蹦炸弹"
speed = 4.0
baseDamage = 30.0
motionType = 3
lifeTime = 10000.0
autoLoopAnimation = true
[node name="warnbg" type="Node2D" parent="." index="0" unique_id=122409585]
material = SubResource("ShaderMaterial_1mqkh")
material = SubResource("ShaderMaterial_of0mu")
script = ExtResource("6_6g0ep")
size = Vector2(250, 125)
color = Color(0, 0, 0, 0.2)
[node name="warn" type="Node2D" parent="." index="1" unique_id=804964529]
material = SubResource("ShaderMaterial_5xjim")
material = SubResource("ShaderMaterial_txsro")
script = ExtResource("6_6g0ep")
size = Vector2(250, 125)
color = Color(1, 0, 0, 1)