查看: 3877|回复: 7

[有事请教] [已解决]这种窗口图怎么用

[复制链接]
梦石
0
星屑
1893
在线时间
436 小时
注册时间
2018-1-18
回帖
368
发表于 2018-3-15 18:32:52 | 显示全部楼层 |阅读模式

加入我们,或者,欢迎回来。

您需要 登录 才可以下载或查看,没有账号?注册会员

×
本帖最后由 Williamnice 于 2018-3-15 21:22 编辑

捕获.PNG 据说是MV的窗口图....
但是,完全用不了啊..
求解{:11_668:}
(正常的窗口图是这样的 捕获.PNG )
梦石
0
星屑
22879
在线时间
8598 小时
注册时间
2011-12-31
回帖
3270
发表于 2018-3-15 19:18:57 | 显示全部楼层
Window/Window2/Window3

窗口skin切換//=============================================================================
// BB_WindowSelector.js
//=============================================================================

/*:
* @plugindesc ウインドウスキンと切り替えるプラグイン。
* @author ビービー
*
* @param Variable ID
* @desc 指定したIDの変数が2の時にWindow2が3のときにWindow3が表示されます。
* それ以外のときはデフォルトのWindowが表示されます。default:0
* @default 0
*
* @param Window1 Opacity
* @desc 指定したIDの変数の数値によってウインドウの透明度を調節します。default:192
* @default 192
*
* @param Window2 Opacity
* @desc 指定したIDの変数の数値によってウインドウの透明度を調節します。default:192
* @default 192
*
* @param Window3 Opacity
* @desc 指定したIDの変数の数値によってウインドウの透明度を調節します。default:192
* @default 192
*
* @param Window1 OutlineColor
* @desc Windowの文字枠の色を変更します。R(赤),G(緑),B(青),A(強さ)の順番でカンマ(,)区切りで指定。default:rgba(0, 0, 0, 0.5)
* @default rgba(0, 0, 0, 0.5)
*
* @param Window1 OutlineWidth
* @desc Windowの文字枠の幅を変更します。default:4
* @default 4
*
* @param Window2 OutlineColor
* @desc Window2の文字枠の色を変更します。R(赤),G(緑),B(青),A(強さ)の順番でカンマ(,)区切りで指定。default:rgba(0, 0, 0, 0.5)
* @default rgba(0, 0, 0, 0.5)
*
* @param Window2 OutlineWidth
* @desc Windowの文字枠の幅を変更します。default:4
* @default 4
*
* @param Window3 OutlineColor
* @desc Window3の文字枠の色を変更します。R(赤),G(緑),B(青),A(強さ)の順番でカンマ(,)区切りで指定。default:rgba(0, 0, 0, 0.5)
* @default rgba(0, 0, 0, 0.5)
*
* @param Window3 OutlineWidth
* @desc Windowの文字枠の幅を変更します。default:4
* @default 4
*
* @param Window1 DimmerColor
* @desc Window1を暗くするに設定した時の背景色。
* default:rgba(0, 0, 0, 0.6)
* @default rgba(0, 0, 0, 0.6)
*
* @param Window1 DimGradationColor
* @desc Window1を暗くするに設定した時の背景色グラデーション。
* default:rgba(0, 0, 0, 0)
* @default rgba(0, 0, 0, 0)
*
* @param Window2 DimmerColor
* @desc Window2を暗くするに設定した時の背景色。
* default:rgba(0, 0, 0, 0.6)
* @default rgba(0, 0, 0, 0.6)
*
* @param Window2 DimGradationColor
* @desc Window2を暗くするに設定した時の背景色グラデーション。
* default:rgba(0, 0, 0, 0)
* @default rgba(0, 0, 0, 0)
*
* @param Window3 DimmerColor
* @desc Window3を暗くするに設定した時の背景色。
* default:rgba(0, 0, 0, 0.6)
* @default rgba(0, 0, 0, 0.6)
*
* @param Window3 DimGradationColor
* @desc Window3を暗くするに設定した時の背景色グラデーション。
* default:rgba(0, 0, 0, 0)
* @default rgba(0, 0, 0, 0)
*
* @help Variable ID:パラメータで指定したIDの変数が2の時にWindow2が表示され、
* 3のときにはWindow3が表示されます。それ以外のときはWindowを表示します。
* --------------------------------------------------------------------------
* Window1~3 Opacity:それぞれのウインドウの透明度を設定できます。
* 透明度範囲=0~255。デフォルト=192。
* --------------------------------------------------------------------------
* ウインドウはそれぞれ文字枠色、文字枠幅を調節できます。
* 変更されるのはメッセージウインドウのみです。
*
* OutlineColor:文字枠の色を変更します。
* デフォルト:rgba(0, 0, 0, 0.5)
* R(赤),G(緑),B(青),A(強さ)の順番でカンマ(,)区切りで指定。
* RGB(赤緑青)は0~255(0=明るい,255=暗い)の間で指定、A(強さ)は0~1(0=透明,1=不透明)の間で指定。
*
* OutlineWidth:Windowの文字枠の幅を変更します。
* デフォルト:4
* --------------------------------------------------------------------------
* ウインドウを暗くするに設定した場合の背景色を指定できます。
*
* DimmerColor:背景中央部分の色指定。
* デフォルト:rgba(0, 0, 0, 0.6)
* R(赤),G(緑),B(青),A(強さ)の順番でカンマ(,)区切りで指定。
* RGB(赤緑青)は0~255(0=明るい,255=暗い)の間で指定、A(強さ)は0~1(0=透明,1=不透明)の間で指定。
*
* DimGradationColor:背景上下グラデーション部分の色指定。
* デフォルト:rgba(0, 0, 0, 0)
* R(赤),G(緑),B(青),A(強さ)の順番でカンマ(,)区切りで指定。
* RGB(赤緑青)は0~255(0=明るい,255=暗い)の間で指定、A(強さ)は0~1(0=透明,1=不透明)の間で指定。
* --------------------------------------------------------------------------
* 利用規約:
* 作者に無断で改変、再配布が可能で、利用形態(商用、18禁利用等)
* についても制限はありません。
*
* BLOG:http://bb-entertainment-blog.blogspot.jp/
*
*/

(function() {

        var parameters = PluginManager.parameters('BB_WindowSelector');
        var BBWSvar = Number(parameters['Variable ID'] || '0');
        var BBWS1o = Number(parameters['Window1 Opacity'] || '192');
        var BBWS2o = Number(parameters['Window2 Opacity'] || '192');
        var BBWS3o = Number(parameters['Window3 Opacity'] || '192');
        var BBWS1oc = String(parameters['Window1 OutlineColor'] || 'rgba(0, 0, 0, 0.5)');
        var BBWS1ow = Number(parameters['Window1 OutlineWidth'] || '4');
        var BBWS2oc = String(parameters['Window2 OutlineColor'] || 'rgba(0, 0, 0, 0.5)');
        var BBWS2ow = Number(parameters['Window2 OutlineWidth'] || '4');
        var BBWS3oc = String(parameters['Window3 OutlineColor'] || 'rgba(0, 0, 0, 0.5)');
        var BBWS3ow = Number(parameters['Window3 OutlineWidth'] || '4');
        var BBWS1dm = String(parameters['Window1 DimmerColor'] || 'rgba(0, 0, 0, 0.6)');
        var BBWS2dm = String(parameters['Window1 DimGradationColor'] || 'rgba(0, 0, 0, 0)');
        var BBWS3dm = String(parameters['Window2 DimmerColor'] || 'rgba(0, 0, 0, 0.6)');
        var BBWS4dm = String(parameters['Window2 DimGradationColor'] || 'rgba(0, 0, 0, 0)');
        var BBWS5dm = String(parameters['Window3 DimmerColor'] || 'rgba(0, 0, 0, 0.6)');
        var BBWS6dm = String(parameters['Window3 DimGradationColor'] || 'rgba(0, 0, 0, 0)');

// 画像の読み込み

Scene_Boot.prototype.create = function() {
    Scene_Base.prototype.create.call(this);
    DataManager.loadDatabase();
    ConfigManager.load();
    this.loadSystemImages();
    this.loadSystemImages2();
};

var Scene_Boot_loadSystemImages2 = Scene_Boot.prototype.loadSystemImages2;
Scene_Boot.prototype.loadSystemImages2 = function() {
    ImageManager.loadSystem('Window');
    ImageManager.loadSystem('Window2');
    ImageManager.loadSystem('Window3');
};

// ウインドウ画像の切り替え
Window_Base.prototype.update = function() {
    Window.prototype.update.call(this);
    if($gameVariables.value(BBWSvar) == 3){
        this.windowskin = ImageManager.loadSystem('Window3');
        this.backOpacity = BBWS3o;
        this.contents.outlineColor = BBWS3oc;
        this.contents.outlineWidth = BBWS3ow;
    }else if($gameVariables.value(BBWSvar) == 2){
        this.windowskin = ImageManager.loadSystem('Window2');
        this.backOpacity = BBWS2o;
        this.contents.outlineColor = BBWS2oc;
        this.contents.outlineWidth = BBWS2ow;
    }else{
        this.windowskin = ImageManager.loadSystem('Window');
        this.backOpacity = BBWS1o;
        this.contents.outlineColor = BBWS1oc;
        this.contents.outlineWidth = BBWS1ow;
    }
    this.updateTone();
    this.updateOpen();
    this.updateClose();
    this.updateBackgroundDimmer();
};

Window_Base.prototype.updateBackgroundDimmer = function() {
    if (this._dimmerSprite) {
        this._dimmerSprite.opacity = this.openness;
        this.refreshDimmerBitmap();
    }
};

Window_Base.prototype.refreshDimmerBitmap = function() {
    if (this._dimmerSprite) {
        var bitmap = this._dimmerSprite.bitmap;
        var w = this.width;
        var h = this.height;
        var m = this.padding;
        if($gameVariables.value(BBWSvar) == 3){
            var c1 = this.dimColor5();
            var c2 = this.dimColor6();
        }else if($gameVariables.value(BBWSvar) == 2){
            var c1 = this.dimColor3();
            var c2 = this.dimColor4();
        }else{
            var c1 = this.dimColor1();
            var c2 = this.dimColor2();
        }
        bitmap.resize(w, h);
        bitmap.gradientFillRect(0, 0, w, m, c2, c1, true);
        bitmap.fillRect(0, m, w, h - m * 2, c1);
        bitmap.gradientFillRect(0, h - m, w, m, c1, c2, true);
        this._dimmerSprite.setFrame(0, 0, w, h);
    }
};

Window_Base.prototype.dimColor1 = function() {
    return BBWS1dm;
};

Window_Base.prototype.dimColor2 = function() {
    return BBWS2dm;
};

Window_Base.prototype.dimColor3 = function() {
    return BBWS3dm;
};

Window_Base.prototype.dimColor4 = function() {
    return BBWS4dm;
};

Window_Base.prototype.dimColor5 = function() {
    return BBWS5dm;
};

Window_Base.prototype.dimColor6 = function() {
    return BBWS6dm;
};


})();

点评

谢谢,但是您好像理解错了...我的意思是这个窗口图片的尺寸和普通MV不一样  发表于 2018-3-15 19:46
回复

使用道具 举报

梦石
0
星屑
4935
在线时间
918 小时
注册时间
2015-7-1
回帖
309
发表于 2018-3-15 20:15:17 | 显示全部楼层
这个是XP的素材...

点评

哦哦  发表于 2018-3-15 21:21

评分

参与人数 1赞 +1 收起 理由
Williamnice + 1 尴尬了

查看全部评分

【四季】已上架steam!欢迎大家来玩!
回复

使用道具 举报

梦石
0
星屑
2814
在线时间
616 小时
注册时间
2018-1-17
回帖
1230
发表于 2018-3-16 03:46:32 | 显示全部楼层
最下面那张是king大大的图呢 超好看的
回复

使用道具 举报

梦石
0
星屑
1540
在线时间
309 小时
注册时间
2011-7-23
回帖
143
发表于 2018-3-16 09:52:19 | 显示全部楼层
MV的UI素材的规格是192×192...
不知身之何死,愿幻梦不灭。不知情之何起,愿一往而深。
回复

使用道具 举报

梦石
0
星屑
7735
在线时间
1227 小时
注册时间
2008-12-14
回帖
504
发表于 2018-3-16 10:20:27 | 显示全部楼层
拿软件批量放大就可以用,软件叫photozoom吧,好像,不记得了。
需要购买本人MV插件必须先加wx好友。加不上wx就是本人忙,没时间卖。原则上太久以前的插件也不想卖,因为我也忘了,维护上会不给力。wx名:alskyif    本人插件地址:
   LCK_SRPG梦幻模拟战、火焰纹章类系统
   究极立绘ADV系统

   究极换装统合系统
   究极! 回想与CG系统
   消息文字的距离调整  
   自动返回上一张地图
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册会员

本版积分规则

Powered by Discuz! X5.0 © 2001-2026 Discuz! Team.

在本版发帖返回顶部