In this video, Jesse Freeman teaches you how to connect your new text components to the game manager so the game can properly display stats to the player. This allows you to have the game manager also manage any UI text being displayed to the player at the start, during and end of a game. Learning how to polish a Unity 5 game is an import skills for building a 2D game.
- [Voiceover] Now that we have the continue text done…it's time for us to move over…to the text that'll hold our score…and high score.…We're gonna keep track of the time…that the player stays alive.…We'll have the best time as well…and that'll be our high score.…Let's create a new text object…and we'll see that it's starting…to get a little crowded here…so lets name the first text object…continue text and we'll name this new one score text.…
Next we'll wanna setup the score text to look like…how our high scores will eventually be…when we're rendering it out from the code.…First let's add the words time…and setup a basic time…and then next we'll do best…and we'll setup another time value as well.…Here you'll see that since the text is expanding out…past the size of the actual text field…it's being cut off.…Now this won't be a problem in a minute…because we're going to actually lower the font size…and change the font in general…but if you run into problems in your own game…you can change the horizontal overflow…and the vertical overflow.…
Start watching to learn how to convert artwork into sprites, create repeating background textures with Unity's TexturePacker, and build reusable game objects such as players, obstacles, and enemies. Jesse also covers the basics of object pooling, working with custom UI components, and multiplatform publishing.
- Importing artwork
- Editing sprites
- Creating repeating background textures
- Building reusable obstacles
- Recycling game objects
- Building an object pool
- Creating the player
- Starting and ending the game
- Displaying and saving the score
- Adding menus and text
- Publishing a Unity game in different formats
Skill Level Beginner
1. Working with Sprites
2. Creating Repeating Textures
3. Creating Obstacles
4. Object Pooling
5. Creating the Player
6. Setting Up the Game
7. Polishing the Game
8. Creating More Obstacles
Publish to different formats5m 42s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.