>|
Summary
Up until now we have had a lot of the basic components of our game working. However, we are still missing a gameplay loop. To fix this, we will add a finish, timer, and the ability to restart.
1|
Setting Up The Finish Scene
To create a gameplay loop within our game, we will need to add a finish/win condition. In this lesson, we will create a finish flag, which will be the ultimate goal for the player.
2|
Coding The Finish Flag
For this lesson we will add code to our finish flag scene. We will make it open and play a sound when the player touches it, while also setting it up to be used in the following lessons.
3|
Setting Up The UI Manager
In this lesson we will start making the visuals which render in front of our game. This includes things like a timer and pause menu. All of these components together will make up our user interface (UI).
4|
Coding The UI Manager
For this lesson we will write the code to make our user interface function properly. This will include code for a countdown at the start of the game, the timer, and pausing the game.