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

@@ -6,6 +6,7 @@ var dir: Vector3 = Vector3(0,0,0);
func enter(previous_state_path: String, data := {}) -> void:
timer.start((float)(randi() % 10)/5)
dir = calc_dir(randi() % 360)
owner.play_sprite(owner.idle_sprite)
func physics_update(_delta: float) -> void:
owner.move(dir)
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.