赞 | 123 |
VIP | 0 |
好人卡 | 3 |
积分 | 38 |
经验 | 12869 |
最后登录 | 2024-12-31 |
在线时间 | 1180 小时 |
Lv3.寻梦者
- 梦石
- 0
- 星屑
- 3801
- 在线时间
- 1180 小时
- 注册时间
- 2016-8-9
- 帖子
- 2395
|
不知道怎么改,但大概感觉是这两段的代码 帮不上楼主 但至少抛砖引玉了
- Window_EnemyVisualATB.prototype.updateWindowSize = function() {
- var spriteWidth = this._battler.atbGaugeWidth();
- var width = spriteWidth + this.standardPadding() * 2;
- width = Math.min(width, Graphics.boxWidth + this.standardPadding() * 2);
- var height = this.lineHeight() + this.standardPadding() * 2;
- if (width === this.width && height === this.height) return;
- this.width = width;
- this.height = height;
- this.createContents();
- this._requestRefresh = true;
- this.makeWindowBoundaries();
- };
- Window_EnemyVisualATB.prototype.makeWindowBoundaries = function() {
- if (!this._requestRefresh) return;
- this._minX = -1 * this.standardPadding();
- this._maxX = Graphics.boxWidth - this.width + this.standardPadding();
- this._minY = -1 * this.standardPadding();
- this._maxY = Graphics.boxHeight - this.height + this.standardPadding();
- this._maxY -= SceneManager._scene._statusWindow.height;
- };
复制代码 |
|