GEE - Scoring and Building Lesson
Scoring and Building Lesson
Think about how the player "collects" objects. If you put that thought into slow motion steps, the player moves and checks to see if it collides with anything. If it does detect a collision, it also checks if the object that it collided with has a special tag called "pick up". If the collider of that other gameObject is a "pick up", it deactivates that pick up, setting it invisible to the game. With those steps in mind, when do you think scoring occurs?
This lesson presents how this does occur, how you can keep track of it, and then display it during the game. Once we create a scoring game, we will review how to determine if the player has won. After this, the last step is to share this game with others! You will officially be a game developer!
Displaying the Score and Text
Now that scores are counted in the script, it is time to show how to display that score, and messages too. View the following video to learn how to do this.
Displaying Score and Text - Unity Learn Links to an external site.
Build and Deploy the Game
The following video shows the steps on creating a game that can be distributed to others, in multiple formats.
Building the Game - Unity Learn Links to an external site.
Vocabulary Review
Use the following activity to help review vocabulary terms related to moving and scoring before moving on to the quiz.
IMAGES CREATED BY GAVS