ABSTRACT

This chapter presents a simple platform game prototype, featuring a running and jumping player-controlled sprite, an enemy, objects to pick, and so on. It introduces several fundamental concepts to get acquainted with actual game development in Unity. The chapter provides the familiar Unity layout for a project and discusses how to import an image into the project. It describes the Unity’s built-in sprite editor and explains how to place the sprite in a scene. The Unity platform presents a time line to add keyframes specifying the value that selected property needs to have at a given instant. Unity will take care of interpolating the value across the keyframes will record any change made to the variables. Unity does not simply interpolate linearly across values but does so following different curves, generating some nice transition effects.