赞 | 0 |
VIP | 0 |
好人卡 | 0 |
积分 | 1 |
经验 | 13512 |
最后登录 | 2022-5-16 |
在线时间 | 140 小时 |
Lv1.梦旅人 茄孓
- 梦石
- 0
- 星屑
- 72
- 在线时间
- 140 小时
- 注册时间
- 2007-5-29
- 帖子
- 956
|
说了,先把这两句删除掉 不要把全部删除掉
def draw_item_name(item, x, y, fontsize = Font.default_size)
if item == nil
return
end
bitmap = RPG::Cache.icon(item.icon_name)
self.contents.blt(x, y + 4, bitmap, Rect.new(0, 0, 24, 24))
self.contents.font.size = 14
self.contents.font.color = Color.new(0, 0, 0)
self.contents.draw_text(x + 28, y, 212, 32, item.name)
end
end
然后在描绘状态窗口装备名字前用
self.contents.font.size = 20
self.contents.font.color = Color.new(0,0,255)
然后在描绘装备窗口装备名字前用
self.contents.font.size = 14
self.contents.font.color = Color.new(0,0,0)
系统信息:本贴由楼主认可为正确答案,66RPG感谢您的热情解答~ |
|