ft: made sprite behaviour consistent across entities

This commit is contained in:
djaidjai committed 2026-03-07 13:12:18 +01:00
1 parent da15fb77a2
commit 1fbc2f6637
9 files changed
+21 -16

No files matched your search

@@ -28,7 +28,7 @@ func _ready() -> void:
var screen_size = get_viewport_rect().size
GameManager.init_screen_size(screen_size.x, screen_size.y)
attack_area.monitoring = false # no collision until attacking TODO: Thing about being attacked
attack_area.monitoring = false # no collision until attacking TODO: Think about being attacked
attack_timer.wait_time = attack_duration
attack_cooldown_timer.wait_time = attack_cooldown_duration
@@ -36,7 +36,6 @@ func _ready() -> void:
func _process(delta):
# TODO: Connects this to some respawn screen
if isAlive:
velocity = Vector2.ZERO
if Input.is_action_pressed("move_right"):
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.