Update Dog entity with new animations, textures, and highlight feature. Adjust Flower rotation. Decrease level 4 par time. Add outline functionality to Drone Manager for Dog entity highlighting.

This commit is contained in:
Dan 2024-05-12 09:16:58 +01:00
parent 11f8c1d815
commit 6e6a231300
5 changed files with 61 additions and 6 deletions

View file

@ -2,6 +2,7 @@ extends Node2D
class_name Dog
@onready var death_box = $DeathBox
@onready var outline = $AreaHighlight
var acquired_target : Bee = null
var target_timer : float = 0.0
@ -23,7 +24,13 @@ func _process(delta):
acquired_target.die()
acquired_target = null
target_timer = 0.0
return
return
func show_outline():
outline.visible = true
func hide_outline():
outline.visible = false
func _on_body_entered(area):