マップシーンに表示されるグラフィカルバーで、変数を使用して値を視覚的に示すプラグイン – Galv_VariableBar.js

タイトル
A graphical bar that displays in the map scene to show the current value of a max value visually using variables.
作者名
ヘルプ
Galv's Variable Bar
----------------------------------------------------------------------------
This plugin displays a graphical bar on the map scene based on two variables
that are chosen when each bar is created.

----------------------------------------------------------------------------
SCRIPT CALLS
----------------------------------------------------------------------------
To create a variable bar on screen, you can use the following script call:

Galv.VBAR.create(id,"barimage","barimage2",var1,var2,x,y,ox,oy);

id = A unique id number and index to reference the variable bar
barimage = Image name from /img/pictures/ to use for the variable bar
barimage2 = Image name from /img/pictures/ to use for the bar underlay
var1 = Variable id to use for current value of bar
var2 = Variable id to use for maximum value of bar
x = X position of the bar images on the screen
y = Y position of the bar images on the screen
ox = The x offset of the barimage in relation to barimage2
oy = The y offset of the barimage in relation to barimage2

If you create a new bar using the same id as another bar you have already
created, it will remove that bar and create the new one.


To remove a variable bar from the screen, you can use:

Galv.VBAR.remove(id);


To modify a variable bar, you can use the following:

Galv.VBAR.mod(id).barimage = "image";
Galv.VBAR.mod(id).barimage2 = "image";
Galv.VBAR.mod(id).var1 = currentVarId;
Galv.VBAR.mod(id).var2 = maxVarId;
Galv.VBAR.mod(id).x = xPos;
Galv.VBAR.mod(id).y = yPos;
Galv.VBAR.mod(id).ox = oxPos;
Galv.VBAR.mod(id).oy = oyPos;
パラメータ
( なし )
ライセンス表記

紹介ページ https://galvs-scripts.com/category/rmmv-plugins/mv-audiovisual-effects/#post-2304