22 Commits

Author SHA1 Message Date
1986228670 Refactor spell casts to use task utilities and simplify callbacks
Add task.chain utility for chaining asynchronous tasks
2026-02-01 03:56:18 +03:00
403ba5a03f Add Task.wait to combine multiple tasks into one
Add TestRunner for running asynchronous tests with update support

Add test for Task.wait to verify concurrent task completion

Add set method to Counter for explicit value assignment
2026-01-31 02:11:55 +03:00
86a599723e TLDR: higher-order functions my beloved
Add counter utility and chain async animations in spell cast

Introduce a Counter module to coordinate multiple asynchronous
animation callbacks and update spellbook cast to run chained
animations sequentially. Also lock selector during AI turns.
2026-01-29 02:32:58 +03:00
93a4961419 high-order functions my beloved 2026-01-25 07:05:45 +03:00
4ee7b62ae4 trying to update to main branch, and SWEAR TO GOD THIS SOMETHING BREAK 2026-01-17 10:57:38 +03:00
4883cc0e0c rewrite all COMPLETELY because im suck at this shit fr 🥀🥀🥀 2026-01-16 14:28:56 +03:00
5c1a0b0c19 Refactor FontManager theme loading and add default theme getter 2025-12-14 23:23:52 +03:00
29e001e20f implement FontManager 2025-12-14 23:04:52 +03:00
00f3db4ff9 allow loading arbitrary files as FileData 2025-12-14 23:04:41 +03:00
28b0384285 init audio and hurt sound 2025-11-11 16:26:20 +03:00
c16870102b Merge pull request 'turn-order' (#17) from turn-order into main
Reviewed-on: #17
2025-11-09 17:56:09 +03:00
6b2fb08a5b Reimplement turn order management and update character initiative logic 2025-11-09 06:35:51 +03:00
538bd1df33 feature/simple_ui (#18)
#15
Реализовано втупую и всякие выравнивания с текстами надо добавлять вручную.
Зато у нас есть поддержка анимаций и дерева матриц преобразования.
Вообще UI - это просто иерархия прямоугольников на экране.

Reviewed-on: #18
2025-11-08 01:32:46 +03:00
3838037006 Add pickQuad method to spriteAtlas for random quad selection 2025-11-02 05:57:56 +03:00
aec916cd14 Rename tileMap to spriteAtlas and update references accordingly 2025-10-26 02:01:45 +03:00
0db8fc5239 refactor behavior tree def & removed dependencies from behavior logic 2025-10-13 22:48:38 +03:00
e8bb7306ac Create priority_queue.lua 2025-09-07 14:27:02 +03:00
7000f0fb4d tile grid implementation 2025-08-30 21:06:03 +03:00
a29609018d add deep-copy method 2025-08-17 06:19:17 +03:00
df22b9ea3f refactor lerp 2025-08-15 06:12:53 +03:00
0993b03088 Create deque.lua 2025-08-15 05:52:38 +03:00
e65a078fb6 рай эпилептика
Co-authored-by: Ivan Yuriev <ivanyr44@gmail.com>
2025-08-11 02:50:41 +03:00