[Ohrrpgce] SVN: teeemcee/11320 Heroes/NPCs no longer misalign when changing speed mid-step or if speed

subversion at HamsterRepublic.com subversion at HamsterRepublic.com
Sun Sep 29 07:06:55 PDT 2019


teeemcee
2019-09-29 07:06:55 -0700 (Sun, 29 Sep 2019)
896
Heroes/NPCs no longer misalign when changing speed mid-step or if speed doesn't divide 20!

Should have fixed that long ago!!

Also greatly improved "set hero/npc speed" docs.

You can still cause misalignment by setting speed to 0 mid-step, and "set npc speed(npc, -1)" would also break things, but otherwise changing speed is now safe.
This doesn't fix any problems that occur when misalignment does happen.

Speeds 3 and 7 are the only previously-forbidden ones that are reasonable to
use, as others cause jerky movement and don't offer other ticks-per-tile
movement rates anyway.

I tested Siv: Journey of an Egg, Trailblazers, It Came From Beyond The Moon,
and Metamorphosis, no changes.
Seems most of those didn't change hero/NPC speeds anyway, and none depended on
misalignment behaviour. I can't think of any games that might do so, but if they
do, it's probably unintentional/a game bug.
---
U   wip/docs/plotdict.xml
U   wip/game.bas
U   wip/whatsnew.txt


More information about the Ohrrpgce mailing list