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
15
entities/bee/states/bee_death.gd
Normal file
15
entities/bee/states/bee_death.gd
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
extends State
|
||||
class_name BeeDeath
|
||||
|
||||
@onready var bee = get_parent().get_parent() as Bee
|
||||
|
||||
|
||||
func enter(_msg := {}):
|
||||
bee.bee_position_animation.play("Death")
|
||||
bee.bee_wing_animation.stop()
|
||||
|
||||
func update(_delta : float) -> void:
|
||||
pass
|
||||
|
||||
func physics_update(_delta : float) -> void:
|
||||
pass
|
||||
Loading…
Add table
Add a link
Reference in a new issue