| 赞 | 160 |
| VIP | 0 |
| 好人卡 | 0 |
| 积分 | 272 |
| 经验 | 0 |
| 最后登录 | 2025-10-30 |
| 在线时间 | 5454 小时 |
Lv5.捕梦者
- 梦石
- 0
- 星屑
- 27245
- 在线时间
- 5454 小时
- 注册时间
- 2016-3-8
- 帖子
- 1684
|
本帖最后由 alexncf125 于 2020-10-23 17:38 编辑
xxxxxxxxxx.fill_rect(x, y, width, height, color)
比如:
class Window_Gold < Window_Base
def refresh
contents.clear
color = text_color(18)
color.alpha = 100
contents.fill_rect(0, 0, window_width, fitting_height(1), color)
draw_currency_value(value, currency_unit, 4, 0, contents.width - 8)
end
end
效果:
然而我也不知道如何应用在选项上~~ |
|