当サイトの運営者です。ゲーム制作とプラグイン開発が好きで、コミュニティに貢献したいと考えています。
RPGツクールMZでゲームを制作中です。
※プログラマ・エンジニアではありません。
ピクチャ息遣い - UTSU_PictureBreath_MZ.js
シェア用テキスト:
▼ピクチャ息遣い(Utsuda Shinou様作) - UTSU_PictureBreath_MZ.js
https://plugin-mz.fungamemake.com/archives/778
ピクチャに息遣いの動作を加えます。
ふりがな:ぴくちゃいきづかい
機能概要: ピクチャに息遣いの動作を加えます。
利用規約(ライセンス): MITライセンス
作者:Utsuda Shinou
作者サイト:https://twitter.com/virtualUtsuda
ダウンロードページ:https://raw.githubusercontent.com/utsudashinou/RPGMaker…
ファイル名:UTSU_PictureBreath_MZ.js
プラグインのヘルプ:
//============================================================================= // UTSU_PictureBreath_MZ.js // ---------------------------------------------------------------------------- // Copyright (c) 2020 Utsuda Shinou // This software is released under the MIT License. // http://opensource.org/licenses/mit-license.php // ---------------------------------------------------------------------------- // Version // 1.0.0 2020/09/06 Add support RPG Maker MZ // // --- Fork from UTSU_PictureBreath.js ---- // // 1.1.3 2020/08/26 Fix bug that breath of pictures in map stops after battle // 1.1.2 2020/08/25 Fix to continue picture breath even if picture changed for the same picture number // 1.1.1 2020/08/25 Fix bug about init params // 1.1.0 2020/08/23 Fix plugin does not work in a battle // Fix help about parameters, speed -> period // 1.0.0 2020/08/21 Release // ---------------------------------------------------------------------------- // [GitHub] : https://github.com/utsudashinou // [Twitter]: https://twitter.com/virtualUtsuda //============================================================================= /*: * @target MZ * @plugindesc ピクチャ息遣い * @author Utsuda Shinou * @url https://github.com/utsudashinou/RPGMakerMV * * @command on * @text ピクチャ息遣いON * @desc * * @arg pictureIds * @text ピクチャ番号 * @desc * @type number[] * @min 1 * * @arg period * @text 周期 * @desc * @type number * @default 150 * * @command off * @text ピクチャ息遣いOFF * @desc * * @arg pictureIds * @text ピクチャ番号 * @desc * @type number * @min 1 * * @help ピクチャに息遣いの動作を加えます。 * * * スクリプト * UTSU.PictureBreath.on(pictureIds, period); * 息遣いをする。pictureIdsは対象のピクチャIDの配列、periodは息遣いの周期。 * 例: UTSU.PictureBreath.on([1,2,3]), 150); * * UTSU.PictureBreath.off(pictureIds); * 息遣いをやめる。 * 例: UTSU.PictureBreath.off([1,2,3]); * * * * プラグインコマンド * ◆プラグインコマンド:UTSU_PictureBreath, ピクチャ息遣いON * : :ピクチャ番号 * : :周期 * 息遣いをする。ピクチャ番号は対象のピクチャ番号の配列、周期は息遣いの周期。 * 例: * ◆プラグインコマンド:UTSU_PictureBreath, ピクチャ息遣いON * : :ピクチャ番号 = ["1", "2", "3", "4", "5"] * : :周期 = 150 * * ◆プラグインコマンド:UTSU_PictureBreath, ピクチャ息遣いOFF * : :ピクチャ番号 * 息遣いをやめる。 * 例: * ◆プラグインコマンド:UTSU_PictureBreath, ピクチャ息遣いOFF * : :ピクチャ番号 = ["1", "2", "3", "4", "5"] * */