Forum rules - please read before posting.

Automating 2D Custom Animations

Hi Everyone,

I've got a question about playing any animations that are not part of the standard Walk & Idle setup.

This is easily possible via the ActionList Editor and the Character/Object: Animate Action and works great. However, I was wondering if this is the intended/scalable way, especially for animations of the main character.

As of now, lets say I want to use a pick up animation when clicking on an item in the scene or play a hand waving motion when starting a conversation, I would play the custom animation together with the action list of those individual actions.

But this requires me to set up the animation every time - so I was wondering if there is a method to automate these custom animations for certain actions (like with Walk and Idle) so that when the player picks up an Item, the animation is automatically played - sort of like a regular character controller in Unity.

Mostly i'm wondering about the intended way to handle these animations - if I'm already on the right track with Character: Animate then that is alright as well.

Comments

  • If you're using Sprites Unity Complex animation mode to animate your characters, you can drive animation playback using Animator parameters and transitions, rather than by referencing them by name.

    In either case, you will need to use the Character: Animate Action at the time of any non-standard (idle, walk, run, talk) animation.

    What you can do, however, is create generic ActionLists for commonly-performed Actions, and use ActionList parameters to modify them at runtime.

    For example, a "Pick Up Item" ActionList could animate the charater, remove an object from the scene, and add an item to their Inventory. The animation could always be the same, while the object / item would be dynamic. This way, you can just run this same ActionList each time an object is picked up, avoiding the need to create an animation Action for each instance.

    A tutorial on ActionList parameters can be found here.

  • Thank you, Chris, this is exactly what I was looking for!

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.