123 Commits

Author SHA1 Message Date
6a15c6ed83 Fix AnimationNode:finish() called twice 2025-11-08 01:28:40 +03:00
a3853ceac8 Refactor layout 2025-11-08 01:28:01 +03:00
f32393b978 Make transparent elements untargetable 2025-11-08 01:27:43 +03:00
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
2ddc32c430 Merge branch 'feature/simple_ui' of https://gitea.peaashmeter.dev/ArcMutex/heroes-of-nerevelon into feature/simple_ui 2025-11-04 07:01:45 +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
b9d2b469c8 add test icons 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
d4e351b080 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 06:59:03 +03:00
175062a452 Improve skill button animation timing and selection logic 2025-11-04 04:43:52 +03:00
a5c9ca93f6 Add easing functions normalized to [0, 1] range 2025-11-04 02:03:34 +03:00
5ba653509a Remove deprecated UI system 2025-11-04 01:29:45 +03:00
14225002e2 Add naive ui v2 implementation 2025-11-04 01:16:29 +03:00
21dbf99435 Add tag field to Spell and assign tags to spells 2025-11-04 01:15:49 +03:00
72eb93baf7 Add selection tracking to selector with selected and deselected methods 2025-11-04 01:15:42 +03:00
3838037006 Add pickQuad method to spriteAtlas for random quad selection 2025-11-02 05:57:56 +03:00
a8c188b24e Add pickQuad method to spriteAtlas for random quad selection 2025-11-02 05:48:09 +03:00
55787a6643 add test icons 2025-10-26 02:37:15 +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
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