mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-05-28 06:51:54 +08:00
8b14e36031
为子弹系统添加新的爆炸类型(MotionType.EXPLOSION) 实现内伤机制,包括内伤子弹和相关逻辑 修改多个子弹场景以使用爆炸类型 调整格挡系统,增加内伤效果 更新武器描述和角色配置
114 lines
3.5 KiB
Plaintext
114 lines
3.5 KiB
Plaintext
[gd_scene format=3 uid="uid://d0g631tqx6w5q"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://crtdkysmnkith" path="res://components/Abstracts/BulletBase.tscn" id="1_tgiid"]
|
|
[ext_resource type="Script" uid="uid://ddgydi8qj3t40" path="res://scripts/Contents/Bullets/Bengbeng.gd" id="2_165xl"]
|
|
[ext_resource type="Texture2D" uid="uid://ccsq5rjmm2wbs" path="res://resources/bullets/bengbeng/0.png" id="2_jylg3"]
|
|
[ext_resource type="Shader" uid="uid://dfd73rom161o4" path="res://shaders/FilledRing.gdshader" id="5_txsro"]
|
|
[ext_resource type="Script" uid="uid://cgb01lelfg73p" path="res://scripts/Statemachine/ShaderStage.gd" id="6_6g0ep"]
|
|
|
|
[sub_resource type="ShaderMaterial" id="ShaderMaterial_of0mu"]
|
|
shader = ExtResource("5_txsro")
|
|
shader_parameter/inner = 1.0
|
|
shader_parameter/outer = 1.0
|
|
shader_parameter/alpha = 1.0
|
|
|
|
[sub_resource type="ShaderMaterial" id="ShaderMaterial_txsro"]
|
|
shader = ExtResource("5_txsro")
|
|
shader_parameter/inner = 0.98
|
|
shader_parameter/outer = 1.0
|
|
shader_parameter/alpha = 0.1
|
|
|
|
[sub_resource type="SpriteFrames" id="SpriteFrames_q5lkk"]
|
|
animations = [{
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": ExtResource("2_jylg3")
|
|
}],
|
|
"loop": true,
|
|
"name": &"default",
|
|
"speed": 5.0
|
|
}]
|
|
|
|
[sub_resource type="Animation" id="Animation_165xl"]
|
|
length = 0.001
|
|
tracks/0/type = "bezier"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath(".: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)
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_of0mu"]
|
|
resource_name = "destroy"
|
|
length = 0.5
|
|
step = 0.1
|
|
|
|
[sub_resource type="Animation" id="Animation_txsro"]
|
|
resource_name = "loop"
|
|
length = 0.88
|
|
loop_mode = 1
|
|
step = 0.01
|
|
tracks/0/type = "bezier"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath(".:position:y")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"handle_modes": PackedInt32Array(2, 0),
|
|
"points": PackedFloat32Array(-45, 0, 0, 0, -40, -45, 0, -40, 0, 0),
|
|
"times": PackedFloat32Array(0, 0.88)
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_6g0ep"]
|
|
resource_name = "spawn"
|
|
|
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_1mqkh"]
|
|
_data = {
|
|
&"RESET": SubResource("Animation_165xl"),
|
|
&"destroy": SubResource("Animation_of0mu"),
|
|
&"loop": SubResource("Animation_txsro"),
|
|
&"spawn": SubResource("Animation_6g0ep")
|
|
}
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_165xl"]
|
|
radius = 334.14966
|
|
|
|
[node name="Bengbeng" unique_id=5571707 instance=ExtResource("1_tgiid")]
|
|
script = ExtResource("2_165xl")
|
|
displayName = "蹦蹦炸弹"
|
|
speed = 4.0
|
|
baseDamage = 30.0
|
|
motionType = 7
|
|
lifeTime = 10000.0
|
|
autoLoopAnimation = true
|
|
|
|
[node name="warnbg" type="Node2D" parent="." index="0" unique_id=122409585]
|
|
material = SubResource("ShaderMaterial_of0mu")
|
|
script = ExtResource("6_6g0ep")
|
|
size = Vector2(250, 125)
|
|
color = Color(0, 0, 0, 0.2)
|
|
|
|
[node name="warn" type="Node2D" parent="." index="1" unique_id=804964529]
|
|
material = SubResource("ShaderMaterial_txsro")
|
|
script = ExtResource("6_6g0ep")
|
|
size = Vector2(250, 125)
|
|
color = Color(1, 0, 0, 1)
|
|
|
|
[node name="texture" parent="." index="2" unique_id=162977358]
|
|
scale = Vector2(0.2, 0.2)
|
|
sprite_frames = SubResource("SpriteFrames_q5lkk")
|
|
|
|
[node name="animator" parent="texture" index="0" unique_id=1114087117]
|
|
libraries/ = SubResource("AnimationLibrary_1mqkh")
|
|
|
|
[node name="hitbox" parent="." index="3" unique_id=175349408]
|
|
position = Vector2(0, -42)
|
|
shape = SubResource("CircleShape2D_165xl")
|
|
disabled = true
|