Problem with Diagonal Sprite

Hello! I'm have made an enemy that patrols and after the player is detected in their line of sight it starts chasing them however, for some reason, since I have the plugin for Dot Movement System, when the enemy hits the player diagonally, it ends up in this crash that I'm unsure on how to fix:


Im fairly sure (could be wrong) Is because is not finding the diagonal sprites but, no matter how I place the diagonal sprites in the image itself, It still can't find them, any suggestions/solutions?
YOu should probably specify which diagonal movement plugin you're using. From the looks of it I would guess the spritesheet is not set up like it's supposed to.

As for the crash we would also need to know what your plugin setup is.
Also, please just post a regular screenshot of the error - press F8, go to the Console tab, and grab a screenshot of the full error trace.

I don't think most of the people who are willing to help you are willing to bother with opening a video in another tab, playing to the right place, pausing on the screen to read it...
YOu should probably specify which diagonal movement plugin you're using. From the looks of it I would guess the spritesheet is not set up like it's supposed to.

As for the crash we would also need to know what your plugin setup is.
Heya! I said it in the post, It's called the Dot Movement System and it comes with the Basic Resources folder in the RPG Maker folder in steamapps.

*Oops my bad, Got that wrong, It comes with the Free ARPG DLC!

And this is all my plugins.

1726881085720.png


Also, please just post a regular screenshot of the error - press F8, go to the Console tab, and grab a screenshot of the full error trace.

I don't think most of the people who are willing to help you are willing to bother with opening a video in another tab, playing to the right place, pausing on the screen to read it...

I've tried pressing F8 and nothing seems to pop up in my client, the only way I was able to get footage of the error is with that video.
You can also use F12, but if you're using a plugin that disables F8 for some reason, you should change that - there's no good reason for anything to mess with MZ's built in hotkeys.

The fact of the matter is we can't start to help you with just the generic error message.

the only way I was able to get footage of the error is with that video.
Even if that were somehow the case, it's still better to present a static screenshot instead of a video (or, at most, in addition to it).
Try Fn then F8.
I disabled all my plugins, I've pressed F12, F8, FN and then F8, and I'm still not getting any results,
Well that's rather odd
I've restarted my computer and tried again, got it to work now. 😕

1726884116295.png


Update with this, I was able to get diagonal sprites working for the enemy (Thanks to Visustella Movement Core) Thinking that it would get fixed the same Error happens when the enemy touches the player diagonally. (This error changes depending in which of the four intercardinals the enemy touches the player going from 1 - 3 - 9 - 7)

1726923482674.png
The DotMove appears to not be compatible with diagonal movement.

It's checking whether you touched the front of an event, and it's only looking for the front to be one of the four cardinal directions (represented by 2, 4, 6, 8 on the numpad).

Therefore, when something touches on a diagonal, e.g. 1, it doesn't know how to treat that and produces an error.

You would have to rewrite chunks of the plugin to treat diagonal directions however you want them to be treated.
The DotMove appears to not be compatible with diagonal movement.

It's checking whether you touched the front of an event, and it's only looking for the front to be one of the four cardinal directions (represented by 2, 4, 6, 8 on the numpad).

Therefore, when something touches on a diagonal, e.g. 1, it doesn't know how to treat that and produces an error.

You would have to rewrite chunks of the plugin to treat diagonal directions however you want them to be treated.
Heya, so this means that I'll have to use another pixel movement plugin that hopefully fixes this problem? What are the other possible alternatives than rewriting the plugin since I'm not capable of doing so.

I'd like to maintain the level of chase that I have since its the best I've gotten, it makes for a very smooth chase.
Heya, so this means that I'll have to use another pixel movement plugin that hopefully fixes this problem? What are the other possible alternatives than rewriting the plugin since I'm not capable of doing so.

I'd like to maintain the level of chase that I have since its the best I've gotten, it makes for a very smooth chase.
You can use Rosedale Collision Altering Plugin for Pixel Movement! It's a paid plugin, but it has great compatibility with 8 Dir Character Sprites if you pair it with Rosedale Character Motions.

There is also QMovement, which is free.
I haven't tested Rosedale's chasing script yet. I know someone had been complaining about it a few months ago and Chaucer updated it in response but don't know how good it is now.

Relevant:
I haven't tested Rosedale's chasing script yet. I know someone had been complaining about it a few months ago and Chaucer updated it in response but don't know how good it is now.
I haven't tested chasing, but Chaucer has a Discord and is open to fix any issue before refunding the plugin if it ends up not working in the project. :ptea:
I haven't tested Rosedale's chasing script yet. I know someone had been complaining about it a few months ago and Chaucer updated it in response but don't know how good it is now.

Relevant:
This seems to be the best option from what I'm looking but money is a problem, I ended up tinkering with a smooth diagonal movement and modified the speed so the enemy chases are fun! But thanks for all the help everyone.

Original thread: https://forums.rpgmakerweb.com/threads/problem-with-diagonal-sprite.172042/