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

@ -7,11 +7,11 @@ var bee = preload("res://entities/Bee.tscn")
@onready var bee_sound = get_node("BigBeeSound")
@onready var small_bee_sound = get_node("BeeSound")
var bee_count = 0
var max_bees = 100
var spawn_interval = 0.5
var spawn_timer = 0.0
var bee_sound_timer = 0.0
var bee_count : int = 0
var max_bees : int = 100
var spawn_interval : float = 0.5
var spawn_timer : float = 0.0
var bee_sound_timer : float = 0.0
func spawn_bee():
var bee_instance = bee.instantiate()