Table of Contents

Animating a Piece on the Board

Checkerboard in which one piece is at one end and the other in between two squares.

To have pieces animate when they move, follow these steps (for a game that is already set up with movement as explained here):

  • Create an empty game object, call it MoveAnimation, and attach a Default Move Animator Creator to it.
  • Set the duration.
  • Add the game object to the Move Animator field in the Grid Game Manager inspector on the GameBoard game object.

More than one animation can be created and added. To check what kind of animations you can implement, look at the options on the Grid Game Manager component in the Inspector on the GameBoard game object.

Both pieces performing motion animations