[MZ] Phileas's Movement Controller

Plugin name: Phileas's Movement Controller

Author: Phileas

Version: 1.0.2 for MZ

Release date:
1.0.0 - 30.May.2024
1.0.1 - 08.June.2024
1.0.2 - 07.August.2024

Plugin description:
Controls player movement and events.
Plugin commands:
  • Disallow player movement - blocks player movement through input.
  • Allow player movement - removes the blockage of player movement.
  • Disallow events movement - blocks the movement of events on the map.
  • Allow events movement - removes the blocking of the movement of events.
  • Switch the inversion - inverts the player's movement through input.

You can control the movement through the switches that are set in the plugin parameters, or through the plug-in commands. Whichever is more convenient for you.

Usage example: A mini-game that uses arrows or a pointer, during which the player character must not move.
For the player, movement is blocked only through input. Even with the switch on, you can specify a route through the event command.

Code

License
This plugin is released under MIT license.
This means that you can freely use the plugin in non-commercial and commercial games and even edit it.
But be sure to include me in the credits!

Compatibility:
If there are any problems, write to me.
1.0.1
Fixed a typo in the names of the switch parameters.
1.0.2
The plugin now supports diagonal movement.
It should work with both Galv Diagonal Movement and any other plugins that enable this feature.
Please let me know about compatibility issues.

Original thread: https://forums.rpgmakerweb.com/threads/mz-phileass-movement-controller.169130/