| 
 使用相关 
 
重要备注 
 
如何使用 
 
 
 
插件不更新,不维护,不修BUG,不提供指导方法,不要问为啥用不了,如果出错可能是有BUG了,因为脚本是自用的,如有问题请自行找人解决 
想要菜单栏打开CG的 请自行找人修改插件 本人不提供任何帮助 
2016年3月5日更新了BUG,可下载本附件的新插件,也可以复制下面的代码自行保存 
 
 
插件说明 
 
 
 
下面是完整插件代码 
JAVASCRIPT 代码 
[code]/*: 
 * @plugindesc CG鉴赏画面 
 * @author Joritian 
 * 
 * @param 数目 
 * @desc CG的数量 
 * @default 3 
 * 
 * @param 初始大小 
 * @desc 打开CG时的初始缩放比例. 
 * @default 1 
 * 
 * @param 缩放步长 
 * @desc 每按一次缩放键CG缩放比例所改变的值. 
 * @default 0.1 
 * 
 * @param 放大极限 
 * @desc 缩放CG时所能达到的最大缩放比例. 
 * @default 1 
 * 
 * @param 移动速度 
 * @desc 按下方向键时CG的移动速度(像素/帧). 
 * @default 5 
 * 
 * @help 开启此画面请在事件内运以下插件命令: 
 * 打开CG鉴赏画面 
 * 
 * 解锁第i幅图片请使用以下插件命令: 
 * 解锁CG i 
 * 
 * 你必须在img文件夹内创建一个名为gallery的文件夹 
 * 文件夹内的CG图片命名应为纯数字(图片ID),"locked"为未解锁时显示的图片,"background"为鉴赏画面背景图,"text"为对CG进行缩放时屏幕上显示的操作说明图片. 
 * 图片的大小不得小于游戏画面. 
 */ 
 
Game_System.prototype.initialize = function(){ 
        this._saveEnabled = true; 
        this._menuEnabled = true; 
        this._encounterEnabled = true; 
        this._formationEnabled = true; 
        this._battleCount = 0; 
        this._winCount = 0; 
        this._escapeCount = 0; 
        this._saveCount = 0; 
        this._versionId = 0; 
        this._framesOnSave = 0; 
        this._bgmOnSave = null; 
        this._bgsOnSave = null; 
        this._windowTone = null; 
        this._battleBgm = null; 
        this._victoryMe = null; 
        this._defeatMe = null; 
        this._savedBgm = null; 
        this._walkingBgm = null; 
        this.gallery = [] 
}; 
 
var parameters = PluginManager.parameters('PictureGallery'); 
var maxPictures = Number(parameters['数目'] || 3); 
var pictureSpeed = Number(parameters['移动速度'] || 5); 
var pictureScaleInit = Number(parameters['初始大小'] || 1); 
var pictureScaleDelta = Number(parameters['缩放步长'] || 0.1); 
var pictureScaleMax = Number(parameters['放大极限'] || 1); 
 
var _Game_Interpreter_pluginCommand = Game_Interpreter.prototype.pluginCommand; 
    Game_Interpreter.prototype.pluginCommand = function(command, args){ 
        _Game_Interpreter_pluginCommand.call(this, command, args); 
        if(command === '打开CG鉴赏画面'){ 
                        SceneManager.push(Scene_Gallery); 
        } 
                if(command === '解锁CG'){ 
                        $gameSystem.gallery[args[0]] = true; 
                } 
    }; 
 
ImageManager.loadGallery = function(filename){ 
    returnthis.loadBitmap('img/gallery/', filename, 0, true); 
}; 
 
function Scene_Gallery(){ 
    this.initialize.apply(this, arguments); 
} 
 
Scene_Gallery.prototype = Object.create(Scene_Base.prototype); 
Scene_Gallery.prototype.constructor = Scene_Gallery; 
 
Scene_Gallery.prototype.initialize = function(){ 
    Scene_Base.prototype.initialize.call(this); 
        this.number = 0; 
        for(var i = 1; i   |