Rotate Move (MV/MZ)

● ARCHIVED · READ-ONLY
Started by ATT_Turan 6 posts View original ↗
  1. Rotate Movement 1.1
    ATT_Turan

    Introduction
    This plugin, based on a request by @TheRamenGirl, forces the player character to be facing the desired direction before it can start walking. It combines two features - one is that tapping a direction key will make the player turn in place.
    Unlike other turn in place plugins, this will only allow the player to turn one facing (90 degrees) at a time. So if you tap the direction opposite the player's current facing, they will first turn to the left or right and it will require a second press (or held input) to turn fully around.

    The second feature is that this turning is implemented into movement, so holding down a direction key that's different from the player's current facing will make them turn in place until they're facing the correct direction and start moving.
    There is a plugin parameter to set how quickly these turns can be done.

    I have tested the basic functionality, please let me know if you encounter any errors. I will consider making compatibility patches if the other plugin is free to use (or one I own, such as a Yanfly product) and unobfuscated. Otherwise, other authors are free to modify this code to make it compatible with theirs so long as I am still credited.

    1756428776174.gif

    Terms and Credits
    Free for non-commercial and commercial use. Credit ATT_Turan.
  2. The hero, the saint, the legend that none of us deserve. My savior, the Blessed Saint Tur of the An.
  3. And you didn't call this plugin Turan_In_Place.js?
    Why?
  4. Corrected a niche situation pointed out by @ShadowDragon where the player would turn all the way around instead of to the closest direction.
  5. This might be useful for spacecraft movement.
  6. Works like a charm! *chef's kiss*
    Thank you very much!!!