MV QMovement Diagonal Speed

Heya! I just switched to using QMovement over Altimit Movement for my pixel movement and it's been going really well, but I have 1 issue with QMovement that I've seen a lot of questions for but no solutions.

When moving, the player (and followers) will move faster while moving diagonally. I know why this happens, but I don't know if anybody has made a fix for it.

There is a parameter for this purpose, but it's not implemented at all.

1735586655075.png


I'm no programmer so I wouldn't have a clue on how to fix this myself, so I'm hoping somebody has something I can use. Thank you!
I'm curious what issue you had with Altimit that QMovement fixed. I haven't looked at QMovement's code but it's hard to believe the dev has a parameter that does nothing. What numbers have you tried putting in there and how are you testing it?
I'm curious what issue you had with Altimit that QMovement fixed. I haven't looked at QMovement's code but it's hard to believe the dev has a parameter that does nothing. What numbers have you tried putting in there and how are you testing it?

My main issue with Altimit was just how followers are handled. I like how QMovement (+ QM+Followers) keeps the caterpillar system instead of easing them towards the players direction, it's closer to EarthBound which is what I wanted in the first place. It also allows to change collision with the player and events, so I figured I wouldn't really lose anything by making the switch.

Altimit also just doesn't feel great to use, it gets the job done but there are some icks I have with it, like diagonal movements angle being inconsistent depending on which direction the player is moving. I forget specifically what direction it was, but one of them was making the player move on a weird angle while QM seems to not have the same issue.

Also, it's much harder to get followers to catch on walls with QM, I had that issue a lot with AltM.

-
I haven't looked at QMovement's code but it's hard to believe the dev has a parameter that does nothing. What numbers have you tried putting in there and how are you testing it?

I'm assuming it doesn't work because the description for the parameter says "TODO not functional". But I've tried putting 0.6, 0, 1, 1.4, and I've gotten the same result each time. When testing, I just load the player on any map and just walk around. I have some debug rooms for interacting with events and testing player collisions, but this is a consistent issue on every map.
hi, I found a way to fix it. you just need to multiply dist in the function of Game_CharacterBase.prototype.moveDiagonally(around line 2623):

Code:
this._px = $gameMap.roundPXWithDirection(this._px, horz, dist*yourDiagonalSpeed);
this._py = $gameMap.roundPYWithDirection(this._py, vert, dist*yourDiagonalSpeed);
just replace yourDiagonalSpeed with the number you want, something betweeen 0 and 1, I use 0.7.

I added my modified version of the code so you can modify it by just adjusting the number on the plugin menu, it no longer says "TODO"
My main issue with Altimit was just how followers are handled. I like how QMovement (+ QM+Followers) keeps the caterpillar system instead of easing them towards the players direction, it's closer to EarthBound which is what I wanted in the first place. It also allows to change collision with the player and events, so I figured I wouldn't really lose anything by making the switch.
Fair enough. Altimit does change the follower movement and to disable it requires editing the code.

As far as your issue with QMovement, you're correct in that the diagonal speed parameter does nothing. If you look at the plugin file the value you put in that parameter is never called anywhere so I guess whatever function was supposed to use it was just never made.
Hopefully it gets updated to add support for it, I have no idea if the developer is still even active but it'd be nice to get some more functionality.

I did end up getting my hands on a copy of Rosedale's Collision Altering Plugin and it's just blown me away, I can't recommend it enough for anyone who's looking for a pixel movement plugin.
Hopefully it gets updated to add support for it, I have no idea if the developer is still even active but it'd be nice to get some more functionality.

I did end up getting my hands on a copy of Rosedale's Collision Altering Plugin and it's just blown me away, I can't recommend it enough for anyone who's looking for a pixel movement plugin.
I found a way, it's up there.

Original thread: https://forums.rpgmakerweb.com/threads/qmovement-diagonal-speed.174307/