Welcome to PGMZ! My goal is to make it easy for everyone to find and share great plugins for creating amazing games. As a plugin developer myself, I'm excited to grow this community with all of you.
MNKR TM Character Ex MZ - MNKR_TMCharacterExMZ.js
Plugin desc : Adds the ability to adjust the display position, rotate, and zoom to events.
License : MIT License
Author : munokura
Website : http://x.com/munokura
Desc page : https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_TMCharacterExMZ.js
File name : MNKR_TMCharacterExMZ.js
Help of plugin :
@target MZ @url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_TMCharacterExMZ.js @plugindesc Adds the ability to adjust the display position, rotate, and zoom to events. @author munokura @license MIT License @help How to Use: You can set the display position, magnification, and rotation angle by writing tags in the event’s memo field. The default position of the event image’s origin is [0.5,1.0]. ([x:+24,y:-48] pixels from the top left.) To rotate the event image around its center, use the angle tag along with <anchorY:0.5>. When the event page changes, parameters without tags on the next page will retain their previous settings. Memo (Event) Tags: <chrShift:0 0> # Change the display position offset <chrAngle:0> # Change the rotation angle (0 to 359) <chrScale:1.0 1.0> # Change the magnification (1.0 is full magnification) <chrAnchor:0.5 1.0> # Change the origin position For tags with two values, specify the X and Y settings separately. In addition to the event memo field, you can also set parameters using the same tags in the annotation command at the top of the action. If there are tags in both the memo field and the annotation, the annotation takes priority. Script Commands: Use the following script with the event command ”Set Movement Route.” Please note that using this with a normal event will result in an error. this.setChrShift(-10, 5); Shift the display position 10 to the left and 5 down from the original image of this event. this.setChrAngle(180); Rotate this event 180 degrees from its original image. this.setChrScale(2, 1); Scale this event’s original image by doubling its width. this.setChrScaleRate(1, 1.5); Scale this event’s original image by 1.5 times its height, leaving its width unchanged. Plugin Command: The event number (the first number) specifies the target according to the following rules: -1 ... Player 0 ... Event executing the command 1 or higher ... Event with the specified number chrShift 1 5 -3 Shifts event 1 5 dots to the right and 3 dots up. chrAngle 1 90 Rotates event 1 90 degrees to the right. chrScale 2 1.5 0.5 Enlarges event 2 by 50% in width and reduces its height by half. chrScaleRate 3 1.3 0.7 Sets the scaling correction rate for Event 3 to 1.3x width and 0.7x height. The scaling correction rate is multiplied separately from the scaling rate set by setChrScale, and returns to normal size over time. chrClear 1 Removes all effects of chrShift, chrAngle, and chrScale applied to Event 1. # Contact This is a plugin originally created for RPG Maker MV ported for MZ. Please contact the modifier for any inquiries. # Terms of Use MIT License. http://opensource.org/licenses/mit-license.php You may modify and redistribute this without permission, and there are no restrictions on its use (commercial, 18+, etc.). @param landingAnimation @text Post-jump enlargement correction @desc Automatically applies magnification correction rate when landing after a jump. @type boolean @on valid @off invalid @default true @command chrShift @text Event position adjustment @desc Stagger the event. @arg eventId @text Event ID @desc The event ID for which the display position is to be changed. @type number @default 0 @min -1 @arg offsetX @text Horizontal dot amount @desc The amount of dots to shift the event horizontally. @type number @default 0 @min -9007 @max 9007 @arg offsetY @text Vertical dot amount @desc The amount of dots to shift the event vertically. @type number @default 0 @min -9007 @max 9007 @command chrAngle @text Event rotation @desc Rotate the event to the right. @arg eventId @text Event ID @desc The event ID for which the display position is to be changed. @type number @default 0 @min -1 @arg angle @text Rotation Degrees @desc The number of degrees to rotate the event to the right. @type number @default 0 @min 0 @max 359 @command chrScale @text Event Scaling @desc Scale the event. @arg eventId @text Event ID @desc The event ID for which the display position is to be changed. @type number @default 0 @min -1 @arg scaleX @text Horizontal magnification @desc The percentage by which to expand the event horizontally. @default 1.00 @arg scaleY @text Vertical magnification @desc The percentage by which to expand the event vertically. @default 1.00 @command chrScaleRate @text Event expansion correction rate @desc Specifies the magnification correction rate for the event. This is multiplied separately from the magnification rate, and will return to normal size over time. @arg eventId @text Event ID @desc The event ID for which the display position is to be changed. @type number @default 0 @min -1 @arg scaleX @text Horizontal expansion correction rate @desc Event horizontal expansion correction factor. @default 1.00 @arg scaleY @text Vertical expansion correction rate @desc Event vertical expansion correction factor. @default 1.00 @command chrClear @text Cancel event settings @desc Cancels the effects specified by other plug-in commands. @arg eventId @text Event ID @desc The event ID for which the display position is to be changed. @type number @default 0 @min -1