Menu Cursor VisuStella MZ

From Yanfly.moe Wiki
Jump to navigation Jump to search

Welcome to the wiki! This is where you can find resources from Yanfly.moe, Ækashics.moe,
VisuStella, Caz Wolf, Fallen Angel Olivia, Atelier Irina, and other affiliated content creators.



Download

System

This is a plugin created for RPG Maker MZ.

InstallPluginsMz.png

UpdatePlugins.png

Troubleshooting.jpg

Click here for help on how to install plugins and an explanation on the Tier Hierarchy System.

Click here to learn how to update plugins.

Click here for how to troubleshoot plugins if you get an error.


Masterarbeit Writer


MenuCursor.gif


VisuStella MZ

This plugin is a part of the VisuStella MZ Plugin Library.

Click here if you want to help support VisuStella on Patreon.

Introduction

MenuCursor.gif

Add a menu cursor that uses an icon or an image from the pictures or system folder to help the player find out which windows are active quicker. The subtle movements of a waving cursor can do wonders to grabbing the player's attention to speed up the process of directing player focus.

Features include all (but not limited to) the following:

  • Use icons, pictures, or system images as the menu cursor.
  • Decide on how the cursor is anchored and positioned with offsets to fine tune its location.
  • Want to animate the cursor? You can do so by following a specific image format and name schema.
  • Oscillate the cursor back and forth from a left to right horizontal bounce or an up to down vertical bounce. Or if you want, just don't have any kind of oscillation at all!
  • Alter the menu cursor mid-game through Plugin Commands, too!
  • Automatically pad in-game windows to accommodate for cursor oscillation.

Requirements

This plugin is made for RPG Maker MZ. This will not work in other iterations of RPG Maker.


Tier 4

This plugin is a Tier 4 plugin. Place it under other plugins of lower tier value on your Plugin Manager list (ie: 0, 1, 2, 3, 4, 5).

This is to ensure that your plugins will have the best compatibility with the rest of the VisuStella MZ Plugin library.


Animated Menu Cursor Instructions

MenuCursor.gif

Save your animated picture into your game project's img/pictures/ folder or the img/system/ folder depending on which you want to load from.

The filename must be named with the following format:

filename[HxV]

Replace H in the filename with the number of horizontal cells it has. Replace V in the filename with the number of vertical cells it has. The number of total cells it has available is equal the multiplicative product of the horizontal and vertical cells.

For example:

"Cursor_Blue[3x2]" will have 3 horizontal cells and 2 vertical cells. This means there are a total of 6 cells that will be used for animating.

Animations will be played from left to right, then up to down so please arrange them as such. For example, 4x5 will play like this:

 1  2  3  4
 5  6  7  8
 9 10 11 12
13 14 15 16
17 18 19 20

Keep this in mind as you format your animated menu cursor.

Plugin Commands

PluginCommandsMZ.png

Plugin Commands are event commands that are used to call upon functions added by a plugin that aren't inherently a part of RPG Maker MZ.

Here is a list of Plugin Command(s) that you may use:

---


The following are Plugin Commands that come with this plugin. They can be accessed through the Plugin Command event command.

---

Menu Cursor Plugin Commands

---

MenuCursor.gif

MenuCursor Command1.png

Menu Cursor: Change Settings
- Changes the settings for the menu cursor's appearance.

  Appearance Type:
  - Select the appearance type for the menu cursor.

    Icon Index:
    - If "icon" is selected as the appearance type, use this icon as
      the cursor.

    Picture Filename:
    - If "picture" is selected as the appearance type, use this image from
      img/pictures/ as the cursor.

    System Filename:
    - If "system" is selected as the appearance type, use this image from
      img/system/ as the cursor.

    Frame Delay:
    - The frame delay for any animated "picture" or "system" cursors before
      moving onto the next frame.

  Anchor:

    Anchor X:
    Anchor Y:
    - Select the position to determine where the cursor's Anchor
      is located.

  Position:

    Position X:
    Position Y:
    - Select the placement to determine where the cursor's Position
      is located.

  Offset:

    Offset X:
    Offset Y:
    - Select how much to offset the cursor's X/Y position by.

  Wave:

    Wave Type:
    - Determine how the cursor moves while active.

    Speed:
    - Select how fast the cursor oscillates.
    - Lower is slower. Higher is faster.

    Distance:
    - Select how far the cursor sprite will oscillate from its origin.

---

Plugin Parameters

Menu Cursor Settings

MenuCursor.gif

MenuCursor Params1.png

This is where you can change the settings for the menu cursor.

---

Appearance Type

 Appearance Type:
 - Select the appearance type for the menu cursor.
   - Icon - Uses an icon as the cursor
   - Picture - Uses a file from img/pictures/ as the cursor
   - System - Uses a file from img/system/ as the cursor
 Icon Index:
 - If "icon" is selected as the appearance type, use this icon as
   the cursor.
 Picture Filename:
 - If "picture" is selected as the appearance type, use this image from
   img/pictures/ as the cursor.
 System Filename:
 - If "system" is selected as the appearance type, use this image from
   img/system/ as the cursor.
 Frame Delay:
 - The frame delay for any animated "picture" or "system" cursors before
   moving onto the next frame.

---

Anchor

 Anchor X:
 Anchor Y:
 - Select the position to determine where the cursor's Anchor X/Y
   is located.

---

Position

 Position X:
 Position Y:
 - Select the placement to determine where the cursor's Position X/Y
   is located.

---

Offset

 Offset X:
 Offset Y:
 - Select how much to offset the cursor's X position by.
   - X: Negative numbers go left. Positive numbers go right.
   - Y: Negative numbers go up. Positive numbers go down.

---

Wave

 Wave Type:
 - Determine how the cursor moves while active.
   - Horizontal - Cursor oscillates left and right
   - Vertical - Cursor oscillates up and down
   - None - Cursor does not oscillate.
 Speed:
 - Select how fast the cursor oscillates.
 - Lower is slower. Higher is faster.
 Distance:
 - Select how far the cursor sprite will oscillate from its origin.

---

Background Tiling Settings

MenuCursor BgTiling.gif

VisuMZ MenuCursor BgTiling.png

For added visual clarity, you can add a tiling background to the menu cursor that can scroll, hue shift, and has a color tone.

---

General

 Enable?:
 - Enable background tiling?
 Filename:
 - Filename of the parallax used for the tiling effect.
 - Leave empty to not use a background tile.

---

Appearance

 Blend Mode:
 - What kind of blend mode do you wish to apply to the tiling?
 Buffer:
 - How many pixels should be used to buffer the tiling?
 Color Tone:
 - What tone do you want for the tiling?
 - Format: [Red, Green, Blue, Gray]
 Hue:
 - Do you wish to adjust this tiling's hue?
 Hue Shift:
 - How much do you want the hue to shift each frame?
 Opacity:
 - What is the opacity of the tiling effect?
 Scroll X Speed:
 Scroll Y Speed:
 - How fast should the tile effect scroll horizontally/vertically?
 - 0 for no scroll.
 - Negative values scroll the other way.

---

Window Blacklist Settings

MenuCursor Params2.png

The menu cursor will not appear in these windows.

---

Settings

 Window Blacklist:
 - Insert the names of the windows' constructors here
 - Example: Window_ItemCategory

---

Window Padding Settings

MenuCursor Params3.png

Make some windows more padded to accommodate for the menu cursor's oscillation. Because of the oscillation, the cursor would sometimes go over the displayed text. These settings help pad the individual entries and shift over the text to make room for the cursor to move back and forth at.

---

Window Padding Settings

 All Windows:
 - How much extra item padding do you want for all windows?
 Window_MenuCommand:
 Window_MenuStatus:
 Window_MenuActor:
 Window_ItemCategory:
 Window_ItemList:
 Window_SkillType:
 Window_SkillList:
 Window_EquipCommand:
 Window_EquipSlot:
 Window_EquipItem:
 Window_Options:
 Window_SavefileList:
 Window_ShopCommand:
 Window_ShopBuy:
 Window_ShopSell:
 Window_NameInput:
 Window_ChoiceList:
 Window_EventItem:
 Window_PartyCommand:
 Window_ActorCommand:
 Window_BattleStatus:
 Window_BattleActor:
 Window_BattleEnemy:
 Window_BattleSkill:
 Window_BattleItem:
 Window_TitleCommand:
 Window_GameEnd:
 Window_DebugRange:
 Window_DebugEdit:
 Window_QuestCommand:
 Window_QuestList:
 - How much extra item padding do you want for this window?

---


Terms of Use

1. These plugins may be used in free or commercial games provided that they have been acquired through legitimate means at VisuStella.com and/or any other official approved VisuStella sources. Exceptions and special circumstances that may prohibit usage will be listed on VisuStella.com.

2. All of the listed coders found in the Credits section of this plugin must be given credit in your games or credited as a collective under the name: "VisuStella".

3. You may edit the source code to suit your needs, so long as you do not claim the source code belongs to you. VisuStella also does not take responsibility for the plugin if any changes have been made to the plugin's code, nor does VisuStella take responsibility for user-provided custom code used for custom control effects including advanced JavaScript notetags and/or plugin parameters that allow custom JavaScript code.

4. You may NOT redistribute these plugins nor take code from this plugin to use as your own. These plugins and their code are only to be downloaded from VisuStella.com and other official/approved VisuStella sources. A list of official/approved sources can also be found on VisuStella.com.

5. VisuStella is not responsible for problems found in your game due to unintended usage, incompatibility problems with plugins outside of the VisuStella MZ library, plugin versions that aren't up to date, nor responsible for the proper working of compatibility patches made by any third parties. VisuStella is not responsible for errors caused by any user-provided custom code used for custom control effects including advanced JavaScript notetags and/or plugin parameters that allow JavaScript code.

6. If a compatibility patch needs to be made through a third party that is unaffiliated with VisuStella that involves using code from the VisuStella MZ library, contact must be made with a member from VisuStella and have it approved. The patch would be placed on VisuStella.com as a free download to the public. Such patches cannot be sold for monetary gain, including commissions, crowdfunding, and/or donations.

7. If this VisuStella MZ plugin is a paid product, all project team members must purchase their own individual copies of the paid product if they are to use it. Usage includes working on related game mechanics, managing related code, and/or using related Plugin Commands and features. Redistribution of the plugin and/or its code to other members of the team is NOT allowed unless they own the plugin itself as that conflicts with Article 4.

8. Any extensions and/or addendums made to this plugin's Terms of Use can be found on VisuStella.com and must be followed.

Terms of Use: Japanese


『VisuStella MZ』利用規約

1. これらのプラグインは、VisuStella.comおよび/または公式に承認されたVisuStellaのソースから合法的な手段で入手したものである限り、フリーゲームや商用ゲームに使用することができます。例外的に使用が禁止される場合については、VisuStella.comの記載をご確認ください。

2. 本プラグインの「クレジット」部分に記載されているすべてのコーダーの名前は、ゲーム内にクレジット表記を行うか、もしくは「VisuStella」という名前の下にまとめて表記する必要があります。

3. ソースコードを自分のものだと主張しない限りは、必要に応じて編集することが可能です。ただしプラグインのコードに変更が加えられた場合、VisuStellaはそのプラグインに対して一切の責任を負いません。高度なJavaScriptのノートタグやJavaScriptコードを許可するプラグインのパラメータを含む、カスタムコントロールエフェクトに使用される、ユーザー提供のカスタムコードについても、VisuStellaは一切の責任を負いません。

4. これらのプラグインやプラグイン内のコードを、「自分のもの」として再配布したり使用したりすることはできません。これらのプラグインとそのコードは、VisuStella.comおよび、その他の公式/承認済みVisuStellaソースからのみダウンロードすることができます。公式/承認済みのソースのリストは、VisuStella.comでご確認いただけます。

5. VisuStellaは、意図しない使用方法による問題、VisuStella MZライブラリ以外のプラグインとの非互換性の問題、プラグインのバージョンが最新でないことによる問題、第三者による互換性パッチが適切に動作していないことなどが原因でゲーム内で発生した問題については、一切の責任を負いません。VisuStellaは、高度なJavaScriptのノートタグやJavaScriptコードを許可するプラグインのパラメータを含む、カスタムコントロールエフェクトに使用される、ユーザー提供のカスタムコードに起因するエラーについても、一切の責任を負いません。

6. VisuStella MZライブラリのコードを使用した互換性パッチをVisuStellaとは関係のない第三者を通じて作成する必要がある場合は、まずVisuStellaのメンバーと連絡を取り、承認を得る必要があります。パッチはVisuStella.comに公開され、誰でも無料でダウンロードすることができるようになります。このようなパッチを、制作発注やクラウドファンディングの対象にしたり、寄付などの金銭的な利益を得るために販売することはできません。

7. このVisuStella MZプラグインが商用製品である場合、プロジェクトチームのすべてのメンバーは、それを使用するため、それぞれ製品を購入しなければなりません。使用方法には、関連するゲームメカニクスの作業、関連するコードの管理、および/または関連するプラグインコマンドや機能の使用、が含まれます。プラグインそのものやそのコードをチームの他のメンバーに再配布することは第4項に抵触するため、そのメンバーがプラグインそのものを所有していない限りは許可されません。

8. このプラグインの利用規約の追加項目や補足については、VisuStella.comに掲載されていますので、それを参照し従ってください。

Credits

If you are using this plugin, credit the following people in your game:

Team VisuStella

Changelog

Version 1.09: May 18, 2023

  • Bug Fixes!
    • Removed visual glitch when used together with Sideview Battle UI when selecting a target actor. Fix made by Irina.


Version 1.08: October 27, 2022

  • Compatibility Update
    • Added compatibility functionality for future plugins.


Version 1.07: July 9, 2021

  • Compatibility Update!
    • Added Item Crafting System's number window to the default list.


Version 1.06: May 28, 2021

  • Documentation Update!
    • Help file updated for new features.
  • New Features!
    • New Plugin Parameters added by Irina and sponsored by AndyL:
      • "Background Tiling" series has been added for more visual clarity.


Version 1.05: February 5, 2021

  • Documentation Update!
    • Help file updated for removed feature.
  • Feature Update!
    • "Window_NumberInput" for Window Padding Settings Plugin Parameter is now removed. This is due to numerous "bug reports" despite the issue of no numbers being shown having been fixed since v1.01. Since many users did not do a fresh reinstall of the plugin to fix the problem and continued to submit it as bug reports, we have decided it would be better to just hardcode the padding values for this window instead. Update by Irina.


Version 1.04: January 15, 2021

  • Compatibility Update
    • Added compatibility functionality for future plugins.
    • Added "Window_ShopNumber" to the default black list.


Version 1.03: January 8, 2021

  • Bug Fixes!
    • Menu Cursor will no longer show if there is no index selected. Fix made by Irina.


Version 1.02: January 1, 2021

  • Feature Update!
    • Added "Window_Status" to the default black list.


Version 1.01: December 25, 2020

  • Bug Fixes!
    • Changed the default value of the Window_NumberInput padding amount to 0 from 16 so that numbers don't disappear. Fix made by Yanfly.


Version 1.00: January 22, 2021

  • Finished Plugin!


See Also


End of File