An open library of RPG Maker MZ plugins, powered by the community.

PGMZ - The Community-Driven Plugin Library for RPG Maker MZ

MZ plugins

Event Effects - EventEffects.js

Plugin desc : [Ver 1.1.3] set various effects to events and player

License : MIT License

Author : Sasuke KANNAZUKI

Website : https://www.rpgmakerweb.com/products/rpg-maker-mz

Download Page :  C:Program Files (x86)SteamsteamappscommonRPG Maker MZdlcBasicResourcespluginslaunch EventEffects.js

File name : EventEffects.js

Help of plugin :

* @target MV MZ
 * @plugindesc [Ver 1.1.3] set various effects to events and player
 * @author Sasuke KANNAZUKI
 *
 * @help This plugin does not provide plugin commands.
 * This plugin runs under RPG Maker MV and MZ.

 * [Summary]
 * This plugin enables events various screen effects.
 *
 * [Usage]
 * Call follows from 'Set Movement Route' -> 'Script'.
 * ■change tint
 * this.tint(Array[red,green,blue,gray], # of frame ,waitFlag);
 * color: -255~255, 60frame = 1sec.
 * ex:
 * this.tint([255,255,255,0], 20, true);  # whiten within 20 frames
 * this.tint([0,0,0,0], 20, true);        # reset within 20 frames
 * ■change opacity
 * this.opaque(opacity, # of frame, waitFlag);
 * this.opaque(128, 20, true);        # set half-transparent within 20 frames
 * ■set above of all
 * this.tint2(Array[red,green,blue,gray], opacity, # of frame ,waitFlag);
 * this.tint2([64,64,64,0], 20, 128, false); 
 *   # set whithen and half-transparent in 20 franmes
 *
 * ■shorten notation of tint
 * this.tintB(frame, waitF);   # change tint to be Black(=[-255,-255,-255,0])
 * this.tintW(frame, waitF);   # change tint to be White(=[255,255,255,0])
 * this.tintN(frame, waitF);   # change tint to be Normal(=[0,0,0,0])
 * above of all, frame and waitF are omissible.
 * default value is frame=60, waitF=true.
 *
 * ■baloon icon
 * this.balloon(num, wait);   # num:1~10, wait:true/false
 * num: 1/exclamation, 2/question, 3/music note, 4/heart, 5/anger,
 * 6/sweat, 7/cobweb, 8/silence, 9/light bulb, 10/Zzz
 * ex:
 * this.balloon(1, true);     # exclamation icon with wait
 * this.balloon(2, false);    # qustion icon without wait
 *
 * ■set up side down
 * this.setUpSideDown();        # display up side down
 * this.resetUpSideDown();      # stop up side down
 * note: this function is realized by rotating 180 degree and changing offsets.
 * ■set angle
 * this.setAngle(90);           # set right 90 degree
 * this.setAngle(-90);          # set left 90 degree
 * this.setAngle(0);            # set original angle
 * ■set offset
 * this.setOffsets(10,20);      # set X+10, Y+20
 * this.setOffsets(0,0);        # set original position
 * ■set offset yet more (added at Ver1,1)
 * this.moveOffsets(25,-15);     # set X+25, Y-10 from current offset
 * this.setOffsetFwd(8);        # set 8 forward according to character's dir.
 * this.moveOffsetFwd(8);       # forward 8 from current offset
 * ■set above of all:
 * this.setEffects(ox,oy,usd,angle);
 * ox,oy:offsets, usd:flag up side down(true/false), angle:degree(360 is round)
 * ex:
 * this.setEffects(-15,20,false,45); #move(-15,20), rotate 45 defree clockwise
 * 
 * ■priority type
 * this.setPriorityType(priority);  # priority 0:under 1:normal 2:over
 * note: this is preset function.
 *
 * ■Change character with cross fade
 * this.setGrid2(dir, pattern, frames, wait);
 * this.setImageGrid2(name, index, dir, pattern, frames, wait);
 * dir=2,4,6,or8, pattern=0,1,or2, frames(60frame=1sec), wait: wait until end?
 * name=character graphic name, index=character index(0~7)
 *
 * ■Set Offset and Viewport
 * this.setOffset2(dx, dy[, slx, sly, srx, sry]);
 *   (dx, dy): Offset Coord.
 *   (slx, sly) - (srx, sry): range of viewport of character bitmap.
 *    | when these 4 parameters are omitted, it'll be all range of character.
 * this.resetOffset2();
 *   reset setting of setOffset2.
 *
 * [License]
 * this plugin is released under MIT license.
 * http://opensource.org/licenses/mit-license.php

スポンサードリンク

-MZ plugins

Copyright© PGMZ - The Community-Driven Plugin Library for RPG Maker MZ , 2026 All Rights Reserved.