99 Commits

Author SHA1 Message Date
187b8b3c74 Merge pull request 'feature/animateTo' (#21) from feature/animateTo into main
Reviewed-on: #21
2025-11-11 17:45:15 +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
2fc1a92ad1 quad map refactor №1
Co-authored-by: Ivan Yuriev <ivanyr44@gmail.com>
2025-10-26 01:21:45 +03:00
12b6646642 shader outline experiment 2025-10-24 03:23:49 +03:00
7884b13b70 implement AnimationNode 2025-10-23 19:37:17 +03:00
c27089d23e attack & annotation refactor 2025-10-16 09:51:46 +03:00
a0ddd5f7cd fix attack spell 2025-10-16 01:23:05 +03:00
78f9347b86 try to attack & behavior annotation refactor
Co-authored-by: Ivan Yuriev <ivanyr44@gmail.com>
2025-10-16 00:28:26 +03:00
7ac0a53caa fix skill deadlock after trying to move into a character 2025-10-15 22:33:18 +03:00
0db8fc5239 refactor behavior tree def & removed dependencies from behavior logic 2025-10-13 22:48:38 +03:00
490452031b refactor some old shit 2025-10-13 00:08:34 +03:00
4b3df0ae24 fix manapool and refactor stats 2025-10-13 00:03:53 +03:00
d2caa40a0a feat: manapool (kind of bad manapool)
Co-authored-by: Ivan Yuriev <peaashmeter@users.noreply.github.com>
2025-10-12 23:41:16 +03:00
8bcae25a2e - implement selector locking when processing a spell (players gonna hate
that)
- implement spellcaster state handling
2025-10-12 03:03:02 +03:00
83115e82f8 fix selection during a cast 2025-10-12 00:17:15 +03:00
210faaf6a3 implement base behavior 2025-10-06 01:36:37 +03:00
95b94bb701 rename AnimatedBehavior -> SpriteBehavior 2025-10-06 01:30:17 +03:00
99d523a761 - reimplement animation as AnimatedBehavior
- remove deprecated in Character
- remove RenderBehavior
2025-09-29 04:30:55 +03:00
dd84e157bd refactor Character:addBehavior 2025-09-28 23:47:50 +03:00
9fe2276d04 remove deprecated fields related to spellcasting in Character 2025-09-28 23:39:41 +03:00
c4dfb5956d add spellcaster behavior 2025-09-28 23:34:17 +03:00
947787ff44 implement character:try 2025-09-17 13:21:50 +03:00
1b12b2c470 initial implementation of character behavior 2025-09-16 23:53:16 +03:00
86b3d8030a Update character.lua 2025-09-15 04:13:33 +03:00
38536f6d59 уменьшение связности подмодулей персонажа, часть 1:
- синтаксис для добавления модулей
- ссылка на персонажа внутри модуля
2025-09-14 20:57:20 +03:00
b7bd164269 Merge branch 'main' of https://gitea.peaashmeter.dev/ArcMutex/heroes-of-nerevelon 2025-09-14 01:51:34 +03:00
30f8b1c769 reactive character state implementation
- @todo: refactor character submodules
2025-09-14 01:51:18 +03:00
5cead3c282 fixed character z-ordering while moving 2025-09-07 14:27:20 +03:00
e8bb7306ac Create priority_queue.lua 2025-09-07 14:27:02 +03:00
dd1d64506d spells framework API & walk implementation 2025-09-05 15:44:02 +03:00
bab4b006ca перемещение персонажа по нажатию на кнопку
- я официально в тильте отэкспериментов с ui, щас возьму и напишу лютейшую императивщину
2025-09-04 02:01:25 +03:00
bd6ec87dd0 i have just invented the button (also fixed controls:consume) 2025-09-04 00:23:15 +03:00