Tweaking Yanfly's Enemy Attack Animations

TMS

Guy with Mask
Veteran
Joined
Apr 17, 2012
Messages
310
Reaction score
59
First Language
English
Primarily Uses
N/A
I've just included Yanfly's Ace Battle System in my game, and I was wondering if there's any way to make it so that the animations for the enemy's attacks play atop the target actors' pictures rather than being obscured by the menu window. If anyone could help me out, I'd appreciate it.
 

Fridjah

Veteran
Veteran
Joined
Jan 13, 2015
Messages
155
Reaction score
7
First Language
French
Primarily Uses
RMVXA
Hello.


Do you mean that ?


BoluBolu's script "atk animation over actor faceset" :

Code:
 class Sprite_Base < Sprite
  def make_animation_sprites
    @ani_sprites = []
    if @use_sprite && !@@ani_spr_checker.include?(@animation)
      16.times do
        sprite = ::Sprite.new(nil)
        sprite.visible = false
        @ani_sprites.push(sprite)
      end
      if @animation.position == 3
        @@ani_spr_checker.push(@animation)
      end
    end
    @ani_duplicated = @@ani_checker.include?(@animation)
    if !@ani_duplicated && @animation.position == 3
      @@ani_checker.push(@animation)
    end
  end
end
 

TMS

Guy with Mask
Veteran
Joined
Apr 17, 2012
Messages
310
Reaction score
59
First Language
English
Primarily Uses
N/A
That might be it. Where would I paste that section of script?
 

Fridjah

Veteran
Veteran
Joined
Jan 13, 2015
Messages
155
Reaction score
7
First Language
French
Primarily Uses
RMVXA
# To install this script, open up your script editor and copy/paste this script
# to an open slot below Materials  but above Main. Remember to save.
 

TMS

Guy with Mask
Veteran
Joined
Apr 17, 2012
Messages
310
Reaction score
59
First Language
English
Primarily Uses
N/A
Looks like it works. Thanks!
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

Don't forget, aspiring writers: Personality isn't what your characters do, it is WHY they do it.
Hello! I would like to know if there are any pluggings or any way to customize how battles look?
I was thinking that when you start the battle for it to appear the eyes of your characters and opponents sorta like Ace Attorney.
Sadly I don't know how that would be possible so I would be needing help! If you can help me in any way I would really apreciate it!
The biggest debate we need to complete on which is better, Waffles or Pancakes?
rux
How is it going? :D
Day 9 of giveaways! 8 prizes today :D

Forum statistics

Threads
106,051
Messages
1,018,549
Members
137,837
Latest member
Dabi
Top