Adding the final touches
In this section, we'll add the final touches to the game. We'll start by adding a background image to fit the space theme, and then we'll move on to adding background music. These small additions should have a significant impact on the feel of the game.
Adding a background image
First on the agenda is fixing the game background! Until now, the background has displayed the default background color associated with the game camera. However, as the game is set in space, we should display a space background. To do this, take the following steps:
- Create a new Sprite object in the Scene that'll display a space image by navigating to GameObject | 2D Object | Sprite from the menu.
- Drag and drop the space texture from the Project panel to the Sprite field on the Sprite Renderer component in the scene.
- Rotate the object 90 degrees on the X axis.
- Position the object at the world origin (
0, 0, 0
). - Scale the object until...