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
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)
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]
I don’t know why that would happen. I recommend asking in a forum.
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.
Is the diagonal movement compatible with the step sound effects?
Yes, it should be
How do we activate diagonal movement for events?
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.
I meant using your move route plugin, to be specific, i have an event that chases after the player, could it move diagonally?
Not with this plugin specifically, sorry. I’d ask in a forum.
Works well except with followers. They don’t look very good, very jittery.
Is it possible to make it so the game only allows for diagonal movement and nothing else?
Yes, but not with this plugin.
When I click on the map to move instead of using arrow keys it doesn’t move diagonally.
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.
excuse me how do i import the diagonal spritesso i can use them?
I recommend asking in an RPG maker forum to learn how to import sprites. The help file might also have the information you need.
Can i use the diagonal movement for pathfinding?
My plugin diagonal movement isn’t efficient with pathfinding. Slower devices might struggle if that is used.
Can event followers follow you diagonally?
This plugin doesn’t modify an event move route ‘move toward player’ command, no.
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.
Yep, sure can – you just have to make sure there are the correct number of frames at that size in the spritesheet image.
I am not able to download this file it says connection time out.
Try again later – the download site might have been temporarily down.
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
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.
Okay so this worked but I also just had to save it without $ and everything worked out smoothly, thanks for helping out
Ah, yes – using $ is for a characterset that has only 1 character. This plugin needs the full characterset. Glad you got it working!