Adding Skill Animations to Custom Battle Plugin

Discussion in 'Learning Javascript' started by Fireworker, Nov 2, 2018.

  1. Fireworker

    Fireworker Veteran Veteran

    Messages:
    120
    Likes Received:
    115
    Location:
    Montreal
    First Language:
    English
    Primarily Uses:
    RMMV
    Hi all!

    Dsiver's made me one heck of an amazing battle plugin, but he's had a lot on his plate lately so I was hoping to get the community's advice on adding a missing functionality so that 1) I don't bug him every other day and 2) It'd be good to learn a bit of JS.

    Right now, the battle scene adds an actor image, but when the enemy uses skills, the animations do not play on the battler themselves.

    I tried digging into other battle plugins, like Yanfly's Battle Core, but I've not been able to figure out which section adds animations to skills.

    Of note, this plugin isn't using Sideview Battlers. It simply adds a static image representing the battler to the battle scene. (Circled in Red)

    upload_2018-11-1_20-37-40.png

    Is there a section of JS code that easily handles playing skill animations after a skill is used on the battler?

    I'm really just starting out here when it comes to JS, so if I'm totally asking this the wrong way, feel free to let me know.

    Thanks in advance!
     
    #1

Share This Page