O'Reilly logo

Learning Unity iOS Game Development by Kyle Langley

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 5. Scene Background, the Game User Interface, and the Save Profile

In order to complete the experience of playing the game, we need to finish the background for the scene and use the Unity 5 UI system to show the players what is going on with the game, as well as allow them to restart the game when they die.

The background is going to be made up of four images: a static (nonmoving) background, clouds that will hover, and two sets of mountains that will move to make the player movement seem more real.

The Unity 5 UI system is made up of a panel object that will hold children, such as text and buttons, to display what is currently going on in the game to the user. For the game, we will display a unit number that represents how far the player ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required