Saturday, August 27, 2011

Birds, Pursuing of

Results of trial run: Pathing/routing bug.

Details: So I come back to check how the borg is doing this time around, and I'm greeting with this:



This bird is just sitting there staring at me, as if to say, "What now, asshole?"

It turns out that we managed to catch a regular Chocobo instead of a White Chocobo right at the end of the Mount Ordeals level grind. Early on in development I expected this to happen a lot, but this is the first time we've actually talked to the wrong bird.

Solution: Refactored the movement state a bit. Commands to bump in a certain direction now have a much shorter cooldown than normal movement commands. In the process of refactoring, I also discovered a long-present bug with cooldowns that was probably responsible for jumping the gun on movement between commands. To test this, I set up commands to walk into a Chocobo forest and run laps between talking to the White Chocobo and touching a point in the corner of the clearing. We're much more successful at catching fast moving birds now; before we would often have to follow it around a few squares before managing to talk while it's still in front of us.

No comments:

Post a Comment