mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-05-27 22:41:56 +08:00
6afc97ba10
- 在BulletBase.gd枚举中添加BREATH运动类型 - 为多种子弹场景文件添加motionType属性配置 - 在Parrier.gd中实现BREATH类型的碰撞处理逻辑 - 更新多个子弹场景文件的格式和唯一ID
158 lines
4.3 KiB
Plaintext
158 lines
4.3 KiB
Plaintext
[gd_scene format=3 uid="uid://cch4xtc70ad5c"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://crtdkysmnkith" path="res://components/Abstracts/BulletBase.tscn" id="1_3kq6o"]
|
|
[ext_resource type="Script" uid="uid://b6bkhv8nc1ao3" path="res://scripts/Contents/Bullets/BlockWall.gd" id="2_3x2nv"]
|
|
[ext_resource type="Texture2D" uid="uid://cqcakyrw4vbfn" path="res://resources/bullets/blockwall/blockwall.svg" id="2_k65pw"]
|
|
|
|
[sub_resource type="SpriteFrames" id="SpriteFrames_3x2nv"]
|
|
animations = [{
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": ExtResource("2_k65pw")
|
|
}],
|
|
"loop": true,
|
|
"name": &"default",
|
|
"speed": 5.0
|
|
}]
|
|
|
|
[sub_resource type="Animation" id="Animation_k65pw"]
|
|
length = 0.001
|
|
tracks/0/type = "bezier"
|
|
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 = {
|
|
"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(".:position:x")
|
|
tracks/1/interp = 1
|
|
tracks/1/loop_wrap = true
|
|
tracks/1/keys = {
|
|
"handle_modes": PackedInt32Array(0),
|
|
"points": PackedFloat32Array(0, -0.15, 0, 0.15, 0),
|
|
"times": PackedFloat32Array(0)
|
|
}
|
|
tracks/2/type = "value"
|
|
tracks/2/imported = false
|
|
tracks/2/enabled = true
|
|
tracks/2/path = NodePath(".:modulate")
|
|
tracks/2/interp = 1
|
|
tracks/2/loop_wrap = true
|
|
tracks/2/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 0,
|
|
"values": [Color(1, 1, 1, 1)]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_3x2nv"]
|
|
resource_name = "spawn"
|
|
length = 0.2
|
|
step = 0.1
|
|
tracks/0/type = "bezier"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath(".:position:x")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"handle_modes": PackedInt32Array(0, 0),
|
|
"points": PackedFloat32Array(0, 0, 0, 0.2, 0, -100, 0, 0, 0, 0),
|
|
"times": PackedFloat32Array(0, 0.2)
|
|
}
|
|
tracks/1/type = "value"
|
|
tracks/1/imported = false
|
|
tracks/1/enabled = true
|
|
tracks/1/path = NodePath(".:modulate")
|
|
tracks/1/interp = 1
|
|
tracks/1/loop_wrap = true
|
|
tracks/1/keys = {
|
|
"times": PackedFloat32Array(0, 0.2),
|
|
"transitions": PackedFloat32Array(1, 1),
|
|
"update": 0,
|
|
"values": [Color(1, 1, 1, 1), Color(1, 1, 1, 0)]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_cdtmv"]
|
|
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_a0fqf"]
|
|
resource_name = "spawn"
|
|
length = 0.2
|
|
step = 0.1
|
|
tracks/0/type = "bezier"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath(".:position:x")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"handle_modes": PackedInt32Array(2, 0),
|
|
"points": PackedFloat32Array(-100, 0, 0, 0, 0, 0, -0.2, 0, 0, 0),
|
|
"times": PackedFloat32Array(0, 0.2)
|
|
}
|
|
tracks/1/type = "value"
|
|
tracks/1/imported = false
|
|
tracks/1/enabled = true
|
|
tracks/1/path = NodePath(".:modulate")
|
|
tracks/1/interp = 1
|
|
tracks/1/loop_wrap = true
|
|
tracks/1/keys = {
|
|
"times": PackedFloat32Array(0, 0.2),
|
|
"transitions": PackedFloat32Array(1, 1),
|
|
"update": 0,
|
|
"values": [Color(1, 1, 1, 0), Color(1, 1, 1, 1)]
|
|
}
|
|
|
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_y5axk"]
|
|
_data = {
|
|
&"RESET": SubResource("Animation_k65pw"),
|
|
&"destroy": SubResource("Animation_3x2nv"),
|
|
&"loop": SubResource("Animation_cdtmv"),
|
|
&"spawn": SubResource("Animation_a0fqf")
|
|
}
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_k65pw"]
|
|
size = Vector2(734, 56)
|
|
|
|
[node name="BlockWall" unique_id=5571707 instance=ExtResource("1_3kq6o")]
|
|
script = ExtResource("2_3x2nv")
|
|
speed = -10.0
|
|
baseDamage = 0.0
|
|
motionType = 3
|
|
penerate = 1.0
|
|
lifeTime = 1000.0
|
|
autoSpawnAnimation = true
|
|
autoDestroyAnimation = true
|
|
|
|
[node name="texture" parent="." index="0" unique_id=162977358]
|
|
sprite_frames = SubResource("SpriteFrames_3x2nv")
|
|
|
|
[node name="animator" parent="texture" index="0" unique_id=1114087117]
|
|
libraries/ = SubResource("AnimationLibrary_y5axk")
|
|
|
|
[node name="hitbox" parent="." index="1" unique_id=175349408]
|
|
rotation = 1.5707964
|
|
shape = SubResource("RectangleShape2D_k65pw")
|