145 Commits

Author SHA1 Message Date
284f2ac204 Increase camera pixelsPerMeter from 24 to 32 2025-12-22 03:53:41 +03:00
970047bded format .glsl 2025-12-15 03:28:06 +03:00
47dea647a0 make hp bar text more clear 2025-12-15 03:23:34 +03:00
af00e8abd4 Merge pull request 'feature-fonts' (#23) from feature-fonts into main
Reviewed-on: #23
2025-12-14 23:26:57 +03:00
4161044dcc make actual use of fonts 2025-12-14 23:24:17 +03:00
5c1a0b0c19 Refactor FontManager theme loading and add default theme getter 2025-12-14 23:23:52 +03:00
75550148f7 add Roboto Mono font 2025-12-14 23:23:33 +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
f5e5bce3ef Add WDXL Lubrifont TC font 2025-12-14 22:54:05 +03:00
9ce9b85dfa update outer border and end turn button visuals 2025-12-13 02:18:22 +03:00
e952d22d7f Add optional width parameter to drawBorder method 2025-12-13 01:22:05 +03:00
586ea68d2b minimal end turn button implementation 2025-12-12 05:20:11 +03:00
2012035eb6 refactor level layout 2025-12-12 02:36:51 +03:00
615738d06a allow window resizing again 2025-12-08 03:53:43 +03:00
7394249cb8 Merge pull request 'hp-bar-the-dumb-way' (#22) from hp-bar-the-dumb-way into main
Reviewed-on: #22
2025-12-07 20:35:58 +03:00
3d0d52438f add a shader for a cool pixel reveal effect 2025-12-07 20:27:48 +03:00
bc730ef48c implement hp and mana bars 2025-12-07 20:08:07 +03:00
73ba99734c add better skill hover & select visuals 2025-12-07 02:04:08 +03:00
bc1c6cfd6a add gradient like in windows aero 2025-12-07 01:57:45 +03:00
f2169d333c Add alpha mask shader and stencil-based skill icon masking 2025-12-06 21:41:43 +03:00
bcc376030c make ui use screen space dimensions add some fancy looks to the skill
row
2025-12-06 20:13:55 +03:00
c61c1875e7 Display memory usage in performance stats overlay 2025-11-19 00:00:08 +03:00
411c435e7a straightforward hp/mana bars implementation 2025-11-14 01:18:34 +03:00
a9bb7df188 fix look at the attack target 2025-11-12 03:20:21 +03:00
1376cf7041 Revert "fix sprite side on attack"
This reverts commit 59f122703302eedf5065110c4e22403eaee0242e.
2025-11-12 03:17:31 +03:00
cd8d2768e0 fix drawing spell preview after the end of a turn 2025-11-12 02:55:49 +03:00
de24808a82 fix AnimationNode state management 2025-11-12 01:46:35 +03:00
aecc9acde0 fix hidden buttons register clicks 2025-11-12 01:32:48 +03:00
187b8b3c74 Merge pull request 'feature/animateTo' (#21) from feature/animateTo into main
Reviewed-on: #21
2025-11-11 17:45:15 +03:00
e7e4071931 deleted tests 2025-11-11 00:01:42 +03:00
59f1227033 fix sprite side on attack 2025-11-10 07:20:46 +03:00
123885b2b3 Reset camera velocity when starting animation 2025-11-10 05:09:56 +03:00
c566d1669e Add mouse wheel support for zoom control in camera module (the dumb way) 2025-11-10 05:07:40 +03:00
331aefb0f6 i love easing4d
Co-authored-by: Ivan Yuriev <ivanyr44@gmail.com>
2025-11-09 22:16:40 +03:00
cdffff59c3 init camera:animateTo 2025-11-09 18:58:01 +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
4169aa4b61 refactor turn-order
i should leave this peace of oxygen etc etc

Co-authored-by: Ivan Yuriev <ivanyr44@gmail.com>
2025-11-09 01:43:06 +03:00
538bd1df33 feature/simple_ui (#18)
#15
Реализовано втупую и всякие выравнивания с текстами надо добавлять вручную.
Зато у нас есть поддержка анимаций и дерева матриц преобразования.
Вообще UI - это просто иерархия прямоугольников на экране.

Reviewed-on: #18
2025-11-08 01:32:46 +03:00
242b37de83 fix bag, when you leave selector on your character when end your turn 2025-11-07 21:51:35 +03:00
8821cb4cf7 try to add initiative 2025-11-07 09:25:21 +03:00
3caa3b926e fix turns when you click on another char 2025-11-04 19:08:41 +03:00
7beb421486 toggle turn mode 2025-11-04 19:08:41 +03:00
73d8f6a3a5 now you can make moves only when your turn 2025-11-04 19:08:41 +03:00
369e7db7e0 fix little typo 2025-11-04 19:08:41 +03:00
6dd02ed2ec turn order init 2025-11-04 19:08:41 +03:00
c1e5ba880d Fix self-targeting check in attack spell cast function 2025-11-04 07:00: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