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

81 lines
2.3 KiB
Plaintext

[gd_scene load_steps=8 format=4]
[ext_resource type="Texture2D" path="res://Sprites/Menus/gui.png" id="1"]
[ext_resource type="Script" path="res://Scripts/Bullets/MoveAhead.cs" id="2"]
[ext_resource type="AudioStream" path="res://Audio/Sounds/snd_yellow_soul_shoot.wav" id="3"]
[sub_resource type="CircleShape2D" id="CircleShape2D_4m3xg"]
radius = 8.0
[sub_resource type="Animation" id="Animation_8vel8"]
length = 0.0010000000474974513
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath(".:scale")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Vector2(1.2, 1)]
}
[sub_resource type="Animation" id="Animation_8w4f3"]
resource_name = "new_animation"
loop_mode = 2
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath(".:scale")
tracks/0/interp = 2
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 1),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [Vector2(1.2, 1), Vector2(1, 1.2)]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_jsjhx"]
_data = {
&"RESET": SubResource("Animation_8vel8"),
&"new_animation": SubResource("Animation_8w4f3")
}
[node name="WaterBullet" type="Sprite2D"]
scale = Vector2(1.2, 1)
texture = ExtResource("1")
region_enabled = true
region_rect = Rect2(180, 135, 16, 14)
region_filter_clip_enabled = true
script = ExtResource("2")
lifeTime = 1000.0
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
stream = ExtResource("3")
pitch_scale = 0.8700000047683716
autoplay = true
bus = &"Sound"
[node name="Area2D" type="Area2D" parent="."]
collision_layer = 128
collision_mask = 128
metadata/WaterBullet = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
shape = SubResource("CircleShape2D_4m3xg")
[node name="VisibleOnScreenNotifier2D" type="VisibleOnScreenNotifier2D" parent="."]
position = Vector2(-4.17233e-07, -2.38419e-07)
scale = Vector2(0.8, 0.7)
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
libraries = {
&"": SubResource("AnimationLibrary_jsjhx")
}
autoplay = "new_animation"
[connection signal="screen_exited" from="VisibleOnScreenNotifier2D" to="." method="queue_free"]