Multi-Dir JSON Animator


Add the MultiDirAnimator component and call ... A PDF guide with a Quick Start. ... Requirements Tested in Unity 6 Sample shaders: URP Sample scripts use the Legacy Input Manager.


by iysmo


Price History +

JSON-based multi-directional sprite animator for Unity. 4/8-way animations, one clip per action, code-driven priorities, and zero Animator graph.
  • Multi-directional clips: Only one clip contains all the directions for a single action.
  • Character Library: A library containing all the clips your character will need.
  • Easy Editing: Simply change the framerate, loop settings, or events, and it will apply to all directions.
  • Sample Scenes: Includes two Sample Scenes that demostrate how the system works with a pre-rendered 8-way character, a 2D 4-way character, and NPCs.
  • Aseprite Support: Features an optimized pipeline based in Aseprite Tags for faster importing into Unity.

Multi-Dir JSON Animator replaces Unity's Animator for multi-directional sprite characters with a simple code-driven workflow.

You can set up any animation from export to runtime in record time. Every action is a single clip that saves all its directions, 4-way or 8-way. Change the frame rate, loop setting or events once and it applies to every direction.


How it works

  1. Prepare your sprite sheet, atlas and animation JSON files.
  2. Build a clip from the creation menu.
  3. Add the MultiDirAnimator component and call PlayState("walk", AnimPriority.Locomotion) from your own scripts.

A priority system decides which animation wins when several are requested. You can lock the direction during attacks and fixed-direction actions.


Aseprite Pipeline Support

You can import a sprite sheet and an Aseprite-exported atlas to create clips in about 5 minutes.


What's included

  • Runtime and editor tools.
  • A PDF guide with a Quick Start.
  • Two sample scenes: a pre-rendered 8-way character in a 3D scene and a 2D 4-way pixel art character with NPCs.
  • Scene dependencies: a Hue-Shift shader used by the 2D sample for color variants and a triplanar shader used for the scenery for the pre-rendered sample.

Requirements

  • Tested in Unity 6
  • Sample shaders: URP
  • Sample scripts use the Legacy Input Manager.