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/Bengbeng.tscn
T
fallingshrimp b343708b3b feat: 添加SCBlock和Bengbeng子弹类型及相关资源
feat(角色): 为Kernyr和CyberCat添加新攻击类型

refactor(角色): 更新Kernyr角色贴图和显示名称

feat(关卡): 调整测试关卡配置和敌人波次

style: 更新子弹资源文件及导入配置
2026-04-04 21:07:16 +08:00

113 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_1mqkh"]
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_5xjim"]
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
lifeTime = 10000.0
autoLoopAnimation = true
[node name="warnbg" type="Node2D" parent="." index="0" unique_id=122409585]
material = SubResource("ShaderMaterial_1mqkh")
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_5xjim")
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