Oh nice!
Yea, I was about to suggest that. Two plugins affecting the same thing will often cause problems. It might also be related to whatever edits you've made to the Yami_8DirEx plugin.
Characters are only ever on 1 tile, but their sprites move smoothly from one tile to the next. "Walking weirdly" might indicate that you are forcing movement while a character is still "moving", causing their sprite to immediately appear at their current tile before they can complete the usual transition from the previous one. Again, can't really tell without seeing your code. 😴
(I'd forgotten, but the core script
moveDiagonally method can already produce 4-dir movement: if the provided horizontal direction is not 4 or 6, or vertical is not 2 or 8, then that component will be ignored. Yami's plugin takes advantage of this by returning equal horizontal and vertical components for up/down/left/right directions. Neat!)Edit: if you're OK writing a plugin, you could define a
pathTo function to abbreviate that "VisuStella Move To route" script call, e.g.
JavaScript:
/*:
* @target MZ
* @plugindesc handy functions
* @help Terms of use: free to use and/or modify for any project.
*/
globalThis.Fionn ??= {};
Fionn.pathTo = function(character, coords) {
// Convert points to "path to" move command scripts
const list = coords.map(
p => ({
code: Game_Character.ROUTE_SCRIPT,
parameters: [`Move To: ${p.x}, ${p.y}`]
})
);
// Apply the new move route
character.forceMoveRoute({
list: list,
repeat: false,
skippable: true
});
};
Fionn.pathTo($gameMap.event(17), [{ x: 51, y: 14 }, { x: 62, y: 3 }]);