2025-05-13 19:22:01 +08:00

38 lines
1.2 KiB
Plaintext

[gd_scene load_steps=5 format=4]
[ext_resource type="Texture2D" path="res://Sprites/Menus/gui.png" id="1"]
[ext_resource type="Script" path="res://Scripts/Bullets/SoulBullet.cs" id="2"]
[ext_resource type="AudioStream" path="res://Audio/Sounds/snd_yellow_soul_shoot.wav" id="3"]
[sub_resource type="CircleShape2D" id="CircleShape2D_x25jk"]
radius = 8.0
[node name="SoulBullet" type="Sprite2D" node_paths=PackedStringArray("area")]
scale = Vector2(0.4, 0.4)
texture = ExtResource("1")
offset = Vector2(-4, 0)
region_enabled = true
region_rect = Rect2(115, 91, 26, 11)
region_filter_clip_enabled = true
script = ExtResource("2")
area = NodePath("Area2D")
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
stream = ExtResource("3")
autoplay = true
bus = &"Sound"
[node name="Area2D" type="Area2D" parent="."]
scale = Vector2(1, 0.64)
collision_layer = 4
collision_mask = 4
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
shape = SubResource("CircleShape2D_x25jk")
[node name="VisibleOnScreenNotifier2D" type="VisibleOnScreenNotifier2D" parent="."]
position = Vector2(-4, 0)
scale = Vector2(1.4, 0.64)
[connection signal="screen_exited" from="VisibleOnScreenNotifier2D" to="." method="queue_free"]