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
122 lines
3.3 KiB
Plaintext
122 lines
3.3 KiB
Plaintext
[gd_scene format=3 uid="uid://dlrpoaw7tvk4f"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://crtdkysmnkith" path="res://components/Abstracts/BulletBase.tscn" id="1_aqfa8"]
|
|
[ext_resource type="Script" uid="uid://c1yuakupcia1u" path="res://scripts/Contents/Bullets/Cement.gd" id="2_4j0u0"]
|
|
[ext_resource type="Texture2D" uid="uid://u2x7yggx8ga2" path="res://resources/bullets/cement/cement.png" id="2_rsq0g"]
|
|
|
|
[sub_resource type="SpriteFrames" id="SpriteFrames_4j0u0"]
|
|
animations = [{
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": ExtResource("2_rsq0g")
|
|
}],
|
|
"loop": true,
|
|
"name": &"default",
|
|
"speed": 5.0
|
|
}]
|
|
|
|
[sub_resource type="Animation" id="Animation_rsq0g"]
|
|
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 = "value"
|
|
tracks/1/imported = false
|
|
tracks/1/enabled = true
|
|
tracks/1/path = NodePath("%texture/..:speed")
|
|
tracks/1/interp = 1
|
|
tracks/1/loop_wrap = true
|
|
tracks/1/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 0,
|
|
"values": [10.0]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_4j0u0"]
|
|
resource_name = "destroy"
|
|
length = 0.5
|
|
step = 0.1
|
|
|
|
[sub_resource type="Animation" id="Animation_rxm0l"]
|
|
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_7mqyx"]
|
|
resource_name = "spawn"
|
|
length = 10.0
|
|
step = 0.1
|
|
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, 2),
|
|
"points": PackedFloat32Array(0, -0.25, 0, 0, 0, 12.56, -1, 0, 0, 0),
|
|
"times": PackedFloat32Array(0, 1)
|
|
}
|
|
tracks/1/type = "value"
|
|
tracks/1/imported = false
|
|
tracks/1/enabled = true
|
|
tracks/1/path = NodePath("%texture/..:speed")
|
|
tracks/1/interp = 1
|
|
tracks/1/loop_wrap = true
|
|
tracks/1/keys = {
|
|
"times": PackedFloat32Array(0, 1),
|
|
"transitions": PackedFloat32Array(1, 1),
|
|
"update": 0,
|
|
"values": [10.0, 0.0]
|
|
}
|
|
|
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_g12wc"]
|
|
_data = {
|
|
&"RESET": SubResource("Animation_rsq0g"),
|
|
&"destroy": SubResource("Animation_4j0u0"),
|
|
&"loop": SubResource("Animation_rxm0l"),
|
|
&"spawn": SubResource("Animation_7mqyx")
|
|
}
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_b8r1x"]
|
|
radius = 76.105194
|
|
|
|
[node name="Cement" unique_id=5571707 instance=ExtResource("1_aqfa8")]
|
|
script = ExtResource("2_4j0u0")
|
|
baseDamage = 0.0
|
|
motionType = 3
|
|
penerate = 1.0
|
|
autoSpawnAnimation = true
|
|
freeAfterSpawn = true
|
|
|
|
[node name="texture" parent="." index="0" unique_id=162977358]
|
|
scale = Vector2(0.7, 0.7)
|
|
sprite_frames = SubResource("SpriteFrames_4j0u0")
|
|
|
|
[node name="animator" parent="texture" index="0" unique_id=1114087117]
|
|
libraries/ = SubResource("AnimationLibrary_g12wc")
|
|
|
|
[node name="hitbox" parent="." index="1" unique_id=175349408]
|
|
shape = SubResource("CircleShape2D_b8r1x")
|