MZ Diagonal Movement

FEATURES
Adds diagonal movement for the player using the keyboard and also optionally using the mouse.
Includes an option to use diagonal charactersets to show diagonal sprites (for those who wish to use them).

VERSION 1.2 – RPG Maker MZ
Download Plugin file


Download my master demo to view examples of this plugin from:
Galv’s MZ Plugins Home


29 thoughts on “MZ Diagonal Movement

  1. Galv's avatar Galv says:

    Updated to version 1.1 – hopefully fixed player jittering issue when moving diagonally at slower than 100% speed while scrolling the screen (which included while using my cam control plugin)

    • Rafael's avatar Rafael says:

      Hi! I put this plugin in my game and it works great! However, there is a flaw that occurs diagonally up and to the left, in relation to a parallel process that I added of shooting, the player shoots in all directions, except diagonally up and left at the same time, is there how do i solve this bug? (the key used to shoot is “OK” [Enter/Space]

  2. Galv's avatar Galv says:

    Updated to version 1.2 – added script call to disable just the diagonal charactersets, so you can move diagonally while remaining facing one of the 4 normal directions.

  3. Igor's avatar Igor says:

    Is the diagonal movement compatible with the step sound effects?

  4. Igor's avatar Igor says:

    How do we activate diagonal movement for events?

    • Galv's avatar Galv says:

      Events can already move diagonal using move routes. If you are talking about moving diagonal with random movement, you’d need another plugin for that.

  5. helloworld95's avatar helloworld95 says:

    Works well except with followers. They don’t look very good, very jittery.

  6. NBV's avatar NBV says:

    Is it possible to make it so the game only allows for diagonal movement and nothing else?

  7. Sil8nt's avatar Sil8nt says:

    When I click on the map to move instead of using arrow keys it doesn’t move diagonally.

    • Galv's avatar Galv says:

      If you look in the plugin settings there’s an option to turn mouse diagonal on. But some people reported issues with slower machines and the pathfinding that I turned it off by default.

  8. Miitzu's avatar Miitzu says:

    excuse me how do i import the diagonal spritesso i can use them?

  9. Kass's avatar Kass says:

    Can i use the diagonal movement for pathfinding?

  10. Ianov's avatar Ianov says:

    Can event followers follow you diagonally?

  11. Shahmeat's avatar Shahmeat says:

    Thank you Galv for your immense contributions to this community, is it possible to use 48*96 sprites with diagonal movement? I have been struggling to do so even with the demo.

  12. aasera's avatar aasera says:

    I am not able to download this file it says connection time out.

  13. mikefoul's avatar mikefoul says:

    I’m having an issue with Diagonal movement MZ and character frame MZ. The sprite sheet I made is larger than the normal player sheet, the file is named “$Player%(10)” so when I playtest it displays 2 sprites like when I go left it shows the Down and Left animations.

    Maybe it’ll help to add the sheet size is 1200 x 960
    the grids I’m working in are width 120 height 120

    • Galv's avatar Galv says:

      You’ll need to double-check your spritesheet has the correct amount of frames in it.

      There should be enough frames for 8 characters (4 in the top row, 4 in the bottom row). Each character has 4 rows of directions.

      By your filename it sounds like your characters have 10 frames of animation. 4 characters across x 10 each frames = 40 frames. 120 pixels per frame, so 40×120 = your sheet should be 4,800 pixels wide.

      • mikefoul's avatar mikefoul says:

        Okay so this worked but I also just had to save it without $ and everything worked out smoothly, thanks for helping out

      • Galv's avatar Galv says:

        Ah, yes – using $ is for a characterset that has only 1 character. This plugin needs the full characterset. Glad you got it working!

Leave a comment