Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

How to animate a puzzle game

Discussion in 'Animation' started by dpoly, Apr 25, 2019.

  1. dpoly

    dpoly

    Joined:
    Nov 10, 2016
    Posts:
    35
    I'm looking for guidance in how to animate elements of a puzzle game. Most of the docs are heavily oriented towards animating characters, especially humanoid figures, and are no use to me because I don't have any. And no physics either.

    There are two broad classes of animations needed:
    1. Game piece visual effects: making things shake or bloom or jump or change colour in response to some action.
    2. Transitions: visually show a change of game state such as new game, success/failure, new mode, by lighting, fade effects, swirl, etc.

    Examples: look at Loop, Hexcells, Clocki, Scalak, Quell, etc.

    So do I keep struggling with Mecanim and Animator, or is that the wrong path? The state machine really doesn't work well for transitions, for example.
    Is there a tutorial, or sample, or open source library, or somewhere else I can go for inspiration?