[gd_scene load_steps=6 format=3 uid="uid://c120lvt4h1ukw"]

[ext_resource type="Script" path="res://sounds/pfeil_spawner.gd" id="1_apdpe"]
[ext_resource type="Texture2D" uid="uid://35bodb4pdfby" path="res://sounds/Image20240915160220.png" id="2_345ga"]
[ext_resource type="PackedScene" uid="uid://ou3trh4gclud" path="res://sounds/Pfeil.tscn" id="2_nhmlb"]
[ext_resource type="AudioStream" uid="uid://d4c7xtcalc137" path="res://sounds/ShootSound.wav" id="4_d0up0"]

[sub_resource type="RectangleShape2D" id="RectangleShape2D_o8voc"]
size = Vector2(61.5556, 70)

[node name="PfeilSpawner" type="StaticBody2D"]
script = ExtResource("1_apdpe")
pfeil_scene = ExtResource("2_nhmlb")
links = true

[node name="SpawnTimer" type="Timer" parent="."]
wait_time = 2.659
autostart = true

[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2(-4.7, 0.5)
scale = Vector2(0.9, 0.9)
shape = SubResource("RectangleShape2D_o8voc")

[node name="Image20240915160220" type="Sprite2D" parent="."]
texture_filter = 1
scale = Vector2(4, 4)
texture = ExtResource("2_345ga")

[node name="ShootSound" type="AudioStreamPlayer2D" parent="."]
position = Vector2(8, 0)
stream = ExtResource("4_d0up0")

[connection signal="timeout" from="SpawnTimer" to="." method="_on_spawn_timer_timeout"]
