f524cb978258e2b0201bafa2bb93b7b54c28f7d4
Units now animate before their nodes are rebuilt: Deferred rebuild - _schedule_rebuild(state, delay) uses a Tween to hold off _rebuild_units until animations finish; a new state cancels and replaces the pending rebuild - POST_ANIM_SECS (1.2s) delay for attack / damaged / dying one-shots - Hand and HUD update immediately; only the board is delayed BFS movement animation - _bfs_path() does 4-directional BFS avoiding other units' old positions - _animate_unit_move() tweens the StaticBody3D through each grid step (EASE_IN_OUT / TRANS_SINE, 0.28s per cell) while playing the Moving loop - Returns to Idle automatically when the tween finishes - rebuild delay = max(move duration, POST_ANIM_SECS if damage played) - Model load callback skips position reset if a move tween owns the body Housekeeping - _play_damage_animations now returns bool (triggered any anim?) - _update_prev_state() replaces HP/pos tracking that was in _rebuild_units - _rebuild_units kills all in-flight move tweens before destroying nodes Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude <noreply@anthropic.com> Co-Authored-By: Happy <yesreply@happy.engineering>
Description
No description provided
53 MiB
Languages
C#
52.7%
HTML
24.9%
GDScript
21.2%
CSS
0.8%
Python
0.3%
Other
0.1%