Hello! In my project, I've created a small table (as an example for testing) that the player can push or pull using these scripts: http://himeworks.com/2013/09/restricted-move-inputs/ and https://rpgmaker.net/scripts/255/. However, I'm also using a Free Movement script (https://area91.multiverseworks.com/rmvxa/scripts/gameplay/free_movement), meaning that even though I've blocked diagonal movement for the table, the player can slowly drift away from the table by moving diagonally. I've tried my best to manually disable the player's diagonal movement, with very little progress.
As you can see in the image, I've tried a multitude of methods to disable the player's diagonal movement, but the best I've managed is disabling their diagonal sprites. While good to know that I can do that... it doesn't actually help much. Eventually, I'll have a sprite showing the player gripping the table, so the player doesn't turn their back on it. (Direction Fix isn't applicable here. It interferes with the Restricted Move Inputs script.)
Does anyone know how to go about this? I have everything else working in this event- this is the last issue. As always, any help would be appreciated.
Oh, and since I believe it'll come up, I've already tried
. That didn't work either, I'm afraid.
Edit: I'm a dummy. That above line of code works. Let's pretend this never happened.
As you can see in the image, I've tried a multitude of methods to disable the player's diagonal movement, but the best I've managed is disabling their diagonal sprites. While good to know that I can do that... it doesn't actually help much. Eventually, I'll have a sprite showing the player gripping the table, so the player doesn't turn their back on it. (Direction Fix isn't applicable here. It interferes with the Restricted Move Inputs script.)
Does anyone know how to go about this? I have everything else working in this event- this is the last issue. As always, any help would be appreciated.
Oh, and since I believe it'll come up, I've already tried
Code:
CXJ::FREE_MOVEMENT::ENABLE_DIAGONAL = false
Edit: I'm a dummy. That above line of code works. Let's pretend this never happened.