fruit-jump/sounds/Pfeil.tscn
2025-02-10 17:00:17 +01:00

44 lines
1.4 KiB
Plaintext

[gd_scene load_steps=6 format=3 uid="uid://ou3trh4gclud"]
[ext_resource type="Script" path="res://sounds/pfeil.gd" id="1_xefce"]
[ext_resource type="Texture2D" uid="uid://cmeouvavvv37q" path="res://sounds/Image20240915160628.png" id="2_wurpl"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_amkib"]
size = Vector2(54, 14.5)
[sub_resource type="RectangleShape2D" id="RectangleShape2D_bmg64"]
size = Vector2(1.9, 8.1)
[sub_resource type="RectangleShape2D" id="RectangleShape2D_thc6g"]
size = Vector2(3, 1.8)
[node name="Pfeil" type="Area2D" groups=["Gegner"]]
script = ExtResource("1_xefce")
speed = 300
[node name="Pfeil" type="Sprite2D" parent="."]
texture_filter = 1
position = Vector2(37, 3)
scale = Vector2(5, 5)
texture = ExtResource("2_wurpl")
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2(26, 2.75)
shape = SubResource("RectangleShape2D_amkib")
[node name="DieTimer" type="Timer" parent="."]
wait_time = 10.0
autostart = true
[node name="CollisionShape2D2" type="CollisionShape2D" parent="."]
position = Vector2(57.25, 2.75)
scale = Vector2(5, 5)
shape = SubResource("RectangleShape2D_bmg64")
[node name="CollisionShape2D3" type="CollisionShape2D" parent="."]
position = Vector2(69.5, 3)
scale = Vector2(5, 5)
shape = SubResource("RectangleShape2D_thc6g")
[connection signal="timeout" from="DieTimer" to="." method="_on_die_timer_timeout"]