def draw_item_name(item, x, y) if item == nil return end bitmap = RPG::Cache.icon(item.icon_name) self.contents.blt(x, y + 4, bitmap, Rect.new(0, 0, 44, 44))#图标大小 self.contents.font.color = normal_color self.contents.draw_text(x + 28, y, 212, 32, item.name) end end
196.6 KB, 下载次数: 136
无标题.jpg (52.98 KB, 下载次数: 26)
欢迎光临 Project1 (https://rpg.blue/) | Powered by Discuz! X3.1 |