From 7877d7539c0afc7c2ef34b9315c3b63e72a41c3a Mon Sep 17 00:00:00 2001 From: Lukas Krickl Date: Sun, 7 Sep 2025 16:24:45 +0200 Subject: [PATCH] TODO: Added todo for combat animations --- TODO.md | 11 ++++------- src/shoot.s | 3 +++ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/TODO.md b/TODO.md index 5545876..5a04dc3 100644 --- a/TODO.md +++ b/TODO.md @@ -74,6 +74,7 @@ [ ] Ranged attacks have a max range [ ] Units wake up when a player is too close [ ] Units inside a hidden map area only wake up when the area is uncovered +[ ] Units flash for a while when they were damaged ## UI @@ -115,13 +116,8 @@ [ ] Save map state (e.g. actor flags, chest flags, door flags, loot flags with seed and map ptr used) in sram Do not save the actual generated map -> instead generate it again on demand -## Classes -[ ] Warrior -> can wear heavy armor, long sowrds, axes, hammers, shields, bucklers, short sowrds, learn magic of circle 1 -[ ] Ranger -> can wear medium armor, short swords, bucklers, bows, learn magic of circles 1-2 -[ ] Mage -> can wear light armor, staffs, learn magic of all circles - ## Weapons -[ ] Melee attack -> one tile range +[x] Melee attack -> one tile range [ ] Range attack -> uses mp (munition points) [ ] Weapon upgrades via items @@ -132,7 +128,7 @@ [ ] Select -> Show all commands and allow player to assign one to A and one to B button [ ] Start -> stats and inventory [ ] Commands: Cast, Equip, Eat/Drink, Read -[ ] Some commands require an additional direction input -> when executed put player in +[x] Some commands require an additional direction input -> when executed put player in direction select state. ## Inventory @@ -149,3 +145,4 @@ [ ] Lockpick doors [ ] destroy doors -> fail may spawn enemy due to noise [ ] Sometimes bribery fails + diff --git a/src/shoot.s b/src/shoot.s index fc6d785..6f1c05e 100644 --- a/src/shoot.s +++ b/src/shoot.s @@ -1 +1,4 @@ ; shoot (ranged attack) actions +; cast a ray in direction +; hit first actor found +; and attacking actor plays a small shoot animation -- 2.30.2