5577147496
Merge pull request 'font: fix the popup messages with the new font handling' ( #20 ) from amr/rogged:fontFix1 into main
...
Reviewed-on: #20
Reviewed-by: raf <raf@notashelf.dev>
2026-04-11 08:12:48 +00:00
e39f4552db
font: fix the popup messages with the new font handling
2026-04-10 17:07:49 -04:00
587dbefb2f
Merge pull request 'font: implement TTF font usage' ( #19 ) from amr/rogged:main into main
...
Reviewed-on: #19
Reviewed-by: raf <raf@notashelf.dev>
2026-04-10 17:08:59 +00:00
23e98772ad
font: pick a generic temporary font, fix leftover conflict
2026-04-10 17:08:31 +00:00
2500fffe84
font: squash commit into main
...
Squashed commit of the following:
commit a53942249c
Author: A.M. Rowsell <amr@frzn.dev>
Date: Thu Apr 9 23:59:13 2026 -0400
font: extensive tweaks, looks much better
commit 64205e137c
Author: A.M. Rowsell <amr@frzn.dev>
Date: Thu Apr 9 12:13:00 2026 -0400
font: fully implemented font changes to UI, size/spacing need tweaking
commit 901f063696
Author: A.M. Rowsell <amr@frzn.dev>
Date: Wed Apr 8 09:36:03 2026 -0400
font: tweak sizes of stats
commit 20f8c71fdf
Author: A.M. Rowsell <amr@frzn.dev>
Date: Wed Apr 8 09:28:22 2026 -0400
render: implement experimental font change, needs work
2026-04-10 17:08:31 +00:00
71a9e5dbfb
Merge pull request 'build: move map & rng logic to their own libraries' ( #18 ) from notashelf/push-yrzxvtqkwopk into main
...
Reviewed-on: #18
2026-04-10 17:08:21 +00:00
3ab42c3f65
build: don't archive libcombat
...
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I39a9ff0e253cf277bf4959a16e05fcff6a6a6964
2026-04-10 20:07:29 +03:00
26aa295f82
build: move map & rng logic to their own libraries
...
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I1802469f3baff4576f61accfb5a197d86a6a6964
2026-04-10 20:07:04 +03:00
702b4258e0
Merge pull request 'map: implement seeded generation; allow passing custom seed' ( #17 ) from notashelf/push-svxosluqnsnp into main
...
Reviewed-on: #17
2026-04-10 11:15:44 +00:00
4475e6c276
various: persist seed display; fix seed 0 handling
...
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I349ed28a792d4de685f8468eddd33a136a6a6964
2026-04-10 14:15:20 +03:00
8bbca55b78
rogged: re-seed on game-over; display seed in game-end screen
...
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I0178392036902a87b64fde63f5a5f56a6a6a6964
2026-04-10 13:29:50 +03:00
f51b754e76
map: implement seeded generation; allow passing custom seed
...
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I742b7e59c7ca872539d4ebfe3a03b44f6a6a6964
2026-04-10 11:09:51 +03:00
09f7e659b5
Merge pull request 'various: implement fog of war; make enemy AI slightly more intelligent' ( #14 ) from notashelf/push-wlxxmonulyzt into main
...
Reviewed-on: #14
Reviewed-by: A.M. Rowsell <amr@noreply.localhost>
2026-04-10 06:07:57 +00:00
71343311eb
enemy: add alert memory; vision variance based on type
...
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I2f5c7cac72c8772e5871b99026d106b46a6a6964
2026-04-09 21:28:18 +03:00
f85d28e932
various: implement fog of war; make enemy AI slightly more intelligent
...
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I3e22dbc5e10690871255980c52a24c226a6a6964
2026-04-09 21:28:17 +03:00
4dfe52ae72
movement: generalize; use vectors ( #16 )
...
Generalized movement, so that all entities move the same.
Reviewed-on: #16
Reviewed-by: raf <raf@notashelf.dev>
Co-authored-by: Squirrel Modeller <squirrelmodeller@protonmail.com>
Co-committed-by: Squirrel Modeller <squirrelmodeller@protonmail.com>
2026-04-09 14:11:46 +00:00
1d738c35d4
docs: move README to docs/; reword most sections
...
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: Ida6ac152f3fa71ceb1d980afba9a82fc6a6a6964
2026-04-09 09:36:18 +03:00
eed5c3aff3
render: extract color palette; convert floating labels to enum
...
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I29c5feb6099fe321e227e0313282f1546a6a6964
2026-04-08 13:33:14 +00:00
3998fb5259
rogged: move various magic numbers to the settings struct
...
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: Ie5cadb3d9dca130b57b858905f549f2d6a6a6964
2026-04-08 13:33:14 +00:00
6050083293
render: perform proper null checks for item_get_name()
...
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I007a86584f618f990f7a5ed569115aeb6a6a6964
2026-04-08 13:33:14 +00:00
6281c756a8
Merge pull request 'render: (relatively) minor UI overhaul' ( #10 ) from notashelf/push-lnksylnmlvzq into main
...
Reviewed-on: #10
Reviewed-by: A.M. Rowsell <amr@noreply.localhost>
2026-04-08 12:39:09 +00:00
1a6b71fd03
render: sectioned new HUD layout with portrait; polish action log panel
...
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I8a46ddecadd45712c9bef32d061783896a6a6964
2026-04-08 15:38:22 +03:00
ea8306060b
render: revert redundant ternary expression
...
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: Ica6dc2015e573cc71b1882e69fef351e6a6a6964
2026-04-08 15:38:21 +03:00
22a2da75a9
render: implement dynamic box sizing & line count calculation in render_message
...
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: Ibb30f7ff6fbff55f253397619e2208c76a6a6964
2026-04-08 15:38:20 +03:00
4f0a85df19
build: 'lock' zig build setup
...
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I5a09be217458921978d2a8f69ef72ee86a6a6964
2026-04-08 15:38:19 +03:00
436083f606
render: replace game over screen with end screen; show stats breakdown
...
The game over logic is now consolidated as there are two possible
scenarios: victory or death. The end-screen rendering has thus been
consolidated to display victory (gold YOU ESCAPED) or death (red GAME OVER)
with a stats box.
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: Iecf71ecde4097a41bd074f9123c8c4c76a6a6964
2026-04-08 15:38:18 +03:00
19a9da4aee
stats: track all gameplay statistics during player actions
...
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: Ie94380572d2256dda45ce7bfcf347c7f6a6a6964
2026-04-08 15:38:17 +03:00
e048e02475
stats: add stat tracking fields to GameState
...
We can now track kills, items, damage dealt/taken, crits, times hit,
potions used, floors reached, and final score in `GameState` for
end-game display. This is rather basic for now, but I intend to extend
the tracked statistics as we introduce more mechanics.
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I4dcd3e1effd0209268dc56fe4bba4b696a6a6964
2026-04-08 15:38:16 +03:00
0b4f14c73c
build: also link raylib for libcombat
...
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I337a654ffc0dbfab19bdbe68ba9bd9026a6a6964
2026-04-08 15:38:15 +03:00
24bb2696e4
nix: add a package alias 'rogged' in flake outputs
...
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I2a526b49d0c8b43b529d760a340d8af56a6a6964
2026-04-08 15:34:20 +03:00
172ff53561
nix: apply a source filter to the main package
...
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: Id6933272a05f17c70fe91719dbd3ac9c6a6a6964
2026-04-08 15:34:19 +03:00
b6aa958413
Merge pull request 'audio: refactor audio asset loading, add crit sound' ( #9 ) from amr/rogged:audio into main
...
Reviewed-on: #9
Reviewed-by: raf <raf@notashelf.dev>
2026-04-07 17:56:35 +00:00
0410db95bb
audio: remove duplicate sound
2026-04-07 13:54:29 -04:00
a315b14dd1
audio: refactor audio asset loading, add crit sound
2026-04-06 17:51:07 -04:00
23dead8c0d
audio: add item pickup sound
2026-04-06 14:03:39 -04:00
d7a2e81f24
audio: add various sound assets ( #7 )
...
Reviewed-on: #7
Co-authored-by: A.M. Rowsell <amr@frzn.dev>
Co-committed-by: A.M. Rowsell <amr@frzn.dev>
2026-04-06 15:12:08 +00:00
1f65d406cd
Merge pull request 'docs: add a README' ( #6 ) from notashelf/push-nrzuupynktom into main
...
Reviewed-on: #6
2026-04-05 21:15:01 +00:00
43867417f9
Merge branch 'main' into notashelf/push-nrzuupynktom
2026-04-05 21:14:44 +00:00
3e1239959a
Merge pull request 'docs: add a proper README' ( #5 ) from notashelf/push-omrqsvynvltn into notashelf/push-nrzuupynktom
...
Reviewed-on: #5
2026-04-05 21:14:16 +00:00
91491b53d8
Merge pull request 'dev: migrate combat system & basic build execution to Zig' ( #4 ) from notashelf/push-nrzuupynktom into main
...
Reviewed-on: #4
2026-04-05 21:14:11 +00:00
cc2e06fffb
docs: add a proper README
...
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: Ibd89741c4e6ce51ba139b6dbe8fa0fcf6a6a6964
2026-04-05 22:38:37 +03:00
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