じ☆ve冰风 发表于 2026-7-20 14:47:43

DoubleX RMMV Reverse Input

Note


        This plugin's available for commercial use


Purpose


        Lets users set some actors reversing the assigned window inputs


Games using this plugin


        None so far


Notetags

Spoiler *    # Actor/Class/Equip/State Notetags:                                     
 *      State notetags take the highest priority, followed by weapon, armor,  
 *      class and actor                                                       
 *      1. <reverse input: proto, downUp, rightLeft, pagedownPageup, okCancel>
 *         - This notetag only works for windows assigned to 1 actor at a time
 *           The below prototypes in default RMMV setting meet the condition:
 *           Window_SkillType.prototype                                       
 *           Window_SkillList.prototype                                       
 *           Window_EquipSlot.prototype                                       
 *           Window_EquipItem.prototype                                       
 *           Window_Status.prototype                                          
 *           Window_ActorCommand.prototype                                    
 *         - This notetag will work for windows belonging to proto or having  
 *           proto in its prototype chain                                     
 *           Both the Window_ and .prototype part doesn't need to be included
 *           in proto                                                         
 *           For example: Status stands for Window_Status.prototype           
 *           proto only accepts prototypes starting with Window_              
 *         - The inputs corresponding to down and up selection commands will  
 *           be reversed if downUp is t                                       
 *         - The inputs corresponding to right and left selection commands    
 *           will be reversed if rightLeft is t                               
 *         - The inputs corresponding to pagedown and pageup selection        
 *           commands will be reversed if pagedownPageup is t                 
 *         - The inputs corresponding to ok and cancel selection commands will
 *           be reversed if okCancel is t                                     
 *         - Only the working notetag with the highest priority will be used 







Plugin Calls

Spoiler *    # Actor/Class/Equip/State manipulations                                 
 *      1. meta.reverseInput                                                  
 *         - Returns the reverse input flags in the form of {                 
 *                  proto: proto,                                                
 *               downUp: b,                                                   
 *               rightLeft: b,                                                
 *               pagedownPageup: b,                                           
 *               okCancel: b                                                  
 *           } with proto and b being the window prototype and booleans       
 *      2. meta.reverseInput = {                                              
 *                  proto: proto,                                                
 *               downUp: b,                                                   
 *               rightLeft: b,                                                
 *               pagedownPageup: b,                                           
 *               okCancel: b                                                  
 *           }                                                                
 *         - Sets the reverse input flags in the form of {                    
 *                  proto: proto,                                                
 *               downUp: b,                                                   
 *               rightLeft: b,                                                
 *               pagedownPageup: b,                                           
 *               okCancel: b                                                  
 *           } with proto and b being the window prototype and booleans       
 *         - All meta.reverseInput changes can be saved if                    
 *           DoubleX RMMV Dynamic Data is used                               







Prerequisites


        1. Some Javascript coding proficiency to fully utilize this plugin


Terms Of Use


        You shall keep this plugin's Plugin Info part's contents intact


        You shalln't claim that this plugin's written by anyone other than DoubleX or his aliases


        None of the above applies to DoubleX or his/her aliases


Changelog

Spoiler *      v1.00c(GMT 1200 30-1-2016):                                           
 *      1. Fixed reading meta from null equip bug                             
 *      2. Fixed only reading state notetags bug                              
 *      3. Changed from using klass to using prototypes                       
 *      v1.00b(GMT 1300 24-1-2016):                                           
 *      1. Fixed undefined lines in DataManager.loadReverseInputNotes bug    
*      v1.00a(GMT 1300 30-12-2015):                                          
*      1. 1st version of this plugin finished







View attachment DoubleX RMMV Reverse Input v100c.rar


本贴来自国际rpgmaker官方论坛作者:DoubleX处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/doublex-rmmv-reverse-input.53975/
页: [1]
查看完整版本: DoubleX RMMV Reverse Input