93 Commits

Author SHA1 Message Date
eb45ffade4 Make the AnimationNode handle its own state 2025-11-07 09:19:27 +03:00
0eb06dce3f Add linear easing (aka no easing) 2025-11-07 09:04:23 +03:00
c741bf3952 implement a generic UIElement constructor 2025-11-07 09:04:02 +03:00
12d57892be Move SkillButtton animations to the SkillRow. Implement naive state
management
2025-11-05 01:32:16 +03:00
d6a57a9727 Introduce Rect class and UIElement base class for layout
Refactor skill button and row to use UIElement with Rect bounds and
transform Update layout references and coordinate calculations
accordingly
2025-11-04 07:01:12 +03:00
da2f6d03a3 Improve skill button animation timing and selection logic 2025-11-04 07:01:12 +03:00
99fe4c0556 Add easing functions normalized to [0, 1] range 2025-11-04 07:01:12 +03:00
2802570a50 Remove deprecated UI system 2025-11-04 07:01:12 +03:00
35a7a69bf7 Add naive ui v2 implementation 2025-11-04 07:01:12 +03:00
660edc5ef8 Add tag field to Spell and assign tags to spells 2025-11-04 07:01:12 +03:00
f1d181fb64 Add selection tracking to selector with selected and deselected methods 2025-11-04 07:01:12 +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
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