Project1

标题: 改下此脚本 [打印本页]

作者: 单飘蓝    时间: 2009-3-18 20:29
提示: 作者被禁止或删除 内容自动屏蔽
作者: hitlerson    时间: 2009-3-18 20:40
draw_actor_pic(actor, actor_x, y + 62, 14)



  #--------------------------------------------------------------------------
  # ● HP の描画
  #     actor : アクター
  #     x     : 描画先 X 座標
  #     y     : 描画先 Y 座標
  #--------------------------------------------------------------------------
  def draw_actor_pic(actor, x, y, size = 16)
    bitmap = RPG::Cache.picture("headpic/#{actor.battle_name}")
    src_rect = Rect.new(0, 0, bitmap.width, bitmap.height)
    self.contents.blt(x, y + 4, bitmap, src_rect)
  end

找有一样的脚本的地方加进去 [LINE]1,#dddddd[/LINE]系统信息:本贴由楼主认可为正确答案,66RPG感谢您的热情解答~
作者: 单飘蓝    时间: 2009-3-18 20:42
提示: 作者被禁止或删除 内容自动屏蔽




欢迎光临 Project1 (https://rpg.blue/) Powered by Discuz! X3.1