じ☆ve冰风 发表于 昨天 15:28

Hammy - Menu Binding Patch

Hammy - Menu Binding Patch v1.01
Rebind the main menu trigger away from the default :B button to any configurable input​


Introduction

This script provides a customizable menu trigger system that rebinds the main menu away from the default :B button onto alternative inputs.

AI Disclaimer: Generative AI was used to refine the documentation and presentation of this script, as I am not a native English speaker. Additionally, AI was used for naming conventions in some places and for general beautification of the script.


Features

Core Menu Binding Features

[*]Configurable menu trigger button via module setting
[*]Clean override of Scene_Map menu trigger logic
[*]Seamless integration with existing game systems


Configuration

Edit the constants in the Hammy::MenuBinding module to configure the input button used to trigger the main menu.

Menu Trigger Settings
Configure the input button used to trigger the main menu. The player must press this button while on the map to open the menu.

MENU_KEY
Keyboard key used to trigger the menu.
- Valid values: Any RGSS3 input symbol (e.g. :X, :CTRL, :SHIFT)
- Default::X

Example
                Ruby:       
MENU_KEY = :X



Installation


[*]Copy the script to an open slot below ▼ Materials but above ▼ Main


Compatibility

This script is made strictly for RPG Maker VX Ace. It is highly unlikely that it will run with RPG Maker VX without adjusting.


License

MIT License - Free for commercial and non-commercial use.


Credits

No credits are required.


Why VX Ace?

You might wonder why I'm still making scripts for VX Ace instead of MV/MZ. The answer is simple: Ruby is pure beauty, while JavaScript is a terrible language. Ruby's elegant syntax, intuitive design, and expressive power make scripting a joy. JavaScript, on the other hand, is a chaotic mess of inconsistencies and quirks that I simply despise.

I work with RPG Maker VX Ace for my own game project, and I share the scripts I create with the community. If you're still using VX Ace, you're in good company!


Download

Script:Download from GitHub
Demo:Download from GitHub




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