State Change Animations

Help spread the word!Share on FacebookShare on TumblrTweet about this on TwitterShare on Google+Share on LinkedInShare on RedditFlattr the author

Would you like to provide some visual indication that a state has been added or removed?

By default, when a state is added, there isn’t really any visual indication beyond a little icon in your party menu, or a little icon over the enemy’s head.

If you’re using the side-view battle system, you could potentially add some side-view overlays to show the state.

However, what happens if you have neither overlays nor icons? And there’s no message that says “State was added” or “stated was removed”?

This plugin gives you the tools to play some animations when your state changes!

Download

Plugin: download here (right-click, save as)

Installation

Download ths plugin and place it in the “plugins” folder in your project’s “js” folder. Then open your Plugin Manager (F10), double-click an empty row, and select the HIME_StateChangeAnimations plugin.

Once it is in your list of plugins, turn the plugin on.

Usage

stateChangeAnimations2

To have an animation play on the battler that has a new state added, note-tag states with

<state add animation: ID />

Where the ID is the id of the animation to play.

To have an animation play on the battler that has a state removed, note-tag states with

<state remove animation: ID />

A single state can have both add and remove animations.

Help spread the word!Share on FacebookShare on TumblrTweet about this on TwitterShare on Google+Share on LinkedInShare on RedditFlattr the author

You may also like...

5 Responses

  1. Shin Gadrian says:

    Hello, nice plugin but i cant make it work if i have a condition on the tag of the state too, like if the char is under 25% or something, the animation doesn’t play but the state still apply. Is there a way to make the animation play when the state apply too with this condition?

    • Hime says:

      How are you specifying conditions for states?

      • Shin Gadrian says:

        Here is the code i am using for state.
        The state applies when the condition is met, but the animation doesn’t play. If i remove the code and put the state to activate by using a skill, it plays the animation normally.

        if (user.hp / user.mhp <= 0.50) {
        condition = true;
        } else {
        condition = false;
        }

  2. Amir Clayton says:

    Will I be able to make actors change a certain color when under a certain
    state?

    • Hime says:

      No, this state only shows an animation when you add or remove a state. A different plugin will be needed to change actor colors.

Leave a Reply

Your email address will not be published.

To create code blocks or other preformatted text, indent by four spaces:

    This will be displayed in a monospaced font. The first four 
    spaces will be stripped off, but all other whitespace
    will be preserved.
    
    Markdown is turned off in code blocks:
     [This is not a link](http://example.com)

To create not a block, but an inline code span, use backticks:

Here is some inline `code`.

For more help see http://daringfireball.net/projects/markdown/syntax