dev: migrate combat system & basic build execution to Zig #4

Merged
NotAShelf merged 9 commits from notashelf/push-nrzuupynktom into main 2026-04-05 21:14:12 +00:00

9 commits

Author SHA1 Message Date
e14af1f9f0
combat: nicer UI with floating labels, HP bar colors, world shake & audio
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I9e1720b112a0a5ceab64da56735f4fb36a6a6964
2026-04-05 22:36:38 +03:00
c495dc1d7e
audio: add dodge, block, crit, and proc sounds
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I860551db6ca06a34785e9129b64d8fc56a6a6964
2026-04-05 22:36:37 +03:00
6c541bcacc
combat: extend FloatingText with label and effect_type
fields

Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: Iad085ea5d8007257d77d606ab69e57a26a6a6964
2026-04-05 22:36:36 +03:00
0830aaa128
meta: look for zig files only in libs/
The core game is, and will remain, C

Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I568a9d71f55774e195eaa3a75eff80136a6a6964
2026-04-05 22:36:35 +03:00
4a718b9685
combat: buff status effects
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: Ie2f5af13ad3c0392a5e873b15170b0226a6a6964
2026-04-05 22:36:34 +03:00
1875d94e44
combat: tune damage math and enemy scaling
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I983d5980f8d14ccebc6b681100af8a146a6a6964
2026-04-05 22:36:33 +03:00
ee116ef33f
refactor: split player_move and decompose handle_input
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: Iaac0cda778dd541eb34980f3e902ca726a6a6964
2026-04-05 22:36:32 +03:00
22ab6fc6eb
combat: rewrite in Zig; add basic damage types and weapon archetypes
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: Ic8055a1cf6bdad1aca13673ea171b4b46a6a6964
2026-04-05 20:29:12 +03:00
7af642612b
build: migrate from Make to Zig build system + Just
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I7585121a5ec8e797adc43ba8e30d4ac86a6a6964
2026-04-05 20:29:11 +03:00