Unfortunately I found another formation that has unselectable targets for both the angle<45 and angle<=45 variants. And it shows a fundamental problem: if two targets are equidistant from the current one, which should you pick? If you imagine a whole lot of enemies arranged in a regular grid rotated 45 degrees, so each enemy has four diagonal neighbours at equal distance, then either: -arrow keys move to another target directly up/down/left/right, so the diagonal neighbours are unreachable (like the angle<45 variant) or -arrow keys move arbitrarily to one of the two nearest (diagonal) neighbours, and you'll have little control over where the cursor goes, again with many unselectable targets (like the angle<=45 variant)
On Fri, 7 May 2021 at 23:06, James Paige <[email protected]> wrote: > Nice! This variant does sound like a big improvement! > > On Fri., May 7, 2021, 1:00 a.m. , <[email protected]> wrote: > >> teeemcee >> 2021-05-06 22:00:03 -0700 (Thu, 06 May 2021) >> 625 >> Two changes to battle cursor movement >> >> If you put four targets in a diamond, 45 degrees to each other, a 5th one >> in the >> center could be untargetable! (Example in test.rpg). To fix this, switch >> to the >> fallback cursor movement behaviour when angle >= 45 degrees instead of > >> 45. >> >> Secondly, change the fallback behaviour from "pick the target with the >> minimum >> angle" to "pick the nearest target (by L1 norm)". This reduces the >> tendency to >> skip over targets that are in a roughly straight line when pressing arrows >> mostly perpendicular to the line. However, skipping will still happen >> when the >> line is close to a 45 degree angle. >> --- >> U wip/bmodsubs.bas >> U wip/testgame/test.rpg >> U wip/whatsnew.txt >> >> _______________________________________________ >> Ohrrpgce mailing list >> [email protected] >> http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org >> > _______________________________________________ > Ohrrpgce mailing list > [email protected] > http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org >
_______________________________________________ Ohrrpgce mailing list [email protected] http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org
