Actor Stepping Animation

● ARCHIVED · READ-ONLY
Started by Shaz 20 posts View original ↗
  1. Actor Stepping Animation

    2015.10.21

    by Shaz

    Introduction


    This plugin allows you to have your actors or followers animate while on the map - for example, party members with wings, slimes, etc.

    How to use

    Add to your plugins folder (file name should be ActorStepAnim.js). There are no parameters to set or plugin commands to call.

    Add <stepanim> to the actor notebox.

    Plugin

    Download from pastebin
    or download Stadler's version that lets you apply the notetag to states and classes as well.

    Credit

    - Shaz

    Terms

    - free for use in commercial games

    Revisions

    Spoiler
    2015.10.30 - Fixed TypeError: Cannot read property 'actor' of undefined.
  2. That's pretty nice, I'll probably be using this! :D Thanks a lot for this plugin!
  3. This is really nice! :D Is there any possible chance of an option to have an actor's image change when idle?  I like the idea of my character sort of bobbing up and down when idle instead of just standing there like a statue.  This is really helpful so far for flying actors, but it would be nice if it could be used to make my ground-bound actors able to breath lol
  4. What you're asking for is something different again - you want to change the sprite based on whether they are standing still, walking, and maybe even running.  That is not something I would add to this script - it deserves a plugin of its own.

    This one JUST keeps the stepping animation on for those characters you want to animate whether they're standing or moving.
  5. Huh... this one is giving me an error upong starting or loading a game:

    TypeError: Cannot read property 'actor' of undefined.
  6. I am going to guess that you cleared actor details but didn't remove them from the party lineup on the system tab.
  7. I made a gif of what the plugin actually does so things are a little clearer:

    Spoiler
    af38881517f3ae8fe64fd2cc83abb7c2.gif
    Its main purpose is mostly to have your actors a little more animated. Its not really and "idle animation" script per se.
  8. Hi! I'm running into the same error as Nimbus.

    TypeError: Cannot read property 'actor' of undefined.

    I did clear out the default actors in my project and changed the starting party to only include the new actor. I can't see any other entries regarding parties that I should change.

    On a new project the plugin works right off the bat. I'm not sure if this is a compatibility issue with other plugins or if I forgot to clear out the default actors from some other entries.

    e: I did some testing and even if I load up a new project without changing any assets, as soon as I lower the starting party size to less than 4 the game will produce the error above. It also happens if I try to change the party size via an event.
  9. This is great, but are there any plans to make this toggleable in-game?
  10. If anyone has the error message, I'd really appreciate if you could zip up your project and send to me so I can take a look at it?  I just can't reproduce the error myself.  If you only have pure default resources, I only need the contents of your Data folder.  Also a list of what plugins you have installed.

    @RobertMato, how would you want that implemented?  Just turn it on/off globally, or be able to turn it on/off per actor, so you could have one that pauses the animation for a while, but another would continue?
  11. for example, party members with wings, slimes, etc.
    ... Iiiinteresting couple of examples... >_>  Coincidence...?
  12. Why?  They're the first ones that came to mind where you might always want them to animate, even when standing still.  I could think of others, but they're not in the default sprites, so ...
  13. Okay. Never mind then.
  14. Shaz said:
    If anyone has the error message, I'd really appreciate if you could zip up your project and send to me so I can take a look at it?  I just can't reproduce the error myself.  If you only have pure default resources, I only need the contents of your Data folder.  Also a list of what plugins you have installed.

    @RobertMato, how would you want that implemented?  Just turn it on/off globally, or be able to turn it on/off per actor, so you could have one that pauses the animation for a while, but another would continue?
    how would i be able to send you the project? 
  15. If you can zip it up and load it online somewhere (dropbox is good, and popular nowadays) you can just PM me the link.

    Thanks so much for your help :)
  16. You need to put "if ($gameParty.leader())" into the first function and "if (this.actor())" into the second, in both cases just before the lines that use those. Those can both be undefined upon starting a new game.
  17. I tried HeroicJay's solution and while it gets rid of the error message, it also seems to prevent the stepping animation from running at all. Even with a full party the stepping animations won't go off until I remove those two lines again.
  18. Thank you Calana for your project so I could play around.

    I have fixed the issue (HeroicJay got it right), and the pastebin from the first post has been updated.

    Thanks to everyone for reporting the error, and for being patient while waiting for a fix.
  19. This is really handy for Actors that are flying characters.

    With this, they can be constantly flapping their wings, instead of standing still in mid-air.
  20. It doesn't work for me either ....

    Calana said:
    I tried HeroicJay's solution and while it gets rid of the error message, it also seems to prevent the stepping animation from running at all. Even with a full party the stepping animations won't go off until I remove those two lines again.