ABSTRACT

This chapter discusses the creation of sprite sheet with a simple character and animations that could be used in 2D platform games. It describes the creation of a new clip and testing of the “PlayerRun” animation. The chapter explains how to add a “jumping” parameter of type bool and discusses the PlayerJump state and corresponding transitions. It shows how to editing the collider for a moving platform so that it matches the shape of the sprite. The chapter also explains how to access and modify the input settings within the Unity editor and how to associate different axes to specific keys via the input manager.