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

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

MZ plugins

Picture Offsets - PictureOffsets.js

Plugin desc : Allows you to move the picture display based on a certain value.

License : MIT License

Author : あわやまたな (Awaya_Matana)

Website : https://awaya3ji.seesaa.net/

Desc page : https://awaya3ji.seesaa.net/article/503283296.html

File name : PictureOffsets.js

Help of plugin :

* @target MZ
* @orderAfter PluginCommonBase
* @plugindesc Allows you to move the picture display based on a certain value.
* @author あわやまたな (Awaya_Matana)
* @url https://awaya3ji.seesaa.net/article/503283296.html
* @help Ver.1.1.1
* [Scripts]
* $gameScreen.movePictureOffsets(pictureId, x, y, scaleX, scaleY, opacity, duration, easingType);
* //Move Offsets
* $gameScreen.movePictureOffsetsRelatively(pictureId, x, y, scaleX, scaleY, opacity, duration, easingType);
* //Move Offsets Relatively
* $gameScreen.setPictureName(pictureId, name);
* //Change Image
*
* @command moveOffsets
* @text Move Offsets
* @desc Shifts the display of pictures.
* @arg pictureId
* @text Picture ID
* @default 1
* @arg x
* @text X
* @default 0
* @arg y
* @text Y
* @default 0
* @arg scaleX
* @text Scale X
* @default 100
* @arg scaleY
* @text Scale Y
* @default 100
* @arg opacity
* @text Opacity
* @default 255
* @arg easingType
* @text Easing Type
* @type select 
* @option Constant speed
* @value 0
* @option Slow start
* @value 1
* @option Slow end
* @value 2
* @option Slow start and end
* @value 3
* @default 0
* @arg duration
* @text Duration
* @desc Apply immediately with 0
* @default 24
* @arg wait
* @text Wait for Completion
* @desc Wait until it completes.
* @type boolean
* @default true
*
* @command moveOffsetsRelatively
* @text Move Offsets Relatively
* @desc Shifts the display of pictures relatively.
* @arg pictureId
* @text Picture ID
* @default 1
* @arg x
* @text X
* @default 0
* @arg y
* @text Y
* @default 0
* @arg scaleX
* @text Scale X
* @default 100
* @arg scaleY
* @text Scale Y
* @default 100
* @arg opacity
* @text Opacity
* @default 255
* @arg easingType
* @text Easing Type
* @type select 
* @option Constant speed
* @value 0
* @option Slow start
* @value 1
* @option Slow end
* @value 2
* @option Slow start and end
* @value 3
* @default 0
* @arg duration
* @text Duration
* @desc Apply immediately with 0
* @default 24
* @arg wait
* @text Wait for Completion
* @desc Wait until it completes.
* @type boolean
* @default true
*
* @command changeImage
* @text Change Image
* @desc Change only the image of the picture.
* @arg pictureId
* @text Picture ID
* @default 1
* @arg name
* @text Name
* @type file
* @dir img/pictures
*
* @command moveOffsetsSV
* @text Move Offsets (Short Version)
* @desc Shifts the display of pictures.
* It can be written in fewer lines.
* @arg params
* @text Parameters
* @desc From left, PicID, Pos, Scale, Opacity, Frames, EasingType
* #, %, and () can be omitted.
* @default #1,(0,0),(100%,100%),255,24,0
* @arg wait
* @text Wait for Completion
* @desc Wait until it completes.
* @type boolean
* @default true
*
* @command moveOffsetsRelativelySV
* @text Move Offsets Relatively (Short Version)
* @desc Shifts the display of pictures relatively.
* It can be written in fewer lines.
* @arg params
* @text Parameters
* @desc From left, PicID, Pos, Scale, Opacity, Frames, EasingType
* #, %, and () can be omitted.
* @default #1,(0,0),(100%,100%),255,24,0
* @arg wait
* @text Wait for Completion
* @desc Wait until it completes.
* @type boolean
* @default true
*

スポンサードリンク

-MZ plugins

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