[Ohrrpgce] SVN: teeemcee/12280 Two changes to battle cursor movement

James Paige Bob at hamsterrepublic.com
Fri May 7 04:06:18 PDT 2021


Nice! This variant does sound like a big improvement!

On Fri., May 7, 2021, 1:00 a.m. , <subversion at hamsterrepublic.com> 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
> ohrrpgce at lists.motherhamster.org
> http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.motherhamster.org/pipermail/ohrrpgce-motherhamster.org/attachments/20210507/65ad08a9/attachment.html>


More information about the Ohrrpgce mailing list