ターゲティングのために仲間または敵を選択するとき、戦いにカーソルを追加するプラグイン – YEP_BattleSelectCursor.js

タイトル
Adds a cursor to battle when selecting allies and/orenemies for targeting.
作者名
ヘルプ
============================================================================
Introduction
============================================================================

This plugin allows you to set custom cursors when selecting allies and/or
enemies for targeting while in battle. This is to help with better visual
cues when picking a target if the flashing battler isn't enough.

============================================================================
Instructions - Cursor Filenames
============================================================================

Save your cursor into your game project's img/pictures folder. This will be
where your project will get all of its pictures from.

The filename plays an important role in the way the cursors work. It will be
used to determine the number of frames used by the cursor. It will work in
the following format:

filename_WidthxHeight

Therefore, when using 'Crystal_Blue_4x2', it means there will be 4 frames
usable from left to right and 2 frames usable from top to bottom. It will
have a width of 4 frames and a height of 2.

If the format isn't used, then the dimensions will default to 1x1.

============================================================================
Notetags
============================================================================

You can use the following notetags to adjust the cursor settings for your
actors and enemies.

Actor and Enemy Notetags:

<Battle Select Cursor: filename>
- This will change the filename of the cursor image used for this actor or
enemy when selected. The same rules apply as the ones listed in the
Instructions - Cursor Filenames section of the help file.

<Battle Select Cursor Anchor X: Left>
<Battle Select Cursor Anchor X: Center>
<Battle Select Cursor Anchor X: Right>
<Battle Select Cursor Anchor Y: Top>
<Battle Select Cursor Anchor Y: Middle>
<Battle Select Cursor Anchor Y: Bottom>
- These notetags determine where the origin point of the cursor sprite
should be.

<Battle Select Cursor Position X: Left>
<Battle Select Cursor Position X: Center>
<Battle Select Cursor Position X: Right>
<Battle Select Cursor Position Y: Top>
<Battle Select Cursor Position Y: Middle>
<Battle Select Cursor Position Y: Bottom>
- These notetags determine where the select cursor will appear on the
actor or enemy when targeting them.

============================================================================
Changelog
============================================================================

Version 1.03:
- Updated plugin to keep the battle select cursor on top of animated enemies
from the YEP_X_AnimatedSVEnemies plugin.

Version 1.02:
- Optimized plugin to use less resources.

Version 1.01a:
- Fixed a bug that caused the game to crash if an actor leaves mid-battle.
- Fixed a documentation error for the notetags.
パラメータ
param Ally Cursor
desc The filename name of the image used found within the project's
img/pictures/ folder. Do not include the file extension.
default Crystal_Blue_4x2

param Enemy Cursor
desc The filename name of the image used found within the project's
img/pictures/ folder. Do not include the file extension.
default Crystal_Red_4x2

param Anchor X
desc This is the default X origin point of the sprite.
left center right
default center

param Anchor Y
desc This is the default Y origin point of the sprite.
top middle bottom
default bottom

param Position X
desc This is the default X position of the sprite on the target.
left center right
default center

param Position Y
desc This is the default Y position of the sprite on the target.
top middle bottom
default top

ライセンス表記

紹介ページ https://github.com/suppayami/yami-engine-delta/blob/master/demo/js/plugins/YEP_BattleSelectCursor.js