Game Development Reference
In-Depth Information
ally. The best example of this is Unity's own 2D platform sample, which is available at the
Unity Asset store ( http://bit.ly/UnityPlatformer2D ) :
In the screenshot, you can see all the parts of the hero in the hierarchy, such as the body,
tash, feet, and bazooka as separate sprites; then, in the animation dope sheet, the Run an-
imation alters the position of each of these sprites to emulate a fast walking effect. This
feature can be used in a powerful way once you get your head around what is possible.
Automatic animation clip creation
The approach I'd always recommend (especially for beginners) is to let Unity create the
animation clips for you. The automatic routines are well equipped to understand your an-
imations, and they set the various properties for you very well. You can always tweak it
later.
The process is very simple, and you can even create the default animation controller in the
process by performing the following steps:
Search WWH ::




Custom Search