[gd_scene load_steps=5 format=3 uid="uid://dlypem0porccr"] [ext_resource type="Script" path="res://Scripts/game_world.gd" id="1_c2sx0"] [ext_resource type="Script" path="res://Scripts/Cupcake Spawn Timer.gd" id="2_bjylp"] [ext_resource type="PackedScene" uid="uid://dswkgkor3yejo" path="res://Scenes/Cupcakes/cupcake.tscn" id="2_fi3r2"] [sub_resource type="RectangleShape2D" id="RectangleShape2D_sh03e"] size = Vector2(1943, 1102) [node name="GameWorld" type="Node2D"] script = ExtResource("1_c2sx0") [node name="Location" type="Node2D" parent="."] [node name="Cupcake Spawn Timer" type="Timer" parent="."] wait_time = 2.0 autostart = true script = ExtResource("2_bjylp") [node name="PlayArea" type="Area2D" parent="."] collision_layer = 3 collision_mask = 3 [node name="Cupcake" parent="PlayArea" instance=ExtResource("2_fi3r2")] [node name="CollisionShape2D" type="CollisionShape2D" parent="PlayArea"] position = Vector2(961.5, 541) shape = SubResource("RectangleShape2D_sh03e") disabled = true [connection signal="timeout" from="Cupcake Spawn Timer" to="." method="_on_timeout"] [connection signal="area_exited" from="PlayArea" to="." method="_on_play_area_area_exited"] [connection signal="body_exited" from="PlayArea" to="." method="_on_play_area_body_exited"]