| 赞 | 0 |
| VIP | |
| 好人卡 | |
| 积分 | 1 |
| 经验 | |
| 最后登录 | 2019-7-12 |
| 在线时间 | 65 小时 |
- 梦石
- 0
- 星屑
- 81
- 在线时间
- 65 小时
- 注册时间
- 2015-6-4
- 回帖
- 54
|
楼主 |
发表于 2016-3-23 14:16:54
|
显示全部楼层
jgwx0000 发表于 2016-3-23 14:11 
为什么我左右对不齐呢。
[pre lang="javascript" line="1"]Window_Status.prototype.drawUsertxt = function(x, y) {
var lineHeight = this.lineHeight();
this.changeTextColor(this.systemColor());
this.drawText("修为", x, y2, 160);
this.resetTextColor();
var xiuwei =$gameVariables.value(33)
this.drawText(xiuwei, x + 160, y, 60, 'right');
this.changeTextColor(this.systemColor());
this.drawText("修为", x, y+lineHeight, 160);
this.changeTextColor(this.systemColor());
this.drawText("修为", x, y+2*lineHeight, 160);
this.changeTextColor(this.systemColor());
this.drawText("修为", x, y+3*lineHeight, 160);
this.changeTextColor(this.systemColor());
this.drawText("修为", x, y+4*lineHeight, 160);
this.changeTextColor(this.systemColor());
this.drawText("修为", x, y+5*lineHeight, 160);
this.changeTextColor(this.systemColor());
this.drawText("修为", x, y+6*lineHeight, 160);
};[/pre]
|
|