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:
parent
1da411cacd
commit
d879ca30bd
222 changed files with 3980 additions and 149 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue