1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-05-28 06:51:54 +08:00
Files
Dog-Lynx-And-HCN/components/Bullets/ChickLaser.tscn
T
fallingshrimp 6afc97ba10 feat(子弹系统): 新增BREATH运动类型并更新相关子弹配置
- 在BulletBase.gd枚举中添加BREATH运动类型
- 为多种子弹场景文件添加motionType属性配置
- 在Parrier.gd中实现BREATH类型的碰撞处理逻辑
- 更新多个子弹场景文件的格式和唯一ID
2026-04-30 06:45:48 +08:00

241 lines
7.8 KiB
Plaintext

[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"]
[ext_resource type="Shader" uid="uid://d3aopn2f23pmi" path="res://shaders/BigLaser.gdshader" id="3_4y0mm"]
[ext_resource type="Texture2D" uid="uid://cv8yl3ncek4ap" path="res://resources/bullets/laser-circle/blue-circle.svg" id="4_cws6l"]
[sub_resource type="ShaderMaterial" id="ShaderMaterial_x6ivr"]
shader = ExtResource("3_4y0mm")
shader_parameter/laser_color = Color(0, 0.507813, 1, 1)
shader_parameter/width = 1.0
shader_parameter/softness = 0.5
shader_parameter/wave_speed = 1.0
shader_parameter/wave_frequency = 1.0
shader_parameter/wave_amplitude = 0.5
shader_parameter/wave_width = 0.5
shader_parameter/edge_nonalpha = 0.6
shader_parameter/alpha = 1.0
[sub_resource type="Curve" id="Curve_4f20s"]
_data = [Vector2(0, 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_ftxbx"]
curve = SubResource("Curve_4f20s")
[sub_resource type="Curve" id="Curve_ffsha"]
_data = [Vector2(0, 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_5b6jo"]
curve = SubResource("Curve_ffsha")
[sub_resource type="Gradient" id="Gradient_rbqh5"]
offsets = PackedFloat32Array(0, 0.553435)
colors = PackedColorArray(1, 1, 1, 1, 0, 0.695313, 1, 1)
[sub_resource type="GradientTexture1D" id="GradientTexture1D_y1x3v"]
gradient = SubResource("Gradient_rbqh5")
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_vb8yw"]
particle_flag_disable_z = true
emission_shape = 3
emission_box_extents = Vector3(0, 250, 1)
angle_min = 1.07288e-05
angle_max = 360.0
angle_curve = SubResource("CurveTexture_5b6jo")
spread = 15.0
initial_velocity_min = -500.0
initial_velocity_max = 500.0
gravity = Vector3(0, 0, 0)
scale_min = 3.0
scale_max = 15.0
color_ramp = SubResource("GradientTexture1D_y1x3v")
alpha_curve = SubResource("CurveTexture_ftxbx")
[sub_resource type="Animation" id="Animation_1rif1"]
length = 0.001
tracks/0/type = "bezier"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("rect:position:y")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"handle_modes": PackedInt32Array(0),
"points": PackedFloat32Array(0, -0.25, 0, 0.25, 0),
"times": PackedFloat32Array(0)
}
tracks/1/type = "bezier"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("rect:scale:x")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"handle_modes": PackedInt32Array(0),
"points": PackedFloat32Array(1e-05, -0.25, 0, 0.25, 0),
"times": PackedFloat32Array(0)
}
tracks/2/type = "bezier"
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/path = NodePath("circle:rotation")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/keys = {
"handle_modes": PackedInt32Array(0),
"points": PackedFloat32Array(0, -0.25, 0, 0.25, 0),
"times": PackedFloat32Array(0)
}
tracks/3/type = "bezier"
tracks/3/imported = false
tracks/3/enabled = true
tracks/3/path = NodePath("circle:scale:x")
tracks/3/interp = 1
tracks/3/loop_wrap = true
tracks/3/keys = {
"handle_modes": PackedInt32Array(0),
"points": PackedFloat32Array(1e-05, -0.25, 0, 0.25, 0),
"times": PackedFloat32Array(0)
}
tracks/4/type = "bezier"
tracks/4/imported = false
tracks/4/enabled = true
tracks/4/path = NodePath("circle:scale:y")
tracks/4/interp = 1
tracks/4/loop_wrap = true
tracks/4/keys = {
"handle_modes": PackedInt32Array(0),
"points": PackedFloat32Array(1e-05, -0.25, 0, 0.25, 0),
"times": PackedFloat32Array(0)
}
tracks/5/type = "bezier"
tracks/5/imported = false
tracks/5/enabled = true
tracks/5/path = NodePath("circle:modulate:a")
tracks/5/interp = 1
tracks/5/loop_wrap = true
tracks/5/keys = {
"handle_modes": PackedInt32Array(0),
"points": PackedFloat32Array(0, -0.25, 0, 0.25, 0),
"times": PackedFloat32Array(0)
}
[sub_resource type="Animation" id="Animation_ep0ow"]
resource_name = "spawn"
length = 5.0
step = 0.05
tracks/0/type = "bezier"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("rect:position:y")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"handle_modes": PackedInt32Array(0, 0, 0, 0),
"points": PackedFloat32Array(0, -0.25, 0, 0.25, 0, 25, -0.25, 0, 0.25, 0, 25, -0.25, 0, 0.25, 0, 0, -0.25, 0, 0.25, 0),
"times": PackedFloat32Array(0, 0.5, 4.5, 5)
}
tracks/1/type = "bezier"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("rect:scale:x")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"handle_modes": PackedInt32Array(0, 0, 0, 0),
"points": PackedFloat32Array(1e-05, -0.25, 0, 0.25, 0, 1, -0.25, 0, 0.25, 0, 1, -0.25, 0, 0.25, 0, 1e-05, -0.25, 0, 0.25, 0),
"times": PackedFloat32Array(0, 0.5, 4.5, 5)
}
tracks/2/type = "bezier"
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/path = NodePath("circle:rotation")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/keys = {
"handle_modes": PackedInt32Array(0, 0),
"points": PackedFloat32Array(0, -0.25, 0, 0.25, 0, 25.1327, -0.25, 0, 0.25, 0),
"times": PackedFloat32Array(0, 5)
}
tracks/3/type = "bezier"
tracks/3/imported = false
tracks/3/enabled = true
tracks/3/path = NodePath("circle:scale:x")
tracks/3/interp = 1
tracks/3/loop_wrap = true
tracks/3/keys = {
"handle_modes": PackedInt32Array(0, 0, 0, 0),
"points": PackedFloat32Array(1e-05, -0.25, 0, 0.25, 0, 1, -0.25, 0, 0.25, 0, 1, -0.25, 0, 0.25, 0, 1e-05, -0.25, 0, 0.25, 0),
"times": PackedFloat32Array(0, 0.5, 4.5, 5)
}
tracks/4/type = "bezier"
tracks/4/imported = false
tracks/4/enabled = true
tracks/4/path = NodePath("circle:scale:y")
tracks/4/interp = 1
tracks/4/loop_wrap = true
tracks/4/keys = {
"handle_modes": PackedInt32Array(0, 0, 0, 0),
"points": PackedFloat32Array(1e-05, -0.25, 0, 0.25, 0, 1, -0.25, 0, 0.25, 0, 1, -0.25, 0, 0.25, 0, 1e-05, -0.25, 0, 0.25, 0),
"times": PackedFloat32Array(0, 0.5, 4.5, 5)
}
tracks/5/type = "bezier"
tracks/5/imported = false
tracks/5/enabled = true
tracks/5/path = NodePath("circle:modulate:a")
tracks/5/interp = 1
tracks/5/loop_wrap = true
tracks/5/keys = {
"handle_modes": PackedInt32Array(0, 0, 0, 0),
"points": PackedFloat32Array(0, -0.25, 0, 0.25, 0, 1, -0.25, 0, 0.25, 0, 1, -0.25, 0, 0.25, 0, 0, -0.25, 0, 0.25, 0),
"times": PackedFloat32Array(0, 0.5, 4.5, 5)
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_7qqtc"]
_data = {
&"RESET": SubResource("Animation_1rif1"),
&"spawn": SubResource("Animation_ep0ow")
}
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_sg52j"]
radius = 20.0
height = 500.0
[node name="ChickLaser" unique_id=1419234842 instance=ExtResource("1_eb54j")]
script = ExtResource("2_7g0f0")
displayName = "冷冻激光"
motionType = 2
metadata/_edit_vertical_guides_ = [688.0, 189.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
offset_bottom = 500.0
[node name="particles" parent="texture/rect" index="0"]
position = Vector2(25, 250)
amount = 100
lifetime = 0.1
visibility_rect = Rect2(-50, -250, 100, 500)
process_material = SubResource("ParticleProcessMaterial_vb8yw")
[node name="launcher" parent="texture/rect" index="1"]
position = Vector2(25, -13.9999)
scale = Vector2(0.525, 0.525)
color = Color(0, 0.701961, 1, 1)
[node name="animator" parent="texture" parent_id_path=PackedInt32Array(162977358) index="1" unique_id=1114087117]
libraries/ = SubResource("AnimationLibrary_7qqtc")
[node name="circle" parent="texture" parent_id_path=PackedInt32Array(162977358) index="2"]
texture = ExtResource("4_cws6l")
[node name="hitbox" parent="." index="1" unique_id=175349408]
visible = true
position = Vector2(438, 0)
shape = SubResource("CapsuleShape2D_sg52j")