| 赞 | 0  | 
 
| VIP | 0 | 
 
| 好人卡 | 0 | 
 
| 积分 | 1 | 
 
| 经验 | 2977 | 
 
| 最后登录 | 2020-5-5 | 
 
| 在线时间 | 5 小时 | 
 
 
 
 
 
Lv1.梦旅人 
	- 梦石
 - 0 
 
        - 星屑
 - 60 
 
        - 在线时间
 - 5 小时
 
        - 注册时间
 - 2008-6-28
 
        - 帖子
 - 292
 
 
 
 | 
	
lz的问题是。。。呵呵。其实就是大横版吗,其实横板战斗的话只是两方战斗图的位置是横的而已,你要他纵版也可啊,像 xp一样的,只要改坐标就可以了,要显示敌方攻击动画的话只要先显示战斗图(可静态可动话),然后在- #--------------------------------------------------------------------------
 
 -   # ● 显示攻击动画
 
 -   #     targets : 目标数组
 
 -   #    敌人的场合,播放「敌人普通攻击」音效和等待。
 
 -   #    角色的场合,则包含双刀派(将左手武器动画翻转作为右手武器动画)。
 
 -   #--------------------------------------------------------------------------
 
 -   def display_attack_animation(targets)
 
 -     if @active_battler.is_a?(Game_Enemy)
 
 -       Sound.play_enemy_attack
 
 -       aid1 = 1
 
 -       display_normal_animation(targets, aid1, false)
 
 -        for target in targets
 
 -        target.battler_name = target.battler_name.split(/★/)[0]
 
 -         name_temp=target.battler_name
 
 -        if target.missed or target.evaded
 
 -          target.battler_name = target.battler_name + "★3"
 
 - #~        if target.evaded
 
 - #~          target.battler_name = target.battler_name + "★3"
 
 -        else
 
 -          target.battler_name = target.battler_name + "★4"
 
 -        end
 
 -        wait(40)
 
 -        target.battler_name=name_temp
 
 -     end
 
 -     else
 
 -       aid1 = @active_battler.atk_animation_id
 
 -       aid2 = @active_battler.atk_animation_id2
 
 -       display_normal_animation(targets, aid1, false)
 
 -       display_normal_animation(targets, aid2, true)
 
 -     end
 
 -     wait_for_animation
 
 -   end
 
  复制代码 其中      aid1 = 1 
      display_normal_animation(targets, aid1, false) 
就是显示敌方攻击动画就是一号动画(我这里只能显示一号,如要不同敌人显示不同的可在敌人的注释框中,注明攻击代码编号),如果没有战斗图是显示不出来的,代码其他部分可无视之。 |   
 
 
 
 |