设为首页收藏本站|繁體中文

Project1

 找回密码
 注册会员
搜索
查看: 1312|回复: 2
打印 上一主题 下一主题

[已经解决] 关于横版战斗

[复制链接]

Lv1.梦旅人

梦石
0
星屑
289
在线时间
6 小时
注册时间
2012-8-29
帖子
2
跳转到指定楼层
1
发表于 2012-8-30 12:09:55 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
本帖最后由 红色警戒3 于 2012-8-30 12:54 编辑

{:2_269:} 我想那种两个动画同时播放
例如:某某技能的攻击动画和被攻击动画同时播放
我是新人,这个RMXP玩了一星期不到啊
各位大侠帮帮忙吧


‘‘──红色警戒3于2012-8-30 12:10补充以下内容:

急急急!
’’

Lv1.梦旅人

梦石
0
星屑
47
在线时间
976 小时
注册时间
2011-4-30
帖子
860
2
发表于 2012-8-30 19:58:32 | 只看该作者
本帖最后由 hcm 于 2012-9-3 08:59 编辑

如果是默认脚本,搜索 Scene_Battle 4
  1. #--------------------------------------------------------------------------
  2.   # ● 刷新画面 (主回合步骤 3 : 行动方动画)
  3.   #--------------------------------------------------------------------------
  4.   def update_phase4_step3
  5.     # 行动方动画 (ID 为 0 的情况下是白色闪烁)
  6.     if @animation1_id == 0
  7.       @active_battler.white_flash = true
  8.     else
  9.       @active_battler.animation_id = @animation1_id
  10.       @active_battler.animation_hit = true
  11.     end
  12.     # 移至步骤 4
  13.     @phase4_step = 4
  14.   end
  15.   #--------------------------------------------------------------------------
  16.   # ● 刷新画面 (主回合步骤 4 : 对像方动画)
  17.   #--------------------------------------------------------------------------
  18.   def update_phase4_step4
  19.     # 对像方动画
  20.     for target in @target_battlers
  21.       target.animation_id = @animation2_id
  22.       target.animation_hit = (target.damage != "Miss")
  23.     end
  24.     # 限制动画长度、最低 8 帧
  25.     @wait_count = 8
  26.     # 移至步骤 5
  27.     @phase4_step = 5
  28.   end

  29. 改成

  30.   #--------------------------------------------------------------------------
  31.   # ● 刷新画面 (主回合步骤 3 : 行动方动画)
  32.   #--------------------------------------------------------------------------
  33.   def update_phase4_step3

  34.     # 移至步骤 4
  35.     @phase4_step = 4
  36.   end
  37.   #--------------------------------------------------------------------------
  38.   # ● 刷新画面 (主回合步骤 4 : 对像方动画)
  39.   #--------------------------------------------------------------------------
  40.   def update_phase4_step4
  41.     # 行动方动画 (ID 为 0 的情况下是白色闪烁)
  42.     if @animation1_id == 0
  43.       @active_battler.white_flash = true
  44.     else
  45.       @active_battler.animation_id = @animation1_id
  46.       @active_battler.animation_hit = true
  47.     end
  48.     # 对像方动画
  49.     for target in @target_battlers
  50.       target.animation_id = @animation2_id
  51.       target.animation_hit = (target.damage != "Miss")
  52.     end
  53.     # 限制动画长度、最低 8 帧
  54.     @wait_count = 8
  55.     # 移至步骤 5
  56.     @phase4_step = 5
  57.   end


复制代码

评分

参与人数 1梦石 +2 收起 理由
hcm + 2 认可答案

查看全部评分

湿滑落式骑!
回复

使用道具 举报

Lv1.梦旅人

梦石
0
星屑
289
在线时间
6 小时
注册时间
2012-8-29
帖子
2
3
 楼主| 发表于 2012-8-31 13:10:57 | 只看该作者
羞射了 发表于 2012-8-30 19:58
如果是默认脚本,搜索 Scene_Battle 4
  #------------------------------------------------------------- ...

谢谢了,管用,谢谢大神{:2_275:}
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册会员

本版积分规则

拿上你的纸笔,建造一个属于你的梦想世界,加入吧。
 注册会员
找回密码

站长信箱:[email protected]|手机版|小黑屋|无图版|Project1游戏制作

GMT+8, 2024-10-1 05:38

Powered by Discuz! X3.1

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表