September 22, 2020
Game Development
2D Melee Combat
How To Make 2D MELEE COMBAT (Unity Tutorial + Free Game Kit!)
By: Thomas Brush
Referenced Previous Tutorial
How To Make 2D Platformers (Unity Fundamentals Tutorial)
By: Thomas Brush
First Portion
Camera
They start by using a VirtualCamera game object from the Cinemachine package within Unity. This camera object gives a lot of useful camera controls without having to build another from scratch. They mention another tutorial to help with paralaxing, so this may not be included in the virtual camera.
Character Animation
Spine
This seems to be the major animator they used, so this may be something worth looking into as I have come across it a lot now. For animation tips, they suggest strong bouncing effects on the vertical axis (squashing and stretching majorly in the y-axis generally, with some distortion in the other axis). Spine also gives you the option of different skins to provide the same set of animations to similar character type objects.
Animation State Machine
Again they reference a previous tutorial covering this more in depth. They do show how their animation system fires events to help perform certain actions in tandem with the animations without necessarily adding more programming. Examples for this include emitting particles or playing a sound on animation start or end.