Add RulesComponent, GameRulesResource, and BeeDeath state. Update Bee entity with death animation. Include new textures for particles. Add Highlight animation to Beehive.

This commit is contained in:
Dan 2024-05-09 15:08:57 +01:00
parent 1da411cacd
commit d879ca30bd
222 changed files with 3980 additions and 149 deletions

View file

@ -3,6 +3,14 @@ class_name Beehive
var dancer_in_range : bool = false
@onready var outline = $AreaHighlight
func show_outline():
outline.visible = true
func hide_outline():
outline.visible = false
func _on_area_2d_area_entered(area:Area2D):
if area.is_in_group("dancer"):
dancer_in_range = true