文本改成瞬间显示的方法做个标记,顺便感谢koei的那个佐竹大佬的耐心解答
修改js文件下的rpg_windows.js 324行
Window_Base.prototype.processNormalCharacter = function (textState) {
this._waitCount =0;
var c = textState.text[textState.index++];
var w = this.textWidth(c);
this.contents.drawText(c, textState.x, textState.y, w * 2, textState.height);
textState.x += w;
};
增加this._waitCount =0;(这里1为大概1/60秒);
需要多慢自己计算下。
然后是4401行,下面这个函数改成如下:
Window_Message.prototype.updateMessage = function () {
if (this._textState) {
while (!this.isEndOfText(this._textState)) {
if (this.needsNewPage(this._textState)) {
this.newPage(this._textState);
}
this.updateShowFast();
this.processCharacter(this._textState);
if ((this.pause || this._waitCount > 0) && !this._showFast && !this._lineShowFast) {
break;
}
}
if (this.isEndOfText(this._textState)) {
this.onEndOfText();
}
return true;
} else {
return false;
}
};
MZ修改
rmmz_windows.js
this.startWait(60);可以把60改成1试一试。或者this._lineShowFast = false的false改成true试一试
第4826行
Window_Message.prototype.clearFlags = function() {
this._showFast = true;
this._lineShowFast = true;
this._pauseSkip = false;
};
楼说rpg_sprites.js改默认数值,MZ版本的rmmz_sprites.js或许可以呢?但是关于sprites(精灵)的代码真的能改变显示速度吗?倒是TextScriptBase.js似乎有点用处
rmmz_windows.js,检索Window_StatusBase.prototype.drawActorLevel = function。检索Window_StatusBase.prototype.placeBasicGauges = function找到关于血条的代码块this.placeGauge(actor, "hp", x, y);把相关的代码注释掉应该就可以了,但是我不确定,修改代码要谨慎。
推荐YEP_MessageCore.js(YEP_消息核心.js)。。另外,有没有这个插件, \>这个符号都可以瞬间显示此行的文本。。要改代码的话rmmz_managers.js 的 case "|": this.startWait(60);可以把60改成1试一试。或者this._lineShowFast = false的false改成true试一试
修改js文件下的rpg_windows.js 324行
Window_Base.prototype.processNormalCharacter = function (textState) {
this._waitCount =0;
var c = textState.text[textState.index++];
var w = this.textWidth(c);
this.contents.drawText(c, textState.x, textState.y, w * 2, textState.height);
textState.x += w;
};
增加this._waitCount =0;(这里1为大概1/60秒);
需要多慢自己计算下。
然后是4401行,下面这个函数改成如下:
Window_Message.prototype.updateMessage = function () {
if (this._textState) {
while (!this.isEndOfText(this._textState)) {
if (this.needsNewPage(this._textState)) {
this.newPage(this._textState);
}
this.updateShowFast();
this.processCharacter(this._textState);
if ((this.pause || this._waitCount > 0) && !this._showFast && !this._lineShowFast) {
break;
}
}
if (this.isEndOfText(this._textState)) {
this.onEndOfText();
}
return true;
} else {
return false;
}
};
MZ修改
rmmz_windows.js
this.startWait(60);可以把60改成1试一试。或者this._lineShowFast = false的false改成true试一试
第4826行
Window_Message.prototype.clearFlags = function() {
this._showFast = true;
this._lineShowFast = true;
this._pauseSkip = false;
};
楼说rpg_sprites.js改默认数值,MZ版本的rmmz_sprites.js或许可以呢?但是关于sprites(精灵)的代码真的能改变显示速度吗?倒是TextScriptBase.js似乎有点用处
rmmz_windows.js,检索Window_StatusBase.prototype.drawActorLevel = function。检索Window_StatusBase.prototype.placeBasicGauges = function找到关于血条的代码块this.placeGauge(actor, "hp", x, y);把相关的代码注释掉应该就可以了,但是我不确定,修改代码要谨慎。
推荐YEP_MessageCore.js(YEP_消息核心.js)。。另外,有没有这个插件, \>这个符号都可以瞬间显示此行的文本。。要改代码的话rmmz_managers.js 的 case "|": this.startWait(60);可以把60改成1试一试。或者this._lineShowFast = false的false改成true试一试