Join Jesse Freeman for an in-depth discussion in this video Adding in a simple lighting effect overlay, part of Unity 5: 2D Essential Training (2015).
- Now everything in our game is finally up and running.…We have our scores, we have our players.…We actually have a full game, but something is missing.…For me, the game just looks a little bit flat.…A lot of the times I like adding…subtle little lighting effects…to give the game a little bit more atmosphere.…And while it's possible to use…real lighting inside of Unity,…I want to show you a neat trick that's actually…going to let us fake lighting and we'll still take advantage…of some of the unique features…that the new UI system provides us.…
To get started, let's go into our…Artwork folder and go into textures.…Here you'll see we have a lighting effect texture.…Now, this is textured, this is designed…to stretch across the entire screen.…It's transparent in the middle…with a gradient going out to black.…It's very subtle, and it's designed to give us…a vignette effect across the artwork.…Let's configure this so that it's…ready for us to use in the game.…Here, we're going to set the pixels to units to 1.…
We're going to set it to point,…
Super Zombie Runner riffs off the popular endless runner genre: a one-button casual game that's not only fun to play but exciting to build. The focus of the work is a reusable code base that you can extend and make your own, while learning the basics of object pooling, supporting multiple screen resolutions, tracking scoring, and multi-platform publishing. Along the way, Jesse covers key Unity features, such as working with sprites, creating animations, and leveraging the UI components.
- Working with sprites and animation
- Creating the player
- Spawning GameObjects
- Adding obstacles and collisions
- Building the game objects and logic
- Managing game state
- Creating pixel-perfect cameras
- Designing for multiple screen resolutions
- Adding scores
- Optimizing performance
- Publishing to desktop, web, and mobile platforms
Skill Level Intermediate
1. Working with Sprites
2. Creating Repeating Textures
3. Creating Obstacles
4. Object Pooling
5. Creating the Player
6. Setting Up the Game
7. Adding UI
8. Creating More Obstacles
- 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.