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

subversion at HamsterRepublic.com subversion at HamsterRepublic.com
Thu May 6 22:00:12 PDT 2021


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



More information about the Ohrrpgce mailing list