New "patrons only" plugin! Map Hotkeys v1.0.0
Added 2020-09-29 07:51:39 +0000 UTCEnglish:
Plugin description: Allows you to create hotkeys on the map and perform various actions when triggered.
Instruction:
Install the Full Input plugin ABOVE the Map Hotkeys plugin
Keystroke types:
Pressed - Press a key
Triggered - Press and release a key
Repeated - Pressing a key is repeated (setting the repetition interval in the Full Input plugin)
Long pressed - Long key press (setting the long press time in the Full Input plugin)
Pressed time - Key has been pressed for longer than the specified time
Examples of hotkeys:
1. Open inventory
Key: i
Keystroke type: Triggered
Actions:
Type: eval
Value:
SceneManager.push(Scene_Item)
2. Show/hide image with number 1
Key: q
Keystroke type: Triggered
Actions:
Type: eval
Value:
if ($gameScreen.picture(1)) {
$gameScreen.erasePicture(1);
} else {
// pictureId, filename, origin (0 - upper left, 1 - center),
// x, y, scaleX, scaleY, opacity, blendMode (0 - normal, 1 - additive,
// 2 - multiply, 3 - screen)
$gameScreen.showPicture(1, "Actor1_1", 0, 0, 0, 100, 100, 255, 0)
}
Russian:
Описание плагина: Позволяет создавать горячие клавиши на карте и выполнять различный действия при срабатывании.
Инструкция:
Установить плагин Full Input ВЫШЕ плагина Map Hotkeys
Типы нажатия клавиши:
Pressed - Нажать клавишу
Triggered - Нажать и отпустить клавишу
Repeated - Нажатие клавиши повторяется (настройка интервала повторения в плагине Full Input)
Long pressed - Длительное нажатие клавиши (настройка времени длительного нажатия в плагине Full Input)
Pressed time - Клавиша нажата дольше указанного времени
Примеры горячих клавиш:
1. Открыть инвентарь
Клавиша: i
Тип нажатия: Triggered
Действия:
Тип: eval
Значение:
SceneManager.push(Scene_Item)
2. Показать/скрыть изображение под номером 1
Клавиша: q
Тип нажатия: Triggered
Действия:
Тип: eval
Значение:
if ($gameScreen.picture(1)) {
$gameScreen.erasePicture(1);
} else {
// pictureId, filename, origin (0 - upper left, 1 - center),
// x, y, scaleX, scaleY, opacity, blendMode (0 - normal, 1 - additive,
// 2 - multiply, 3 - screen)
$gameScreen.showPicture(1, "Actor1_1", 0, 0, 0, 100, 100, 255, 0)
}