[gd_scene load_steps=8 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"] [ext_resource type="PackedScene" uid="uid://cpv7y67qtmino" path="res://Scenes/UI/upgrades.tscn" id="2_vdy4r"] [ext_resource type="Script" path="res://Scripts/PlayArea.gd" id="3_3x1i6"] [ext_resource type="PackedScene" uid="uid://c4dtrk2kooa6q" path="res://Scenes/UI/ingame_ui.tscn" id="3_wm6l6"] [sub_resource type="RectangleShape2D" id="RectangleShape2D_g5fj2"] size = Vector2(1841, 1003) [node name="GameWorld" type="Node2D"] script = ExtResource("1_c2sx0") [node name="Location" type="Node2D" parent="."] [node name="Upgrades" parent="." instance=ExtResource("2_vdy4r")] visible = false [node name="InGameUI" parent="." instance=ExtResource("3_wm6l6")] [node name="Cupcake Spawn Timer" type="Timer" parent="."] wait_time = 5.0 autostart = true script = ExtResource("2_bjylp") [node name="Cupcakes" type="Node2D" parent="."] [node name="Cupcake" parent="Cupcakes" instance=ExtResource("2_fi3r2")] position = Vector2(283, -176) [node name="PlayArea" type="Area2D" parent="."] light_mask = 3 visibility_layer = 3 collision_layer = 3 collision_mask = 3 script = ExtResource("3_3x1i6") [node name="CollisionShape2D" type="CollisionShape2D" parent="PlayArea"] position = Vector2(961.5, 533.5) shape = SubResource("RectangleShape2D_g5fj2") [connection signal="condensedCupcake1" from="." to="Cupcakes/Cupcake" method="_on_game_world_condensed_cupcake_1"] [connection signal="condensedCupcake1" from="Upgrades" to="." method="_on_upgrades_condensed_cupcake_1"] [connection signal="fasterCupcake" from="Upgrades" to="." method="_on_upgrades_faster_cupcake"] [connection signal="oneMoreCupcake" from="Upgrades" to="." method="_on_upgrades_one_more_cupcake"] [connection signal="timeout" from="Cupcake Spawn Timer" to="." method="_on_timeout"] [connection signal="ccVanCollected" from="Cupcakes/Cupcake" to="." method="_on_cupcake_cc_van_collected"] [connection signal="body_exited" from="PlayArea" to="." method="_on_play_area_body_exited"] [connection signal="body_exited" from="PlayArea" to="Cupcakes/Cupcake" method="_on_play_area_body_exited"]