Preserved forum archive. This topic stores the original first post and locally mirrored RPG Maker Web attachments when available. It is posted by the BMMPlay archive account, not by the original creator.
Original Source
- Original title: MV SDJB_MouseControlEx
- Original author: ShadowDragon
- Original date: February 12, 2023
- Source thread: https://forums.rpgmakerweb.com/threads/sdjb_mousecontrolex.154906/
- Source forum path: Game Development Engines > RPG Maker Javascript Plugins > JS Plugins In Development
Summary
PluginName: SDJB_MouseControlEx Author: ShadowDragon { "lightbox_close": "Close",
Archived First Post
PluginName: SDJB_MouseControlEx
Author: ShadowDragon
SDJB_MouseHover became SDJB_MouseControlEx and had new cool feature.
In case of Draggable map and SDJB_DrawLinesBetween, you can make
a full skill tree map!
Only a draggable map for a bigger map, to transfer player on longer distance,
no small window or small map, use a big map instead!
There may be other ways for a draggable map, what will you do with it?
=== TERMS OF USE ===
Free for Non-Commercial and Commercial use when credit is given.
credit one of the following:
ShadowDragon
ShadowDragonJB
=== WARNING ===
YOU ARE NOT ALLOWED TO:
* MODIFY without permission
* EXTEND without permission
* TAKE CODE without permission
* CLAIM AS YOU MADE IT
* REDISTRIBUTE but link back to the forum or itch.io
* SELL this product as standalone.
* DO NOT REMOVE THE HEADER.
Download from itch.io. (require my base plugin (SDJB_Base or SDJB_BaseMZ (minified version))
Author: ShadowDragon
SDJB_MouseHover became SDJB_MouseControlEx and had new cool feature.
In case of Draggable map and SDJB_DrawLinesBetween, you can make
a full skill tree map!
Only a draggable map for a bigger map, to transfer player on longer distance,
no small window or small map, use a big map instead!
There may be other ways for a draggable map, what will you do with it?
Code:
Introduction
͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞
This plugin extends the following mouse features:
> Mouse Hover
> Click Events
> Drag Map
Mouse Hover
͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞
Mouse Hover allows you to select commands instantly by hovering
over them, instead of clicking first to select.
Hovering over a command will select it, and clicking will activate it.
Click Events
͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞
Events can be clicked if they contain either a comment tag
or a notetag.
Notetag: <<Clickable>>
Allows you to click the event as long as the event is active,
regardless of the current page.
Comment tag: <<Clickable>>
Allows you to click the event if the tag exists on the
currently active event page.
NOTE: Notetags takes priority over comment tags.
Aside from <<Clickable>>, the default click range is 250 tiles.
You can override this by specifying a value:
<<Clickable: 5>>
This allows the event to be clicked only within 5 tiles.
The event cannot be activated if the player is too far away.
Drag Map
͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞
Dragging the map allows you to create features such as
skill trees or interfaces directly on the map.
You can click and drag the map to move the camera.
To make a map draggable, add the following map notetag:
<dragMapCamera>
While on a draggable map:
The player and followers can be hidden
The main menu can be disabled
Player transfer positions do not matter, the map will start
at the top-left corner.
After dragging the map, the camera position is saved per map ID
and restored the next time you return to that map.
Script Call
͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞ ͞
Use the following script call to control access:
setMapAccess(key, value)
key => mainMenu | player | follower
value => true / false
Example:
setMapAccess("mainMenu", false)
Default values:
mainMenu: true
player: true
follower: false
mainMenu:
true => Menu access will be restored correctly
after leaving a draggable map.
false => Menu state will remain unchanged when
leaving a draggable map.
The same logic applies to player and follower access.
=== TERMS OF USE ===
Free for Non-Commercial and Commercial use when credit is given.
credit one of the following:
ShadowDragon
ShadowDragonJB
=== WARNING ===
YOU ARE NOT ALLOWED TO:
* MODIFY without permission
* EXTEND without permission
* TAKE CODE without permission
* CLAIM AS YOU MADE IT
* REDISTRIBUTE but link back to the forum or itch.io
* SELL this product as standalone.
* DO NOT REMOVE THE HEADER.
Download from itch.io. (require my base plugin (SDJB_Base or SDJB_BaseMZ (minified version))
Downloads / Referenced Files
Log in to download
Log in, then follow the RPG Maker Developers Group to see these download links.
Log in to downloadLicense / Terms Note
=== TERMS OF USE === Free for Non-Commercial and Commercial use when credit is given. credit one of the following: ShadowDragon
Creator Claims / Removal
If you are the original creator and want this listing reassigned, edited, or removed, join BMMPlay and contact the moderators with proof that matches the original RPG Maker Web profile, linked GitHub, itch.io page, or another public creator identity.
Replies (0)
No replies yet.
0
replies
1
view
Topic Summary
Loading summary...