Rotate Move (MV/MZ)
Rotate Movement 1.1ATT_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 correctdirection 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.
Terms and Credits
Free for non-commercial and commercial use. Credit ATT_Turan.
本贴来自国际rpgmaker官方论坛作者:ATT_Turan处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/rotate-move-mv-mz.179832/
页:
[1]