| 
 
| 赞 | 23 |  
| VIP | 207 |  
| 好人卡 | 31 |  
| 积分 | 31 |  
| 经验 | 48797 |  
| 最后登录 | 2024-5-11 |  
| 在线时间 | 1535 小时 |  
 Lv3.寻梦者 孤独守望 
	梦石0 星屑3133 在线时间1535 小时注册时间2006-10-16帖子4321  
 | 
| Window_Base下有如下代码段: def text_color(n)
 case n
 when 0
 return Color.new(255, 255, 255, 255)
 when 1
 return Color.new(128, 128, 255, 255)
 when 2
 return Color.new(255, 128, 128, 255)
 when 3
 return Color.new(128, 255, 128, 255)
 when 4
 return Color.new(128, 255, 255, 255)
 when 5
 return Color.new(255, 128, 255, 255)
 when 6
 return Color.new(255, 255, 128, 255)
 when 7
 return Color.new(192, 192, 192, 255)
 else
 normal_color
 end
 end
 随便虐待吧……
 白色:(255,255,255,255)
 黑色:(0,0,0,255)
 透明:(0,0,0,0)
 四个值分别是红色,绿色,蓝色,不透明度
 系统信息:本贴由楼主认可为正确答案,66RPG感谢您的热情解答~
 | 
 |