Project1

标题: 战斗中最上方那个窗口怎样取消? [打印本页]

作者: seeyou    时间: 2007-6-23 01:07
提示: 作者被禁止或删除 内容自动屏蔽
作者: seeyou    时间: 2007-6-23 01:07
提示: 作者被禁止或删除 内容自动屏蔽
作者: 幻の飞鱼    时间: 2007-6-23 01:18
Arrow_Base里以下标注部分删除即可

  #--------------------------------------------------------------------------
  # ● 设置帮助窗口
  #     help_window : 新的帮助窗口
  #--------------------------------------------------------------------------
  def help_window=(help_window)
    @help_window = help_window
    # 刷新帮助文本 (update_help 定义了继承目标)
##################
    if @help_window != nil
      update_help
    end
###############

  end
  #--------------------------------------------------------------------------
  # ● 刷新画面
  #--------------------------------------------------------------------------
  def update
    # 刷新点灭记数
    @blink_count = (@blink_count + 1) % 8
    # 设置传送源矩形
    if @blink_count < 4
      self.src_rect.set(128, 96, 32, 32)
    else
      self.src_rect.set(160, 96, 32, 32)
    end
    # 刷新帮助文本 (update_help 定义了继承目标)
##############
   if @help_window != nil
      update_help
    end
##############

  end [LINE]1,#dddddd[/LINE]系统信息:本贴由楼主认可为正确答案,66RPG感谢您的热情解答~




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