2025-05-03 20:39:06 +08:00

87 lines
2.4 KiB
Plaintext

[gd_scene load_steps=9 format=4]
[ext_resource type="Script" path="res://Scripts/Battle/BulletBoards.cs" id="1"]
[ext_resource type="Script" path="res://Scripts/Bullets/WaveBullets.cs" id="2"]
[ext_resource type="Texture2D" path="res://Sprites/Menus/gui.png" id="3"]
[ext_resource type="Script" path="res://Scripts/Bullets/MoveAhead.cs" id="4"]
[sub_resource type="Animation" id="Animation_2foep"]
length = 0.0010000000474974513
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath(".:flip_h")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [false]
}
[sub_resource type="Animation" id="Animation_w4qcw"]
resource_name = "new_animation"
length = 0.4000000059604645
loop_mode = 1
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath(".:flip_h")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.2),
"transitions": PackedFloat32Array(1, 1),
"update": 1,
"values": [false, true]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_vh3sq"]
_data = {
&"RESET": SubResource("Animation_2foep"),
&"new_animation": SubResource("Animation_w4qcw")
}
[sub_resource type="CircleShape2D" id="CircleShape2D_75yq3"]
radius = 7.0
[node name="FoxFirstAttack" type="CanvasGroup"]
script = ExtResource("1")
boardStartOffset = Vector2(-60, 0)
[node name="Logic" type="Node2D" parent="." node_paths=PackedStringArray("bullets")]
position = Vector2(121, -4)
script = ExtResource("2")
bullets = [NodePath("../Flame")]
maxAngle = 90.0
speed = 0.7
skip = 0
skipVariance = 0
bulletsPerWave = 6
[node name="Flame" type="Sprite2D" parent="."]
process_mode = 4
self_modulate = Color(0, 1, 1, 1)
position = Vector2(0, -352)
scale = Vector2(0.75, 0.75)
texture = ExtResource("3")
region_enabled = true
region_rect = Rect2(110, 144, 15, 16)
region_filter_clip_enabled = true
script = ExtResource("4")
type = 1
[node name="AnimationPlayer" type="AnimationPlayer" parent="Flame"]
libraries = {
&"": SubResource("AnimationLibrary_vh3sq")
}
autoplay = "new_animation"
[node name="Area2D" type="Area2D" parent="Flame"]
collision_layer = 4
collision_mask = 4
[node name="CollisionShape2D" type="CollisionShape2D" parent="Flame/Area2D"]
shape = SubResource("CircleShape2D_75yq3")