<div dir="auto"><div>I think you are right... We are not actually aware of any games that would be broken by this change.</div><div dir="auto"><br></div><div dir="auto">Would it be possible to add a backcompat bit later if we discover one?</div><div dir="auto"><br></div><div dir="auto">...even if it is a matter of IF gamename = "wackywalking" THEN turn_on_bit</div><div dir="auto"><br></div><div dir="auto">---</div><div dir="auto">James<br><br><div class="gmail_quote" dir="auto"><div dir="ltr" class="gmail_attr">On Fri, Oct 18, 2019, 11:27 PM Ralph Versteegen <<a href="mailto:teeemcee@gmail.com">teeemcee@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>So why don't we also automatically realign heroes/NPCs with the grid as they walk about? That would be easy and fix most of the problem.</div><div>There are two cases: builtin NPC/hero movement, and walknpc/walkhero.</div><div>I can't even imagine why you would want NPCs or heroes to stay misaligned for builtin movement if they become misaligned.</div><div>On the other hand I suppose it's possible that you want to put an NPC at x=37 and move them exactly 40 pixels to the right, not 43 or 23. That seems really unlikely though. And I want to avoid making "walkhero(me, left, 1)" behave differently from pressing the left key. Do we really need a backcompat bit for scripted movement?<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 30 Sep 2019 at 04:14, James Paige <<a href="mailto:Bob@hamsterrepublic.com" target="_blank" rel="noreferrer">Bob@hamsterrepublic.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto">Yay! :D</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Sep 29, 2019, 10:06 AM  <<a href="mailto:subversion@hamsterrepublic.com" target="_blank" rel="noreferrer">subversion@hamsterrepublic.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">teeemcee<br>
2019-09-29 07:06:55 -0700 (Sun, 29 Sep 2019)<br>
896<br>
Heroes/NPCs no longer misalign when changing speed mid-step or if speed doesn't divide 20!<br>
<br>
Should have fixed that long ago!!<br>
<br>
Also greatly improved "set hero/npc speed" docs.<br>
<br>
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.<br>
This doesn't fix any problems that occur when misalignment does happen.<br>
<br>
Speeds 3 and 7 are the only previously-forbidden ones that are reasonable to<br>
use, as others cause jerky movement and don't offer other ticks-per-tile<br>
movement rates anyway.<br>
<br>
I tested Siv: Journey of an Egg, Trailblazers, It Came From Beyond The Moon,<br>
and Metamorphosis, no changes.<br>
Seems most of those didn't change hero/NPC speeds anyway, and none depended on<br>
misalignment behaviour. I can't think of any games that might do so, but if they<br>
do, it's probably unintentional/a game bug.<br>
---<br>
U   wip/docs/plotdict.xml<br>
U   wip/game.bas<br>
U   wip/whatsnew.txt<br>
_______________________________________________<br>
Ohrrpgce mailing list<br>
<a href="mailto:ohrrpgce@lists.motherhamster.org" rel="noreferrer noreferrer" target="_blank">ohrrpgce@lists.motherhamster.org</a><br>
<a href="http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org" rel="noreferrer noreferrer noreferrer" target="_blank">http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org</a><br>
</blockquote></div>
_______________________________________________<br>
Ohrrpgce mailing list<br>
<a href="mailto:ohrrpgce@lists.motherhamster.org" target="_blank" rel="noreferrer">ohrrpgce@lists.motherhamster.org</a><br>
<a href="http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org" rel="noreferrer noreferrer" target="_blank">http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org</a><br>
</blockquote></div>
_______________________________________________<br>
Ohrrpgce mailing list<br>
<a href="mailto:ohrrpgce@lists.motherhamster.org" target="_blank" rel="noreferrer">ohrrpgce@lists.motherhamster.org</a><br>
<a href="http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org" rel="noreferrer noreferrer" target="_blank">http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org</a><br>
</blockquote></div></div></div>