加入我们,或者,欢迎回来。
您需要 登录 才可以下载或查看,没有帐号?注册会员  
 
x
 
在开始战斗之前加了一张图片的显示 可是用Graphics是一开始画面定格 而且感觉有点卡 
怎么优化才能让画面顺畅并且图片默默显示50帧消失呢? 
class Scene_Battle < Scene_Base   #--------------------------------------------------------------------------   # ● 开始处理   #--------------------------------------------------------------------------   def start     super     create_spriteset     create_all_windows     create_tip_window     Graphics.wait 50     BattleManager.method_wait_for_message = method(:wait_for_message)   end #--------------------------------------------------------------------------   # ☆ G   #--------------------------------------------------------------------------   def create_tip_window     @tip_window = Window_Tip.new(272-180/2,208-40,180,80)     Graphics.wait 50     @tip_window.close   end 
 
 class Scene_Battle < Scene_Base  
  #--------------------------------------------------------------------------  
  # ● 开始处理  
  #--------------------------------------------------------------------------  
  def start  
    super  
    create_spriteset  
    create_all_windows  
    create_tip_window  
    Graphics.wait 50  
    BattleManager.method_wait_for_message = method(:wait_for_message)  
  end  
#--------------------------------------------------------------------------  
  # ☆ G  
  #--------------------------------------------------------------------------  
  def create_tip_window  
    @tip_window = Window_Tip.new(272-180/2,208-40,180,80)  
    Graphics.wait 50  
    @tip_window.close  
  end  
 
  |