285 Commits

Author SHA1 Message Date
7c5314b7c8 make another functions & add some cool light on spawn effect 2026-04-22 13:33:13 +03:00
d2599f8764 make animation work 2026-04-22 00:47:12 +03:00
351fdda60c I MAKE THIS SHIT TO WORK (pochti) 2026-04-21 23:35:48 +03:00
e3d9cafdd3 effects too hard i dont understand 2026-04-20 19:57:54 +03:00
8292a20ae0 since the last commit everyone was in limbo by default, so i fixed that 2026-04-20 19:49:12 +03:00
c54e489b58 cool new function dealDamage
now we should replace all self.hp - damage with this function

damn...
2026-04-20 19:46:38 +03:00
a4b29af579 before after semantic (php my beloved gif) 2026-04-19 02:30:34 +03:00
f3d74440ce some silly additions to silly functions 2026-04-19 00:28:57 +03:00
9b10557435 some silly effect functions 2026-04-18 09:37:09 +03:00
aa4c5185d3 я наверно немного перемудрил с писаниной, оставлю только ссылку пожалуй 2026-04-17 20:41:52 +03:00
8cb6e62845 эффекты и недописанная литературная шизофрения 2026-04-17 09:32:01 +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
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
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
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
ec816eb666 Refactor spell cast and task returns for optional tasks 2026-03-18 04:05:04 +03:00
d84fc4a7c2 Add path preview and refactor spells with new Spell API
- Add path preview support to Spell with update and draw methods
- Refactor spell:cast to always return a Task
- Simplify spell.new constructor and apply distance constraint uniformly
- Replace walk spell with new Spell-based implementation supporting path
  preview
- Remove debug print from target_test.lua
2026-03-18 03:53:27 +03:00
ecec540251 Improve target validation logic in spell casting function 2026-03-18 02:03:30 +03:00
a6578ec8dd Refactor target distance check using query intersection
Replace manual distance check with combined targetQuery and
distance query intersection for cleaner spell targeting logic

Fix query combinators to correctly reference self in closures
2026-03-18 02:01:59 +03:00
ef5ff5f847 tweak light effects in spells 2026-03-18 01:47:09 +03:00
0d2ed101d6 Refactor light animation in regenerateMana spell using easing 2026-03-18 00:56:19 +03:00
4431934e6b Refactor spell target selection to use composable queries
Introduce SpellTargetQuery abstraction for flexible target filtering.
Replace fixed target types with query-based system supporting union,
intersection, and exclusion of target conditions. Update spells
accordingly.
2026-03-17 23:09:36 +03:00
e0b08b07ec Remove residentsleeper behavior from light effect in regenerateMana
spell
2026-03-17 20:39:30 +03:00
2e6155aea4 Add target validation and refactor spells with new cast logic 2026-02-13 01:28:36 +03:00
95f2230302 Add simple spell framework and refactor dev_attack spell to use it 2026-02-13 00:43:54 +03:00
93521d2b8b Merge pull request 'feature/task-tweens' (#30) from feature/task-tweens into main
Reviewed-on: #30
2026-02-12 00:07:34 +03:00
08cfcca756 Remove unused utils require and clean trailing whitespace in tiled
behavior
2026-02-12 00:04:57 +03:00
2fc9bdf6a6 Clean up trailing whitespace in audio crossfade function 2026-02-12 00:01:43 +03:00
00f1c7f7ee fix(audio): remove duplicated logic and fix fader lifecycle in crossfade 2026-02-08 04:33:13 +01:00
78776ec0dd Refactor mana regeneration to add flash effect callback 2026-02-08 06:28:24 +03:00
163906c289 Import lerp from utils module and remove duplicate function definition 2026-02-08 06:20:22 +03:00
7695fe7698 Fix formatting and add type annotations to task completer function 2026-02-08 06:18:26 +03:00
52db521107 Animate camera and activate AI on turn change in turnOrder.next() 2026-02-08 06:16:11 +03:00
4277c6c310 refactor: replace AnimationNode with Task system (tweens/async) 2026-02-05 09:06:51 +01:00
0017b6e104 refactor: integrate tweens into Task system and simplify camera animations 2026-02-02 02:39:28 +01:00
7f1c31f67e Merge pull request 'feature/task' (#29) from feature/task into main
Reviewed-on: #29
2026-02-02 02:36:30 +03:00
c0bab85b2f revert "completion.autoRequire": false 2026-02-02 02:33:23 +03:00
4f436a3d3f Merge pull request 'fix/death-logic' (#28) from fix/death-logic into main
Reviewed-on: #28
2026-02-02 01:56:51 +03:00
752fe00910 refactor: implement turnOrder:remove by filtering/rebuilding queues instead of O(n) PriorityQueue:remove 2026-02-01 23:36:09 +01:00
2d29d35f96 fix: implement character death cleanup in turn order and queues 2026-02-01 23:26:14 +01:00
ec290eb18b Merge pull request 'fix: correctly add values to self.__grid instead of the grid class table' (#27) from fix/grid-add-to-self into main
Reviewed-on: #27
2026-02-02 01:06:22 +03:00