| 赞 | 0 |
| VIP | |
| 好人卡 | |
| 积分 | 1 |
| 经验 | |
| 最后登录 | 2013-6-25 |
| 在线时间 | 687 小时 |
- 梦石
- 0
- 星屑
- 50
- 在线时间
- 687 小时
- 注册时间
- 2012-10-29
- 回帖
- 1526
|
发表于 2013-5-4 11:17:38
|
显示全部楼层
分辨率不会影响到 HP 的吧,默认的样子是:
而您的 HP 部份有两组数字,那不是默认的样式,应该有改过吧?
默认的是在 Window_Base 中的 def draw_current_and_max_values :
[pre lang="ruby" line="1"]
def draw_current_and_max_values(x, y, width, current, max, color1, color2)
change_color(color1)
xr = x + width
if width < 96
draw_text(xr - 40, y, 42, line_height, current, 2)
else
draw_text(xr - 92, y, 42, line_height, current, 2) # 左边的数字
change_color(color2)
draw_text(xr - 52, y, 12, line_height, "/", 2)
draw_text(xr - 42, y, 42, line_height, max, 2) #右边的数字
end
end
[/pre]
只要改 line_height 前面的那个 42 就行了,但您改过的我不知道是不是有另外写法。 |
|