Mouse System
Title: Mouse SystemVersion: 1.2.1
PRO version: 1.5.0
Author: DKPlugins
Description:Allows you to change the mouse cursor, activate events by clicking, hovering, etc.
Compatibility:
[*]RPG Maker MV: 1.5+
[*]RPG Maker MZ: 1.0+
Features:
[*]Use a custom cursor.
[*]Show icon when hovering over an event.
[*]Change cursor when hovering over an event.
[*]Activate the event by clicking or hovering the mouse.
[*] Display a window, text or image when hovering over an event.
[*]Change “Destination sprite”. You can change the appearance of the destination sprite (shape, color, animation). In the version, you can also use your own image or text.
Instruction:
Spoiler: instructionUse event comments to customize the display on mouse hover.
1. Show icon when hovering over an event*
<hover_icon: iconIndex>
Replace iconIndex with the icon number or synonym (don't forget to customize them!)
Example: <hover_icon: 4>
Example: <hover_icon: talk>
You can also use the eval function to specify the icon using Javascript!
Example: <hover_icon: eval($gameVariables.value(1))>
2. Start an event by clicking on it
<click_activate>
3. Activate an event on mouse hover
<hover_activate>
4. Replace cursor graphics when hovering over an event*
<custom_cursor: filename>
Replace filename with the name of the cursor file from the "img/system/" folder
5. Display image from "img/pictures/" folder*
<hover_image: filename>
Replace filename with the image filename
Example: <hover_image: Actor1_1>
You can also use the eval function to specify the image using Javascript!
Example: <hover_image: eval($gameVariables.value(1))>
6. Display window with text*
<hover_window: >
width - Window width
height - Window height
text - text
Example: <hover_window: Text]>
You can also use the eval function to specify the text using Javascript!
Example: <hover_window: >
7. Display text*
<hover_text: text>
Example: <hover_text: Test>
You can also use the eval function to specify the text using Javascript!
Example: <hover_text: eval($gameVariables.value(1))>
* Note:
Starting from version 1.3.0, it became possible to set conditions for display using Javascript,
which are checked during mouse hover.
Use an end tag to tell the plugin to check for a condition, which is written between 2 tags.
Example: for icon 10, the condition is set that it will be displayed when switch 1 is on:
<hover_icon: 10>
$gameSwitches.value(1)
</hover_icon>
Example: for a window the condition is set that it will be displayed if the variable 1 is greater than 10:
<hover_window: >
$gameVariables.value(1) > 10
</hover_window>
Example: for the image, the condition is set that it will be displayed if the variable 1 is equal to 5:
<hover_image: Actor1_2>
$gameVariables.value(1) === 5
</hover_image>
Example: for the text, the condition is set that it will be displayed if switch 1 is on:
<hover_text: Text>
$gameSwitches.value(1)
</hover_text>
You can combine several of these comments to customize different data for different conditions.
If you specify several of these settings, then the very first one that satisfies the condition will be used!
Preview:
Spoiler: gif
https://dk-plugins.ru/wp-content/uploads/2020/09/mouse-system.gif
https://dk-plugins.ru/wp-content/uploads/2021/02/mouse-system-120.gif
Hover window :
Spoiler: gif
https://dk-plugins.ru/wp-content/uploads/2020/10/mouse-system-hover-window.gif
Destination sprite (text and image) :
Spoiler: gif
https://dk-plugins.ru/wp-content/uploads/2021/02/mouse-system-120-pro-1.gif
https://dk-plugins.ru/wp-content/uploads/2021/02/mouse-system-120-pro-2.gif
"Help" languages: English, Russian
Terms of use
You can:
-To use the plugin for your non-commercial projects
-Change code of the plugin
You cannot:
-Delete or change any information about the plugin
-Distribute the plugin and its modifications
Details on obtaining a commercial license on my website
Plugin page:https://dk-plugins.ru/mouse-system/
本贴来自国际rpgmaker官方论坛作者:DK处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/mouse-system.127226/
页:
[1]