| 赞 | 37 |
| VIP | |
| 好人卡 | |
| 积分 | 105 |
| 经验 | |
| 最后登录 | 2026-1-6 |
| 在线时间 | 463 小时 |
- 梦石
- 2
- 星屑
- 8479
- 在线时间
- 463 小时
- 注册时间
- 2021-12-4
- 回帖
- 486

|
发表于 2023-9-6 17:38:28
|
显示全部楼层
这是mv引擎的bug,可以试试修改这个js文件来解决。
Graphics.render = function(stage) { // rpg_core.js 第1871行
if (this._skipCount <= 0) { // 本行为修改内容,原文为"if (this._skipCount === 0) {"
var startTime = Date.now();
if (stage) {
this._renderer.render(stage);
if (this._renderer.gl && this._renderer.gl.flush) {
this._renderer.gl.flush();
}
}
var endTime = Date.now();
var elapsed = endTime - startTime;
this._skipCount = Math.min(Math.floor(elapsed / 15), this._maxSkip);
this._rendered = true;
} else {
this._skipCount--;
this._rendered = false;
}
this.frameCount++;
}; |
|