Project1

标题: 物理攻击动画脚本在什么地方 [打印本页]

作者: rpg1882    时间: 2008-1-3 04:24
提示: 作者被禁止或删除 内容自动屏蔽
作者: rpg1882    时间: 2008-1-3 04:24
提示: 作者被禁止或删除 内容自动屏蔽
作者: 精灵使者    时间: 2008-1-3 05:05
在Scene_battle 3里面的392行左右吧。
  #--------------------------------------------------------------------------
  # ● 刷新画面 (主回合步骤 3 : 行动方动画)
  #--------------------------------------------------------------------------
  def update_phase4_step3
    # 行动方动画 (ID 为 0 的情况下是白色闪烁)
    if @animation1_id == 0
      @active_battler.white_flash = true
    else
      @active_battler.animation_id = @animation1_id
      @active_battler.animation_hit = true
    end
    # 移至步骤 4
    @phase4_step = 4
  end
  #--------------------------------------------------------------------------
  # ● 刷新画面 (主回合步骤 4 : 对像方动画)
  #--------------------------------------------------------------------------
  def update_phase4_step4
    # 对像方动画
    for target in @target_battlers
      target.animation_id = @animation2_id
      target.animation_hit = (target.damage != "Miss")
    end
    # 限制动画长度、最低 8 帧
    @wait_count = 8
    # 移至步骤 5
    @phase4_step = 5
  end
作者: rpg1882    时间: 2008-1-3 05:21
提示: 作者被禁止或删除 内容自动屏蔽
作者: 精灵使者    时间: 2008-1-3 06:20
那个应该在帮助的f1里面
def animiation里面,很长的。 [LINE]1,#dddddd[/LINE]系统信息:本贴由楼主认可为正确答案,66RPG感谢您的热情解答~




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