查看: 3781|回复: 9

[原创发布] scene_party的美化

[复制链接]
梦石
0
星屑
440
在线时间
679 小时
注册时间
2014-3-15
回帖
239

开拓者

发表于 2017-3-6 15:40:37 | 显示全部楼层 |阅读模式

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

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

×
不是YEP的插件,我比较喜欢YANA的scene formation。相对来说比较简洁也比较好用。重要的是可以稍微修改便可制作阵型系统
这样子所有的菜单界面就美化完毕了。然后剩下的就是Scene Shop。

归档.zip

713.48 KB, 下载次数: 197

评分

参与人数 1星屑 +20 收起 理由
2577058272 + 20 塞糖

查看全部评分

梦石
0
星屑
2582
在线时间
363 小时
注册时间
2015-8-15
回帖
66
发表于 2017-3-11 11:13:00 | 显示全部楼层
QQ截图20170311110808.png 大神,可不可以让战斗队员和待机队员不显示行走图而显示单独的图片,我用了行走图多帧插件,就乱了

点评

你想用的是表情而不是行走图吗?这几天有空研究一下。  发表于 2017-3-16 10:36
有空看一下,不过一般是drawactorsprite的问题,你先看看替换掉这个代码  发表于 2017-3-11 16:27
插件中 Selection 里的 actor sprite 选项填写 false 意思是不显示角色行走图  发表于 2017-3-11 14:35
回复

使用道具 举报

梦石
0
星屑
2582
在线时间
363 小时
注册时间
2015-8-15
回帖
66
发表于 2017-3-17 19:43:26 | 显示全部楼层
对,不要显示行走图,换成独立的图片,拜托你了大神

点评

drawActorCharacter替换为drawActorFace。但是这样的话你要更改选区的大小。  发表于 2017-3-19 18:50
回复

使用道具 举报

梦石
0
星屑
440
在线时间
679 小时
注册时间
2014-3-15
回帖
239

开拓者

 楼主| 发表于 2017-3-19 18:55:01 | 显示全部楼层
本帖最后由 sonicdonggua 于 2017-3-19 18:56 编辑
梦幻のLoli塔 发表于 2017-3-17 19:43
对,不要显示行走图,换成独立的图片,拜托你了大神


    Window_Formation.prototype.itemRect = function(index) {
        var rect = Window_Selectable.prototype.itemRect.call(this, index);
        rect.width = 48;
        rect.height = 48;
        rect.x = (index % this.maxCols()) * (this.itemWidth() + this.spacing());
        rect.y = 9 + (Math.floor(index / this.maxCols()) - this.topRow()) * this.itemHeight();
        return rect;
    };

    Window_Formation.prototype.itemWidth = function() {
        return 60;
    };

    Window_Formation.prototype.itemHeight = function() {
        return 66;
    };
Window_Formation.prototype.drawItem = function(i){
        var x = this.itemWidth() * Math.floor((i % this.maxCols()));
        var y = 12 + this.itemHeight() * (Math.floor((i / this.maxCols())) - this.topRow());
        if (i == this._lockIndex) {
            this.contents.fillRect(x, y - 3, 48, 48, 'rgba(0,0,0,0.5)')
        }
        if (this._members) {
            if (this._members.isFixed()) {
                this.contents.fillRect(x, y - 3, 48, 48, 'rgba(128,0,0,0.5)')
            }
            this.drawActorCharacter(this._members, x + 24, y + 44);
        } else {
            this.drawText('-', x, y, 48, 'center');
        }
    };
这些是你需要更改的地方。drawActorCharacter替换为drawActorFace,加粗的地方你把大小更改成你需要的数据
回复

使用道具 举报

梦石
0
星屑
2582
在线时间
363 小时
注册时间
2015-8-15
回帖
66
发表于 2017-3-20 21:19:50 | 显示全部楼层
sonicdonggua 发表于 2017-3-19 18:55
Window_Formation.prototype.itemRect = function(index) {
        var rect = Window_Selectable.p ...

QQ截图20170320211714.png 大神,为什么改了之后什么都不显示了啊

点评

我的没问题啊,你要不把文件发给我看看  发表于 2017-3-21 18:23
回复

使用道具 举报

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

本版积分规则

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

在本版发帖返回顶部