mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-05-28 06:51:54 +08:00
ff9273ca29
新增河豚刺针武器,包含以下内容: - 添加河豚武器图标和音效资源 - 实现Needle子弹类及其反弹逻辑 - 创建Hetun武器类实现散射攻击 - 添加子弹特效和碰撞检测 - 更新公鸡角色默认武器配置
93 lines
2.9 KiB
Plaintext
93 lines
2.9 KiB
Plaintext
[gd_scene load_steps=14 format=3 uid="uid://bhnhfefm4m87i"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://crtdkysmnkith" path="res://components/Abstracts/BulletBase.tscn" id="1_yrddj"]
|
|
[ext_resource type="Texture2D" uid="uid://d4h0i65n0dveo" path="res://resources/bullets/needle/1.svg" id="2_enod1"]
|
|
[ext_resource type="Script" uid="uid://whqgw065ifss" path="res://scripts/Contents/Bullets/Needle.gd" id="2_mjqpl"]
|
|
|
|
[sub_resource type="SpriteFrames" id="SpriteFrames_mjqpl"]
|
|
animations = [{
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": ExtResource("2_enod1")
|
|
}],
|
|
"loop": true,
|
|
"name": &"default",
|
|
"speed": 5.0
|
|
}]
|
|
|
|
[sub_resource type="Curve" id="Curve_kvg2u"]
|
|
_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_n2a3y"]
|
|
curve = SubResource("Curve_kvg2u")
|
|
|
|
[sub_resource type="Gradient" id="Gradient_ux5gl"]
|
|
colors = PackedColorArray(1, 0.47012484, 0, 1, 1, 0.9023062, 0.70387197, 1)
|
|
|
|
[sub_resource type="GradientTexture1D" id="GradientTexture1D_ikerd"]
|
|
gradient = SubResource("Gradient_ux5gl")
|
|
|
|
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_3yvym"]
|
|
particle_flag_disable_z = true
|
|
emission_shape = 3
|
|
emission_box_extents = Vector3(1, 40, 1)
|
|
angle_min = 1.0728835e-05
|
|
angle_max = 360.00003
|
|
spread = 15.0
|
|
initial_velocity_min = -50.0
|
|
initial_velocity_max = 50.0
|
|
gravity = Vector3(0, 200, 0)
|
|
scale_max = 5.0
|
|
color_initial_ramp = SubResource("GradientTexture1D_ikerd")
|
|
alpha_curve = SubResource("CurveTexture_n2a3y")
|
|
|
|
[sub_resource type="Curve" id="Curve_enod1"]
|
|
_data = [Vector2(0, 0.4), 0.0, 0.0, 0, 0, Vector2(1, 0), 0.0, 0.0, 0, 0]
|
|
point_count = 2
|
|
|
|
[sub_resource type="CurveTexture" id="CurveTexture_mjqpl"]
|
|
curve = SubResource("Curve_enod1")
|
|
|
|
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_enod1"]
|
|
particle_flag_disable_z = true
|
|
direction = Vector3(0, 1, 0)
|
|
spread = 0.0
|
|
initial_velocity_min = 150.0
|
|
initial_velocity_max = 150.0
|
|
gravity = Vector3(0, 0, 0)
|
|
scale_min = 0.79999995
|
|
scale_max = 0.79999995
|
|
alpha_curve = SubResource("CurveTexture_mjqpl")
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_enod1"]
|
|
size = Vector2(138, 8.765)
|
|
|
|
[node name="Needle" instance=ExtResource("1_yrddj")]
|
|
script = ExtResource("2_mjqpl")
|
|
penerate = 1.0
|
|
lifeTime = 4000.0
|
|
|
|
[node name="texture" parent="." index="0"]
|
|
position = Vector2(73, 0)
|
|
rotation = 1.5707964
|
|
sprite_frames = SubResource("SpriteFrames_mjqpl")
|
|
|
|
[node name="light" type="GPUParticles2D" parent="texture" index="1"]
|
|
z_index = -1
|
|
position = Vector2(0, 34)
|
|
amount = 50
|
|
preprocess = 1.0
|
|
local_coords = true
|
|
process_material = SubResource("ParticleProcessMaterial_3yvym")
|
|
|
|
[node name="trail" type="GPUParticles2D" parent="texture" index="2"]
|
|
z_index = -1
|
|
texture = ExtResource("2_enod1")
|
|
local_coords = true
|
|
process_material = SubResource("ParticleProcessMaterial_enod1")
|
|
|
|
[node name="hitbox" parent="." index="1"]
|
|
position = Vector2(67, 0)
|
|
shape = SubResource("RectangleShape2D_enod1")
|