Zed A. Shaw zedshaw
zedshaw pushed to master at games/raycaster 2025-09-08 03:56:32 +00:00
0afaa20c1d Improved the code so it uses ai::EntityAI and it now will find healing when it gets low. Has a bug where it stalls when finding healing and gets into combat.
zedshaw pushed to master at games/raycaster 2025-09-07 02:50:29 +00:00
7207d53885 Autowalker now figures out there's an enemy near when first entering a level.
zedshaw pushed to master at games/raycaster 2025-09-06 04:02:48 +00:00
ed33a36bca Autowalker now will grab healing when they need it and can grab it.
zedshaw pushed to master at games/raycaster 2025-09-06 03:49:19 +00:00
29ab9721af Now they AI will heal when they can, but not yet go get itesm before/during combat.
zedshaw pushed to master at games/raycaster 2025-09-06 03:20:53 +00:00
a2192e25eb AI can now walk to where healing items are and pick them up to use.
zedshaw pushed to master at games/raycaster 2025-09-05 15:56:42 +00:00
fe37aa11df Accidental crash when you click on an empty inventory.
zedshaw pushed to master at games/raycaster 2025-09-05 03:40:41 +00:00
f03a3a31a8 Autowalker now walks more accurately to locations, fights enemies, and also picks up loot drops and healing items _only_.
zedshaw pushed to master at games/raycaster 2025-09-04 16:23:58 +00:00
40b2d7f45d Bring over various autowalker improvements.
zedshaw closed issue games/raycaster#30 2025-09-04 15:48:19 +00:00
Fix getting stuck in combat (systems.cpp:30)
zedshaw pushed to master at games/raycaster 2025-09-04 15:48:19 +00:00
9c5bad5959 This fixes the bug where you get 'stuck' while moving and passing an enemy. Need to sort out why this fixes it though. Closes #30.
ba5fc73127 Disable collecting items for now.
Compare 2 commits »
zedshaw opened issue games/raycaster#91 2025-09-04 14:47:19 +00:00
Change system::set_position to init_position
zedshaw pushed to master at games/raycaster 2025-09-03 15:29:44 +00:00
ca3b04b895 Invalid test, should be enemy.
zedshaw pushed to master at games/raycaster 2025-09-02 17:57:01 +00:00
0c8cb197c2 Fix the map opening and closing all the time.
zedshaw pushed to master at games/raycaster 2025-09-02 16:46:12 +00:00
a11e7de14e Fix up the spatialmap to have an occupied_by method which checks if a square is occupied and returns what is there.
zedshaw pushed to master at games/raycaster 2025-09-02 15:31:15 +00:00
759f93cae0 Autowalker now correctly faces enemies to fight them.
zedshaw pushed to master at games/raycaster 2025-09-02 06:26:13 +00:00
9faad5f263 FINALLY figured out how to rotate to face a square, thanks to all the help from Twitch chat. I need to study Trig.
zedshaw pushed to master at games/raycaster 2025-09-01 05:37:12 +00:00
d822cb3438 Have a way to detect the best rotation but it's still off a bit. Seems to choose wrong in simple situations. Look in System::shortest_rotate.
zedshaw pushed to main at site/zedshaw.games 2025-08-31 15:24:43 +00:00
8d70b57299 Brought over most of the changes from go-web-starter-kit.
zedshaw pushed to master at games/raycaster 2025-08-31 04:47:27 +00:00
f98cc543f6 Autowalker now paths reliably and can attack enemies by facing them. Just need to make it fight diagonally.
zedshaw pushed to master at games/raycaster 2025-08-31 04:39:41 +00:00
4365aa4bfc Now added a System::multi_path which can target to multiple entities.