Welcome to PGMV! 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.
Picture Variable Setting - PictureVariableSetting.js
Plugin desc : Picture-related event extension plug-in
License : MIT License
Author : Triacontane
Website : https://triacontane.blogspot.com/
Desc page : https://triacontane.blogspot.com/
Download Page : https://raw.githubusercontent.com/munokura/triacontane-MV-plugins/refs/heads/main/PictureVariableSetting.js
File name : PictureVariableSetting.js
Help of plugin :
@url https://triacontane.blogspot.com/ @plugindesc Picture-related event extension plug-in @author Triacontane @license MIT License @help English Help Translator: munokura This is an unofficial English translation of the plugin help, created to support global RPG Maker users. Feedback is welcome to improve translation quality (see: https://github.com/munokura/triacontane-MV-plugins ). Original plugin by Triacontane. Please check the latest official version at: https://triacontane.blogspot.com ----- This expands the functionality of picture-related event commands. Enable this function using the plugin command. 1. Changes the specifications so that numbers in picture-related event commands are the "value of the specified variable." For example, setting the number to "1" will set the value of variable "1" as the picture number. Toggle between enable and disable using the plugin command "P_VARIABLE_VALID" and "P_VARIABLE_INVALID." (Disabled by default.) 2. Variables can now be incorporated into picture filenames. This is useful for flexible filename specifications, such as those containing sequential numbers. Execute the plugin command "P_D_FILENAME" and then "Display Picture" without specifying "Image." Caution! If you specify a picture filename dynamically, it may be excluded as an unused file during deployment. In this case, you will need to take appropriate measures, such as replacing the deleted file. 3. The following event commands now target "multiple pictures." Please refer to the description of each plugin command for details. ・Move picture ・Change picture color tone ・Rotate picture ・Clear picture Plugin Command Details Execute from the "Plugin Command" event command. (Arguments must be separated by a space.) P_VARIABLE_VALID - Enables the picture number variable setting. P_VARIABLE_INVALID - Disables the picture number variable setting. * Once enabled, it will remain enabled until disabled. Example: P_VARIABLE_VALID P_D_FILENAME [filename] You can include variables in the filename of the next picture to be displayed. Include variables in the same format as "Display Text": ¥V[n]. Do not specify an extension. Example: P_D_FILENAME file¥V[1] P_TARGET_ALL Changes the target of picture-related event commands to "All Displayed Pictures." The setting will revert to its original setting after one execution. Example: P_TARGET_ALL P_TARGET_RANGE [Start Number] [End Number] Changes the target of picture-related event commands to "pictures between the start number and the end number." Executing this command once will restore the original setting. Example: P_TARGET_RANGE 3 5 // Targets displayed pictures 3 through 5. P_TARGET_MULTI [Picture Number] Changes the target of picture-related event commands to "all specified pictures." Separate pictures with commas. Executing this command once will restore the original setting. Example: P_TARGET_MULTI 3,5,6,¥v[1] // Targets pictures 3, 5, 6, and variable "1." P_SPIN [Picture Number] [Angle] [Time (frames)] [Wait until completed] Rotates the target picture by the specified angle (degrees). Positive values are clockwise. Setting the time to 0 will immediately set the specified angle. This command also applies to commands such as "P_TARGET_ALL." Adding "WAIT" to the end will wait until the rotation is complete. Example: P_SPIN 1 90 60 WAIT -> Rotates picture number "1" by 90 degrees over 60 frames. P_SPIN_RELATIVE [Picture Number] [Angle] [Time (Frames)] [Wait Until Completion] Rotates the target picture by the specified angle, based on the current angle. Otherwise, this command is the same as "P_SPIN." Example: P_SPIN_RELATIVE ¥v[1] -90 0 -> Immediately rotates the picture with the value of variable "1" from its current angle to -90 degrees. P_SHAKE [Picture Number] [Strength] [Speed] [Angle] [Time (Frames)] [Wait Until Completion] Shakes the target picture. The strength and speed are specified using a 9-level value, similar to the "Screen Shake" event. The angle (degrees) specifies the shake direction, from 0 to 360 (90 for vertical shaking). If no time is specified, the shake will continue until stopped. Adding "WAIT" at the end will wait until the rotation is complete. This command applies to "P_TARGET_ALL" and similar commands. Example: P_SHAKE 1 3 9 0 60 WAIT -> Shake picture number "1" horizontally for 60 frames with a strength of 3 and a speed of 9. P_STOP_SHAKE [picture number] Stops shaking the target picture. If no time is specified with P_SHAKE, the shake will continue indefinitely, so this command disables it. This command applies to "P_TARGET_ALL" and similar commands. Example: P_STOP_SHAKE ¥v[1] -> Stops shaking the picture with the value of variable "1." P_OUT_OF_SCREEN_SHAKE_ON [picture number] The target picture will no longer be synchronized with screen shaking. Treatment is the same as for message windows, etc. This command must be executed after displaying a picture. Also, if you redisplay a picture with the same number after executing this command, it will be invalid. Example: P_OUT_OF_SCREEN_SHAKE_ON 1 -> Picture number "1" will no longer be synchronized with screen shaking. P_OUT_OF_SCREEN_SHAKE_OFF [picture number] The target picture will once again be synchronized with screen shaking. Example: P_OUT_OF_SCREEN_SHAKE_OFF 1 -> Picture number "1" will once again be synchronized with screen shaking. Terms of Use: You may modify and redistribute this plugin without permission from the author, and there are no restrictions on its use (commercial, 18+, etc.). This plugin is now yours. @param 初期値 @text Initial value @desc Initial setting of enabled/disabled (ON/OFF) @default OFF @param ピクチャ表示最大数 @text Maximum number of pictures displayed @desc Set the maximum number of pictures to display (default 100).