Bee flying animation, dancing drone

This commit is contained in:
Dan Baker 2024-05-03 20:39:41 +01:00
parent 7c3bca07f9
commit bce75a9a97
13 changed files with 154 additions and 21 deletions

22
entities/Beehive.tscn Normal file
View file

@ -0,0 +1,22 @@
[gd_scene load_steps=3 format=3 uid="uid://dyu4mucawjlu6"]
[ext_resource type="Script" path="res://entities/scripts/beehive.gd" id="1_ej1r1"]
[sub_resource type="CircleShape2D" id="CircleShape2D_h6wmc"]
radius = 250.0
[node name="Beehive" type="Node2D"]
script = ExtResource("1_ej1r1")
[node name="BeehivePlaceholder" type="Polygon2D" parent="."]
position = Vector2(1, 0)
color = Color(0.588235, 0.423529, 0.423529, 1)
polygon = PackedVector2Array(-58, -56, 80, -30, 60, 78, -51, 108)
[node name="Area2D" type="Area2D" parent="."]
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
shape = SubResource("CircleShape2D_h6wmc")
[connection signal="area_entered" from="Area2D" to="." method="_on_area_2d_area_entered"]
[connection signal="area_exited" from="Area2D" to="." method="_on_area_2d_area_exited"]