mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-05-28 15:01:53 +08:00
f52f7cda8e
refactor(子弹基类): 重构销毁逻辑防止重复调用 fix(敌人): 调整小鸡boss的出现波次和激光音效 style(场景文件): 整理动画资源顺序
57 lines
1.5 KiB
Plaintext
57 lines
1.5 KiB
Plaintext
[gd_scene load_steps=8 format=3 uid="uid://crtdkysmnkith"]
|
|
|
|
[ext_resource type="Script" path="res://scripts/Statemachine/BulletBase.gd" id="1_pklpq"]
|
|
|
|
[sub_resource type="SpriteFrames" id="SpriteFrames_vypy3"]
|
|
|
|
[sub_resource type="Animation" id="Animation_oinqg"]
|
|
resource_name = "destroy"
|
|
length = 0.5
|
|
step = 0.1
|
|
|
|
[sub_resource type="Animation" id="Animation_ynxlt"]
|
|
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_kmogx"]
|
|
resource_name = "spawn"
|
|
|
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_dxweq"]
|
|
_data = {
|
|
"destroy": SubResource("Animation_oinqg"),
|
|
"loop": SubResource("Animation_ynxlt"),
|
|
"spawn": SubResource("Animation_kmogx")
|
|
}
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_ecl7m"]
|
|
|
|
[node name="BulletBase" type="Area2D"]
|
|
script = ExtResource("1_pklpq")
|
|
|
|
[node name="texture" type="AnimatedSprite2D" parent="."]
|
|
unique_name_in_owner = true
|
|
sprite_frames = SubResource("SpriteFrames_vypy3")
|
|
|
|
[node name="animator" type="AnimationPlayer" parent="texture"]
|
|
unique_name_in_owner = true
|
|
libraries = {
|
|
"": SubResource("AnimationLibrary_dxweq")
|
|
}
|
|
|
|
[node name="hitbox" type="CollisionShape2D" parent="."]
|
|
unique_name_in_owner = true
|
|
shape = SubResource("CircleShape2D_ecl7m")
|