261 Commits

Author SHA1 Message Date
1febc65922 implement UIElement.debugDraw 2026-06-05 23:56:11 +03:00
cfe8f83087 allow init/getState injection into StatefulElement 2026-06-04 22:07:03 +03:00
fdff65d94d implement StatefulElement 2026-06-03 21:14:06 +03:00
0e8181baf3 implement MultiChildElement.build 2026-06-01 01:18:02 +03:00
6c8dc6a52b enscapsulate SingleChildElement.child 2026-05-31 06:00:53 +03:00
3d5ac077be rename 'private' fields in elements 2026-05-30 00:14:29 +03:00
d1525539e3 remove absolute positioning in elements 2026-05-29 03:04:40 +03:00
939f03b8c8 fix resizing bug on Linux 2026-05-27 11:45:17 +03:00
6c0918c4d2 disable duplicate-set-field warning on love.* by luals 2026-05-27 11:44:00 +03:00
987ce25474 implement drawing in local coordinates
these damn trees are still WIP but I'm confident I'm doing everything
right since I've recently embraced Stoicism
2026-05-14 19:27:40 +03:00
460e8b78b7 fix offset in SingleChildElement 2026-05-05 19:06:07 +03:00
393638bb71 add type hints for EVERYTHING
organize ui into folders
implement element:traverseUp
2026-05-04 02:48:30 +03:00
a4edbf8224 add hints in .luarc.json 2026-05-03 20:31:04 +03:00
9a74aae8b4 fix vertical flex and padding 2026-05-03 03:54:07 +03:00
85bb8e1d22 revert the old based flutter-like approach 2026-05-02 23:39:54 +03:00
790d63d37f add missing annotaion for ai.makeTurn 2026-04-25 18:26:02 +03:00
fd47ada751 fix dev_attack sound timing 2026-04-24 05:01:51 +03:00
149432e699 Create progressive_plains.ogg 2026-04-24 04:38:36 +03:00
8eb453ff7f move assets to lfs 2026-04-24 04:38:28 +03:00
a39be70969 conifgure git LFS 2026-04-24 04:37:58 +03:00
41a906fe6a Merge pull request 'rework/rendering' (#36) from rework/rendering into main
Reviewed-on: #36
2026-04-23 19:52:51 +03:00
3e23599c88 add luals annotaions 2026-04-23 19:35:44 +03:00
cb53fa8d88 feat: implement sprite_light uber-shader with dynamic lighting and animated outline 2026-04-23 19:34:35 +03:00
254e94fc29 improve characters dynamic lighting 2026-04-23 19:25:12 +03:00
606c1158e3 move character lighting to shader 2026-04-23 18:58:08 +03:00
1ad38c3103 feat: implement RenderQueue, SpriteBatch for tiles and Low-Res rendering for lights/shadows 2026-04-23 17:34:31 +03:00
c2c33cbf1b hotfix: revert some shit caused by merge
make the boar work with new AI features
2026-04-17 00:38:16 +03:00
d33d6eedd6 Merge pull request 'feature/ai-but-cooler' (#35) from feature/ai-but-cooler into main
Есть куда стремиться, но для work-in-progress покатит. Потом с удобством использования поиграемся

Reviewed-on: #35
2026-04-17 00:31:10 +03:00
d7228cc322 slightly tweak the types in AIBehavior 2026-04-17 00:29:53 +03:00
d1597d8ffa i dont need epsilon now 2026-04-16 15:04:50 +03:00
85883dfa7d he's (ai) doing some stuff and i think its cool 2026-04-15 17:29:16 +03:00
a16b279e44 i hate negative numbers 2026-04-15 14:53:07 +03:00
cdf68004da new circleVectors (midpoint circle algorithm) and pathToClosestCharacter
function
2026-04-15 13:42:33 +03:00
bad4b494cd circleVectors function and some ai progress 2026-04-15 09:56:17 +03:00
ce7b93fecd - limit walking spells to actual path length
- rename previewType -> targetType
- add an icon to preview non-walkable tiles
2026-04-15 01:23:29 +03:00
b6737e8f0b some casual self typing 2026-04-14 19:25:00 +03:00
e597f8da20 randomize first frame of idle animation 2026-04-13 03:31:49 +03:00
4761446e73 - add boar
- implement manifests for sprites
- fix sprite and shadowcaster draw algorithm
2026-04-13 03:20:50 +03:00
36271b447c fix light blending 2026-04-13 01:47:28 +03:00
f3d5f82382 add some shaders 2026-04-13 01:20:10 +03:00
3615435d08 Merge pull request 'feature/cast-overlay' (#33) from feature/cast-overlay into main
Reviewed-on: #33
2026-04-13 01:19:51 +03:00
d81f45e214 move overlay under the sprite layer 2026-04-13 01:19:00 +03:00
db8db450d0 ai maketurn, but in table 2026-04-12 23:21:50 +03:00
5a35d8fe74 optimize spell target recount, add subtle animation when targets appear 2026-04-12 23:15:26 +03:00
dc8e05d362 BOAR (platno) 2026-04-12 23:10:52 +03:00
46c7b46bd1 added class stat 2026-04-12 23:10:20 +03:00
fbba5cdbf0 add better spell target visuals 2026-04-12 22:34:50 +03:00
41c7759de6 Add a preview of possible target positions, done in a very stupid, ugly
and ineffective way.
2026-04-12 05:37:59 +03:00
8fc4ca5483 Merge pull request 'feature/spell-constraints' (#32) from feature/spell-constraints into main
Reviewed-on: #32
2026-03-18 05:11:54 +03:00
2e96ec821d Add cooldown handling for spells and display in UI
- Implement cooldown tracking in SpellcasterBehavior
- Decrease cooldowns at end of each round in turn order
- Prevent casting spells on cooldown in spell.cast
- Show cooldown overlay and block click on skill buttons
- Adjust font sizes for better UI consistency
2026-03-18 05:09:35 +03:00