mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-05-27 22:41:56 +08:00
8b14e36031
为子弹系统添加新的爆炸类型(MotionType.EXPLOSION) 实现内伤机制,包括内伤子弹和相关逻辑 修改多个子弹场景以使用爆炸类型 调整格挡系统,增加内伤效果 更新武器描述和角色配置
125 lines
4.1 KiB
Plaintext
125 lines
4.1 KiB
Plaintext
[gd_scene format=3 uid="uid://db2jwaqphd1cx"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://crtdkysmnkith" path="res://components/Abstracts/BulletBase.tscn" id="1_4sjx4"]
|
|
[ext_resource type="Script" uid="uid://b1y8r5xrhhso" path="res://scripts/Contents/Bullets/MagicMissle.gd" id="2_lrw10"]
|
|
[ext_resource type="Texture2D" uid="uid://bl1i26ovfpxwc" path="res://resources/bullets/magic-missle/tr.webp" id="2_ross6"]
|
|
[ext_resource type="AudioStream" uid="uid://cn876dtp1ypqx" path="res://resources/sounds/effect/Collect.wav" id="3_3jny5"]
|
|
[ext_resource type="Texture2D" uid="uid://bkiaaucejquik" path="res://resources/bullets/light-express/Everlasting_Rainbow.png" id="3_lrw10"]
|
|
|
|
[sub_resource type="Animation" id="Animation_3jny5"]
|
|
resource_name = "destroy"
|
|
length = 0.5
|
|
step = 0.1
|
|
|
|
[sub_resource type="Animation" id="Animation_grb5l"]
|
|
tracks/0/type = "audio"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath("audio")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"clips": [{
|
|
"end_offset": 0.0,
|
|
"start_offset": 0.0,
|
|
"stream": ExtResource("3_3jny5")
|
|
}],
|
|
"times": PackedFloat32Array(0)
|
|
}
|
|
tracks/0/use_blend = true
|
|
|
|
[sub_resource type="Animation" id="Animation_jigkj"]
|
|
resource_name = "loop"
|
|
loop_mode = 1
|
|
step = 0.1
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath(".:rotation")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0, 1),
|
|
"transitions": PackedFloat32Array(1, 1),
|
|
"update": 0,
|
|
"values": [0.0, 6.28319]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_mgg76"]
|
|
resource_name = "spawn"
|
|
|
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_s86wr"]
|
|
_data = {
|
|
&"destroy": SubResource("Animation_3jny5"),
|
|
&"hit": SubResource("Animation_grb5l"),
|
|
&"loop": SubResource("Animation_jigkj"),
|
|
&"spawn": SubResource("Animation_mgg76")
|
|
}
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_lrw10"]
|
|
radius = 18.027756
|
|
|
|
[sub_resource type="Curve" id="Curve_lrw10"]
|
|
_data = [Vector2(0, 0), 0.0, 0.0, 0, 0, Vector2(0.2, 1), 0.0, 0.0, 0, 0, Vector2(1, 0), 0.0, 0.0, 0, 0]
|
|
point_count = 3
|
|
|
|
[sub_resource type="CurveTexture" id="CurveTexture_3jny5"]
|
|
curve = SubResource("Curve_lrw10")
|
|
|
|
[sub_resource type="Curve" id="Curve_grb5l"]
|
|
_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_jigkj"]
|
|
curve = SubResource("Curve_grb5l")
|
|
|
|
[sub_resource type="Curve" id="Curve_rugh7"]
|
|
_data = [Vector2(0, 0), 0.0, 0.0, 0, 0, Vector2(0.2, 1), 0.0, 0.0, 0, 0]
|
|
point_count = 2
|
|
|
|
[sub_resource type="CurveTexture" id="CurveTexture_lrw10"]
|
|
curve = SubResource("Curve_rugh7")
|
|
|
|
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_mgg76"]
|
|
particle_flag_disable_z = true
|
|
angle_min = 1.0728835e-05
|
|
angle_max = 360.00003
|
|
angle_curve = SubResource("CurveTexture_jigkj")
|
|
direction = Vector3(-1, 0, 0)
|
|
spread = 15.0
|
|
initial_velocity_min = 100.0
|
|
initial_velocity_max = 200.0
|
|
gravity = Vector3(0, 0, 0)
|
|
scale_min = 0.5
|
|
scale_max = 0.9
|
|
scale_curve = SubResource("CurveTexture_lrw10")
|
|
alpha_curve = SubResource("CurveTexture_3jny5")
|
|
|
|
[node name="MagicMissle" unique_id=5571707 instance=ExtResource("1_4sjx4")]
|
|
script = ExtResource("2_lrw10")
|
|
motionType = 7
|
|
penerate = 1.0
|
|
penerateDamageReduction = 0.1
|
|
|
|
[node name="animator" parent="texture" parent_id_path=PackedInt32Array(162977358) index="0" unique_id=1114087117]
|
|
libraries/ = SubResource("AnimationLibrary_s86wr")
|
|
|
|
[node name="audio" parent="texture" parent_id_path=PackedInt32Array(162977358) index="1" unique_id=1167114186]
|
|
stream = ExtResource("3_3jny5")
|
|
|
|
[node name="static" type="Sprite2D" parent="texture" parent_id_path=PackedInt32Array(162977358) index="2" unique_id=1008850333]
|
|
position = Vector2(-58.999996, 0)
|
|
scale = Vector2(0.79195106, 0.79195106)
|
|
texture = ExtResource("3_lrw10")
|
|
|
|
[node name="hitbox" parent="." index="1" unique_id=175349408]
|
|
rotation = 1.5707964
|
|
shape = SubResource("CircleShape2D_lrw10")
|
|
|
|
[node name="trail" type="GPUParticles2D" parent="." index="2" unique_id=1403224943]
|
|
z_index = -1
|
|
amount = 50
|
|
texture = ExtResource("2_ross6")
|
|
visibility_rect = Rect2(-1000, -1000, 2000, 2000)
|
|
process_material = SubResource("ParticleProcessMaterial_mgg76")
|