1
Fork 0
mirror of https://github.com/Steffo99/swear-jar.git synced 2024-11-22 07:44:17 +00:00
swear-jar/spawner/spawner.tscn

23 lines
639 B
Text
Raw Normal View History

2023-09-30 20:53:38 +00:00
[gd_scene load_steps=3 format=3 uid="uid://c67lfbk4gf1ga"]
2023-09-30 18:16:14 +00:00
[ext_resource type="Script" path="res://spawner/spawner.gd" id="1_xqfmg"]
2023-09-30 20:53:38 +00:00
[sub_resource type="RectangleShape2D" id="RectangleShape2D_xnebx"]
size = Vector2(100, 20)
2023-09-30 18:16:14 +00:00
[node name="Spawner" type="Node2D"]
script = ExtResource("1_xqfmg")
[node name="Timer" type="Timer" parent="."]
2023-09-30 21:59:28 +00:00
wait_time = 0.1
2023-09-30 18:16:14 +00:00
autostart = true
2023-09-30 20:53:38 +00:00
[node name="Area2D" type="Area2D" parent="."]
collision_mask = 4
[node name="Shape" type="CollisionShape2D" parent="Area2D"]
2023-09-30 21:59:28 +00:00
position = Vector2(0, -15)
2023-09-30 20:53:38 +00:00
shape = SubResource("RectangleShape2D_xnebx")
2023-09-30 18:16:14 +00:00
[connection signal="timeout" from="Timer" to="." method="spawn"]