ft (wip): tracking across boundaries

This commit is contained in:
djaidjai committed 2026-02-07 18:13:32 +01:00
1 parent 0f06846157
commit bc582efb90
12 files changed
+93 -43

No files matched your search

@@ -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
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.