| 
 
| 赞 | 160 |  
| VIP | 0 |  
| 好人卡 | 0 |  
| 积分 | 273 |  
| 经验 | 0 |  
| 最后登录 | 2025-10-31 |  
| 在线时间 | 5455 小时 |  
 Lv5.捕梦者 
	梦石0 星屑27250 在线时间5455 小时注册时间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
 
 效果:
 
   
 然而我也不知道如何应用在选项上~~
 | 
 |