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.
*/
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