97 Commits

Author SHA1 Message Date
70d1d72b83 Add detailed comments to AnimationNode explaining its behavior and usage
example
2025-10-23 19:21:06 +03:00
f790a4dcf8 allow AnimationNode to not have its own animation 2025-10-23 19:07:16 +03:00
77e723c4bb migrate spells to AnimationNode api 2025-10-23 18:58:34 +03:00
6faf7f1c1d refactor MapBehavior:update 2025-10-23 02:41:30 +03:00
601766d5e8 Add ResidentSleeper behavior for async animation waiting 2025-10-22 03:50:01 +03:00
5de9d9eb9c Add AnimationNode system and integrate into character behaviors and
spell casting
2025-10-20 03:36:03 +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
ab95eadc27 Fix character.spawn call parameters in love.load function 2025-10-13 00:51:55 +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
177e1ef347 Merge pull request 'character-rework' (#7) from character-rework into main
Reviewed-on: #7
2025-10-06 01:38:09 +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
8c1166216c fix character rotation while moving 2025-09-03 00:42:40 +03:00
82d393a064 - proper A* implementation
- not really as I'm a freak
- tiles are now walkable by default
2025-09-03 00:28:46 +03:00
7000f0fb4d tile grid implementation 2025-08-30 21:06:03 +03:00
bc0537a649 initial get 2025-08-30 02:13:19 +03:00
125cf7fd6d fix tile
Co-authored-by: Ivan Yuriev <ivanyr44@gmail.com>
2025-08-23 23:19:00 +03:00
9a2398df8d tile struct initial 2025-08-22 01:21:15 +03:00
7d4c856832 cache my beloved
Co-authored-by: Ivan Yuriev <ivanyr44@gmail.com>
2025-08-21 22:43:09 +03:00
e700045c47 pryamougolnique help
Co-authored-by: Ivan Yuriev <ivanyr44@gmail.com>
2025-08-21 22:42:53 +03:00
70e0c52d59 add consume method
Co-authored-by: Ivan Yuriev <ivanyr44@gmail.com>
2025-08-21 21:24:43 +03:00
ace775f676 Merge remote-tracking branch 'origin/ui-lib'
Co-authored-by: Ivan Yuriev <ivanyr44@gmail.com>
2025-08-21 20:59:54 +03:00
1b92c0b344 implement reactive rectangle 2025-08-21 20:54:25 +03:00
1626ec6e69 smol main refactor 2025-08-19 20:40:21 +03:00
7d082f80b8 tile & level refactor 2025-08-19 20:26:57 +03:00
cf30985756 initial tilemap from manifest by tyler(c) 2025-08-17 18:01:07 +03:00
9613e660c3 add padding widget 2025-08-17 06:32:17 +03:00
a29609018d add deep-copy method 2025-08-17 06:19:17 +03:00