1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-05-27 22:41:56 +08:00
Files
Dog-Lynx-And-HCN/components/Bullets/LaserSummoner.tscn
T
fallingshrimp 4e3425eda9 refactor: 重构资源路径和组件结构
- 将attackstar.svg从UI目录移动到resources/common目录
- 将VerticalColorBar.tscn从UI/Variants目录移动到根components目录
- 将LaserSummoner.tscn从Bullets/Common目录移动到Bullets根目录
- 移除调试日志打印语句
- 优化ItemStore.gd的getTexture方法默认值处理
- 更新相关场景和脚本中的资源引用路径
- 添加FeedFilter调试工具组件
- 优化ComponentManager初始化逻辑
2025-09-21 13:56:50 +08:00

253 lines
7.9 KiB
Plaintext

[gd_scene load_steps=18 format=3 uid="uid://8gjjfju6p3fh"]
[ext_resource type="PackedScene" uid="uid://crtdkysmnkith" path="res://components/Abstracts/BulletBase.tscn" id="1_pnxoq"]
[ext_resource type="Script" path="res://scripts/Contents/Bullets/BigLaser.gd" id="2_nk2p8"]
[ext_resource type="Shader" path="res://shaders/BigLaser.gdshader" id="3_ow2gn"]
[ext_resource type="Texture2D" uid="uid://dy4op6n6vxef3" path="res://resources/bullets/laser-circle/circle.svg" id="4_sewyb"]
[sub_resource type="SpriteFrames" id="SpriteFrames_yip5k"]
[sub_resource type="ShaderMaterial" id="ShaderMaterial_b2oy8"]
shader = ExtResource("3_ow2gn")
shader_parameter/laser_color = Color(1, 0, 0, 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
[sub_resource type="Curve" id="Curve_itlbo"]
_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_xathl"]
curve = SubResource("Curve_itlbo")
[sub_resource type="Curve" id="Curve_75ctq"]
_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_my7uy"]
curve = SubResource("Curve_75ctq")
[sub_resource type="Gradient" id="Gradient_62xhh"]
offsets = PackedFloat32Array(0, 0.60687)
colors = PackedColorArray(1, 1, 1, 1, 1, 0, 0, 1)
[sub_resource type="GradientTexture1D" id="GradientTexture1D_yix5j"]
gradient = SubResource("Gradient_62xhh")
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_m7jvq"]
particle_flag_disable_z = true
emission_shape = 3
emission_box_extents = Vector3(0, 1000, 1)
angle_min = 1.07288e-05
angle_max = 360.0
angle_curve = SubResource("CurveTexture_my7uy")
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_yix5j")
alpha_curve = SubResource("CurveTexture_xathl")
[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_s7tee"]
_data = {
"RESET": SubResource("Animation_1rif1"),
"spawn": SubResource("Animation_ep0ow")
}
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_x66th"]
radius = 40.0
height = 2000.0
[node name="LaserSummoner" instance=ExtResource("1_pnxoq")]
script = ExtResource("2_nk2p8")
autoSpawnAnimation = true
autoDestroyOnHitMap = false
freeAfterSpawn = true
[node name="texture" parent="." index="0"]
sprite_frames = SubResource("SpriteFrames_yip5k")
[node name="rect" type="ColorRect" parent="texture" index="0"]
material = SubResource("ShaderMaterial_b2oy8")
offset_left = 233.0
offset_right = 333.0
offset_bottom = 2000.0
rotation = -1.5708
scale = Vector2(1e-05, 1)
[node name="particles" type="GPUParticles2D" parent="texture/rect" index="0"]
position = Vector2(50, 1000)
amount = 400
process_material = SubResource("ParticleProcessMaterial_m7jvq")
lifetime = 0.25
visibility_rect = Rect2(-100, -1000, 200, 2000)
[node name="launcher" type="Polygon2D" parent="texture/rect" index="1"]
position = Vector2(50, -21)
rotation = 1.5708
color = Color(1, 0.6, 0, 1)
polygon = PackedVector2Array(-50, -25, 0, 0, -50, 25)
[node name="animator" parent="texture" index="1"]
libraries = {
"": SubResource("AnimationLibrary_s7tee")
}
[node name="circle" type="Sprite2D" parent="texture" index="2"]
modulate = Color(1, 1, 1, 0)
scale = Vector2(1e-05, 1e-05)
texture = ExtResource("4_sewyb")
[node name="hitbox" parent="." index="1"]
visible = false
position = Vector2(1234, 0)
rotation = 1.5708
shape = SubResource("CapsuleShape2D_x66th")