[gd_scene load_steps=4 format=3 uid="uid://ct3c16xm33r2a"] [ext_resource type="Script" path="res://scenes/scripts/drone_manager.gd" id="1_jkvsa"] [ext_resource type="Theme" uid="uid://cpkvret5gi66h" path="res://resources/theme/game_theme.tres" id="2_l0re0"] [ext_resource type="Script" path="res://scenes/scripts/drone_controls.gd" id="3_idi5h"] [node name="DroneManager" type="Node2D" groups=["dronemanager"]] z_index = 50 script = ExtResource("1_jkvsa") [node name="SpawnedDrones" type="Node2D" parent="."] [node name="Control" type="Control" parent="."] 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="MarginContainer" type="MarginContainer" parent="Control"] 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 theme = ExtResource("2_l0re0") theme_override_constants/margin_left = 10 theme_override_constants/margin_top = 10 theme_override_constants/margin_right = 10 theme_override_constants/margin_bottom = 10 [node name="DroneControls" type="HBoxContainer" parent="Control/MarginContainer"] unique_name_in_owner = true layout_mode = 2 size_flags_vertical = 10 alignment = 1 script = ExtResource("3_idi5h") [node name="SpawnDirector" type="Button" parent="Control/MarginContainer/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="Control/MarginContainer/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="Control/MarginContainer/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="Control/MarginContainer/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="Control/MarginContainer/DroneControls/SpawnDirector" to="." method="_on_spawn_director_pressed"] [connection signal="pressed" from="Control/MarginContainer/DroneControls/SpawnCollector" to="." method="_on_spawn_collector_pressed"] [connection signal="pressed" from="Control/MarginContainer/DroneControls/SpawnDistractor" to="." method="_on_spawn_distractor_pressed"] [connection signal="pressed" from="Control/MarginContainer/DroneControls/SpawnDancer" to="." method="_on_spawn_dancer_pressed"]