Join Jesse Freeman for an in-depth discussion in this video Creating font textures, part of Unity 5: UI.
- Now sometimes you might want to use…a special type of font something like a pixel font…if you're making a pixel art game…or even if you want to change the way…that the font works and optimize it…for performance.…In this case, let's go to our text field…and let's change this to the other font…that we imported.…Here we're going to use HelvetiPixel.…HelvetiPixel is a font that I got online…from the BitFontMaker and it's…the perfect font to show off how…to get pixel fonts to display cleanly…inside of our Unity games.…
Now, you may notice that our font…is a little bit blurry looking.…Even if we select the HelvetiPixel font,…let's set the font to Hinted Raster…and hit Apply.…You'll still notice the font doesn't look…really all that crisp.…One thing that we're going to want to do is convert…this into a font texture.…In order to do that we're going to want…to change the character set to ASCII default,…and let's hit Apply.…You'll notice that now we're getting an error…at the bottom of our project.…
It's telling us that the font size and style overrides…
- Adding new components to the Canvas
- Working with RectTransforms
- Nesting UI elements
- Adding rich text and effects to the UI
- Creating images
- Styling UI buttons
- Handling input
- Creating sliders
- Controlling the layout of the screen
- Adding toggles and dropdowns
Skill Level Intermediate
1. The Canvas
2. Working with the RectTransform
3. Working with Text
4. Working with Images
5. Working with Buttons
6. Handling UI Input
7. Working with a Slider
8. Controlling Layout
9. Toggles, Dropdowns, and the Input Field
- 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.