From: Lukas Krickl Date: Sun, 4 May 2025 05:36:30 +0000 (+0200) Subject: TODO: added more notes X-Git-Url: https://git.krickl.dev/?a=commitdiff_plain;h=8d6daedb606854ec2e78873c26f20548fba67047;p=gbrg%2F.git TODO: added more notes --- diff --git a/TODO.md b/TODO.md index 8cab5a3..7d19278 100644 --- a/TODO.md +++ b/TODO.md @@ -6,7 +6,7 @@ [ ] Move from room to room [ ] When room contains enemies enter combat [ ] Each side may have up to 10 units on a map -[ ] There are hero units and regular units +[ ] There are hero units and regular troops ## Combat @@ -29,6 +29,9 @@ [ ] Each unit's start state is a polling state [ ] The polling state can either be player input or CPU input [ ] Mark the current active unit with a cursor +[ ] When starting an encounter the player can place all hero units and troops based on initiative +[ ] The player can collect up to 5 initiative points +[ ] Initiative can be spent on deployment or special moves ## Mission @@ -39,11 +42,14 @@ [ ] Add map completion board [ ] Units do not recover HP until mission is completed [ ] When starting a mission the player can select a roster of up to 10 units +[ ] Some events may give intiative ## Map [ ] A map is a 1-screen wide playfield consiting of 8x8 tiles [ ] All units are always visible +[ ] Tiles can be impassible, walls or walkable +[ ] Tiles may cost extra movement to pass ## Units @@ -62,4 +68,5 @@ ### Map UI [ ] Display active unit stats and hp +[ ] Display active unit melee and ranged attack [ ] When holding select display unit queue until end of turn diff --git a/src/wram.s b/src/wram.s index 6bfd9fe..b629f86 100644 --- a/src/wram.s +++ b/src/wram.s @@ -58,11 +58,10 @@ scroll_y: .adv 1 scroll_x: .adv 1 ; resources -r_gold: .adv 2 -r_lumber: .adv 2 -r_stone: .adv 2 -r_food: .adv 2 -r_population: .adv 2 + + ; initiative resource + ; allows deployment or special moves +r_init: .adv 1 ; current cell index ; for cell update loop