2025-08-29 11:37:25 +08:00
|
|
|
[gd_scene load_steps=8 format=3 uid="uid://crtdkysmnkith"]
|
2025-08-26 11:39:47 +08:00
|
|
|
|
|
|
|
|
[ext_resource type="Script" path="res://scripts/Statemachine/BulletBase.gd" id="1_pklpq"]
|
|
|
|
|
|
|
|
|
|
[sub_resource type="SpriteFrames" id="SpriteFrames_vypy3"]
|
|
|
|
|
|
2025-08-29 12:42:44 +08:00
|
|
|
[sub_resource type="Animation" id="Animation_oinqg"]
|
|
|
|
|
resource_name = "destroy"
|
|
|
|
|
length = 0.5
|
|
|
|
|
step = 0.1
|
|
|
|
|
|
2025-08-27 15:38:30 +08:00
|
|
|
[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]
|
|
|
|
|
}
|
|
|
|
|
|
2025-08-27 18:56:55 +08:00
|
|
|
[sub_resource type="Animation" id="Animation_kmogx"]
|
|
|
|
|
resource_name = "spawn"
|
|
|
|
|
|
2025-08-27 13:30:50 +08:00
|
|
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_dxweq"]
|
|
|
|
|
_data = {
|
2025-08-29 11:37:25 +08:00
|
|
|
"destroy": SubResource("Animation_oinqg"),
|
2025-08-27 15:38:30 +08:00
|
|
|
"loop": SubResource("Animation_ynxlt"),
|
2025-08-27 13:30:50 +08:00
|
|
|
"spawn": SubResource("Animation_kmogx")
|
|
|
|
|
}
|
|
|
|
|
|
2025-08-26 11:39:47 +08:00
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_ecl7m"]
|
|
|
|
|
|
|
|
|
|
[node name="BulletBase" type="Area2D"]
|
|
|
|
|
script = ExtResource("1_pklpq")
|
|
|
|
|
|
|
|
|
|
[node name="texture" type="AnimatedSprite2D" parent="."]
|
2025-08-27 14:55:34 +08:00
|
|
|
unique_name_in_owner = true
|
2025-08-26 11:39:47 +08:00
|
|
|
sprite_frames = SubResource("SpriteFrames_vypy3")
|
|
|
|
|
|
2025-08-27 13:30:50 +08:00
|
|
|
[node name="animator" type="AnimationPlayer" parent="texture"]
|
|
|
|
|
unique_name_in_owner = true
|
|
|
|
|
libraries = {
|
|
|
|
|
"": SubResource("AnimationLibrary_dxweq")
|
|
|
|
|
}
|
|
|
|
|
|
2025-08-26 11:39:47 +08:00
|
|
|
[node name="hitbox" type="CollisionShape2D" parent="."]
|
2025-08-27 13:30:50 +08:00
|
|
|
unique_name_in_owner = true
|
2025-08-26 11:39:47 +08:00
|
|
|
shape = SubResource("CircleShape2D_ecl7m")
|