EISContextMenu
Intro:This plugin allows you to create an icon menu on the map scene, which you can access using touch input.
Version: 1.00
Features:
[*]Touch Input
[*]Player won't move around while clicking inside the menu frame
[*]Buttons can run any sort of function you want
[*]You can use icons to represent your button
[*]Can control x, y, width, and height of the window
[*]You can tile your icons either horizontally, or vertically
[*]Menu is saved with the game, thus you don't need to reinitialize your menu on game load
Instructions:
[*]Install the script with the same name: EISContextMenu.js
[*]Add the buttons via script call either through common event or by an event on the map.
[*]Have fun!
/* Helper Functions:
*
* KR.Helpers.addContextCommand(id, name, iconId, operations)
* -Adds a button using the icon to the context commands in the window
* Example:
* KR.Helpers.addContextCommand(1,"Save",245,
* function(){
* SceneManager.push(Scene_Save);
* }) <-- This one creates a button that goes to the save screen.
*/
Setup Example Windows:
Spoiler
http://img.prntscr.com/img?url=http://i.imgur.com/4KVGEz5.png
In-game Examples:
Spoiler
http://img.prntscr.com/img?url=http://i.imgur.com/F9SXgPM.png
Opening item menu from context menu:
http://img.prntscr.com/img?url=http://i.imgur.com/hWGH0m9.png
Plugin Link: EISContextMenu
Right click "Raw", and save link as with the file name: EISContextMenu (Should be there by default).
Credits:
Free for both commercial and non-commercial use.Credit with the name Kino or EIS.
Thanks:Thank you to anyone who decides to use this script; I appreciate it!
If there are any bugs/issue, please contact me via message on the forums. I want to try and make the script as extensible/flexible as possible, so if you have an ideas also
please message me.
Enjoy ~
本贴来自国际rpgmaker官方论坛作者:Kino处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/eiscontextmenu.62307/
页:
[1]