[gd_scene load_steps=4 format=3 uid="uid://mk5n0hrwk4yi"] [ext_resource type="Script" path="res://scenes/scripts/test_level.gd" id="1_lgt1m"] [ext_resource type="Script" path="res://scenes/scripts/drone_manager.gd" id="2_474nc"] [ext_resource type="Script" path="res://scenes/scripts/drone_controls.gd" id="3_rqkyv"] [node name="TestLevel" type="Node2D"] script = ExtResource("1_lgt1m") [node name="Background" type="Polygon2D" parent="."] position = Vector2(52, -26) color = Color(0.329412, 0.494118, 0.392157, 1) polygon = PackedVector2Array(-141, -86, 1456, -97, 1337, 753, -193, 771) [node name="Beehive" type="Polygon2D" parent="."] position = Vector2(-37, 87) color = Color(0.588235, 0.423529, 0.423529, 1) polygon = PackedVector2Array(95, 146, 203, 134, 186, 274, 78, 287) [node name="Flower" type="Polygon2D" parent="."] position = Vector2(648, 225) scale = Vector2(0.435897, 0.276596) color = Color(0.301961, 0.607843, 0.901961, 1) polygon = PackedVector2Array(752, 145, 875, 200, 893, 272, 866, 359, 781, 427, 715, 362, 659, 226) [node name="Pesticide" type="Polygon2D" parent="."] position = Vector2(74.7948, -103.963) scale = Vector2(0.851611, 0.815599) color = Color(0.682353, 0.137255, 0.203922, 1) polygon = PackedVector2Array(441, 122, 520, 54, 548, 154, 625, 114, 593, 234, 686, 281, 581, 325, 605, 472, 512, 363, 399, 468, 429, 311, 239, 362, 322, 226, 152, 92, 345, 130, 346, 15) [node name="Dog" type="Polygon2D" parent="."] position = Vector2(-354, 53) color = Color(0.803922, 0.407843, 0.239216, 1) polygon = PackedVector2Array(819, 301, 866, 278, 888, 364, 842, 319, 832, 373, 806, 423, 775, 424, 754, 377, 762, 319, 728, 360, 739, 263, 765, 284) [node name="DroneManager" type="Node2D" parent="."] script = ExtResource("2_474nc") [node name="SpawnedDrones" type="Node2D" parent="DroneManager"] [node name="Control" type="Control" parent="DroneManager"] top_level = true layout_mode = 3 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 metadata/_edit_use_anchors_ = true [node name="DroneControls" type="HBoxContainer" parent="DroneManager/Control"] unique_name_in_owner = true layout_mode = 1 anchors_preset = 7 anchor_left = 0.5 anchor_top = 1.0 anchor_right = 0.5 anchor_bottom = 1.0 offset_left = -155.5 offset_top = -31.0 offset_right = 155.5 grow_horizontal = 2 grow_vertical = 0 size_flags_vertical = 10 alignment = 1 script = ExtResource("3_rqkyv") [node name="SpawnDirector" type="Button" parent="DroneManager/Control/DroneControls"] layout_mode = 2 tooltip_text = "Place a director drone, these are the main drones that define the path bees should follow. The order bees should visit these drones can be defined by clicking on them." text = "Director" [node name="SpawnCollector" type="Button" parent="DroneManager/Control/DroneControls"] layout_mode = 2 tooltip_text = "Place a drone that encourages bees to collect pollen near this area." text = "Collector" [node name="SpawnDistractor" type="Button" parent="DroneManager/Control/DroneControls"] layout_mode = 2 tooltip_text = "Place a distracting drone that will (hopefully) divert threats attention so they ignore the bees." text = "Distractor" [node name="SpawnDancer" type="Button" parent="DroneManager/Control/DroneControls"] layout_mode = 2 tooltip_text = "Spawn a dancing drone that will encourage bees to leave the hive. Best to put this near to the hive. " text = "Dancer" [connection signal="pressed" from="DroneManager/Control/DroneControls/SpawnDirector" to="DroneManager" method="_on_spawn_director_pressed"] [connection signal="pressed" from="DroneManager/Control/DroneControls/SpawnCollector" to="DroneManager" method="_on_spawn_collector_pressed"] [connection signal="pressed" from="DroneManager/Control/DroneControls/SpawnDistractor" to="DroneManager" method="_on_spawn_distractor_pressed"] [connection signal="pressed" from="DroneManager/Control/DroneControls/SpawnDancer" to="DroneManager" method="_on_spawn_dancer_pressed"]