mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-05-28 06:51:54 +08:00
1022dd5024
添加HXDBoom效果控制器和5种爆炸纹理 调整HXD子弹的缩放比例并添加爆炸效果触发 扩展EffectController基类以支持自定义注册逻辑
38 lines
1.4 KiB
Plaintext
38 lines
1.4 KiB
Plaintext
[gd_scene load_steps=9 format=3 uid="uid://c0oppv5v8grnu"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://bcvuuy2m0pke0" path="res://components/Abstracts/EffectBase.tscn" id="1_41cv2"]
|
|
[ext_resource type="Script" uid="uid://bxvgpyb3fyko1" path="res://scripts/Contents/Effects/HXDBoom.gd" id="2_uo6a0"]
|
|
[ext_resource type="Texture2D" uid="uid://ctvlwl62ieuu6" path="res://resources/bullets/HXD/effect/4.png" id="3_4u6cx"]
|
|
|
|
[sub_resource type="Curve" id="Curve_4u6cx"]
|
|
_data = [Vector2(0.5, 1), 0.0, 0.0, 0, 0, Vector2(1, 0), 0.0, 0.0, 0, 0]
|
|
point_count = 2
|
|
|
|
[sub_resource type="CurveTexture" id="CurveTexture_rt83h"]
|
|
curve = SubResource("Curve_4u6cx")
|
|
|
|
[sub_resource type="Curve" id="Curve_l6ml7"]
|
|
_data = [Vector2(0.75, 1), 0.0, 0.0, 0, 0, Vector2(1, 0), 0.0, 0.0, 0, 0]
|
|
point_count = 2
|
|
|
|
[sub_resource type="CurveTexture" id="CurveTexture_tkfx4"]
|
|
curve = SubResource("Curve_l6ml7")
|
|
|
|
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_4u6cx"]
|
|
particle_flag_disable_z = true
|
|
spread = 180.0
|
|
initial_velocity_min = 50.0
|
|
initial_velocity_max = 100.0
|
|
gravity = Vector3(0, 0, 0)
|
|
scale_curve = SubResource("CurveTexture_tkfx4")
|
|
alpha_curve = SubResource("CurveTexture_rt83h")
|
|
|
|
[node name="HXDBoom" instance=ExtResource("1_41cv2")]
|
|
script = ExtResource("2_uo6a0")
|
|
|
|
[node name="particles" parent="." index="1"]
|
|
amount = 1
|
|
texture = ExtResource("3_4u6cx")
|
|
local_coords = true
|
|
process_material = SubResource("ParticleProcessMaterial_4u6cx")
|