First, download only DFNanimateIV.capx to follow the tutorial.
Only download DFNanimateIV2.capx when you reach the section that asking you to download it.
Prerequisite
This tutorial requires readers to understand the "inputs" synchronization process flow in the official real-time MP example which comes with standard C2 installation.
What you must understand to use
Sync instance variable [MP action]
Add client input value [MP action]
Setbit/Getbit [System Expression]
Terminology used in this tutorial
Character: Your object
Movement: Indicate the movement of your character
AnimationState: Indicate the state of animation based on character movement
What is included in this tutorial
DFNanimateIV.capx showing the process flow of synchronizing your animation.
DFNanimateIV2.capx showing how it should be implemented in the actual game.
Note
By the end of this tutorial, the redundancy of "Movement" and "AnimationState" will be removed. Details are explained at the Implementation Section.
This tutorial will not cover the essentials that have been covered in the official example and tutorial.
This tutorial only use 4-direction movement for simplicity.