| 
 
UID27922精华0冰点1 阅读权限60主题22回帖322性别保密在线时间83 小时注册时间2016-1-17最后登录2018-1-27 
 签到天数: 342 天 [LV.8]以坛为家I 土之精灵LV.3   
 
回帖322雪点4837 阅读权限60性别保密在线时间83 小时注册时间2016-1-17最后登录2018-1-27 | 
 
                
| 怎样修改Window_Base中描绘物品名的bitmap的Z值 
 
   #--------------------------------------------------------------------------  # ● 描绘物品名  #     item : 物品  #     x    : 描画目标 X 坐标  #     y    : 描画目标 Y 坐标  #--------------------------------------------------------------------------  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, 24, 24))    self.contents.font.color = normal_color    self.contents.draw_text(x + 28, y, 212, 32, item.name)  end
 [color=rgb(51, 51, 51) !important]复制代码
 
 
 | 
 |