1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-05-28 06:51:54 +08:00

feat: 添加炸弹效果和着色器,创建新的Bomb效果和相关资源

This commit is contained in:
2025-08-27 14:55:34 +08:00
parent 28b86e8b1e
commit 9127692146
11 changed files with 86 additions and 16 deletions
+13 -4
View File
@@ -2,9 +2,7 @@
[ext_resource type="Script" path="res://scripts/Statemachine/EffectController.gd" id="1_pt2rk"]
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_tgxns"]
particle_flag_disable_z = true
gravity = Vector3(0, 98, 0)
[sub_resource type="ShaderMaterial" id="ShaderMaterial_7cv4k"]
[node name="EffectBase" type="Node2D"]
script = ExtResource("1_pt2rk")
@@ -12,5 +10,16 @@ script = ExtResource("1_pt2rk")
[node name="particles" type="GPUParticles2D" parent="."]
unique_name_in_owner = true
amount = 30
process_material = SubResource("ParticleProcessMaterial_tgxns")
process_material = SubResource("ShaderMaterial_7cv4k")
explosiveness = 1.0
[node name="stage" type="ColorRect" parent="."]
unique_name_in_owner = true
offset_left = -50.0
offset_top = -50.0
offset_right = 50.0
offset_bottom = 50.0
color = Color(1, 1, 1, 0)
[node name="animator" type="AnimationPlayer" parent="stage"]
unique_name_in_owner = true