ft (wip): tracking across boundaries
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
extends AbstractPredator2D
|
||||
|
||||
# FIXME: (general) tracking across wrapping boundary
|
||||
# TODO: mirroring (thought, extracct that to general function/resource?
|
||||
|
||||
var can_attack: bool = true
|
||||
var desired_rotation: float = self.rotation
|
||||
@@ -19,7 +18,7 @@ func _ready() -> void:
|
||||
health = maxHealth
|
||||
sprite.play("Healthy")
|
||||
|
||||
|
||||
|
||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||
func _process(delta: float) -> void:
|
||||
# smoothly rotate
|
||||
|
||||
Reference in New Issue
Block a user