Join Jesse Freeman for an in-depth discussion in this video Adding in a player idle animation, part of Unity 5 2D Essential Training (2015).
- View Offline
- Exercise Files
- Now we're ready to add a new animation to our player.…In order to do this, we're going to open up…two new windows so that we can set this up.…Let's go to the Window menu and open up…the Animator and also the Animation Panel.…I'm going to drag these down here to the game,…so that we can test out what we're doing in our scene,…and still look at the animations.…Now, in order for this Panel to get populated,…we're going to need to select a game object…that has an Animator…and a Sprite Renderer attached to it.…
Here, you'll see that after selecting Player,…our Animator Panel now has each of our Animation's states.…The one we've created so far is PlayerRunAnimation.…Entry is the point into this Animation state machine.…And Any State is a way for us to transition…between one state to another…no matter where we come from.…Now, we could drag the Animation…of the player standing back into the scene.…But then we'd have to go and drag its animator…into this window when we can actually…do this all in one simple step.…
Making sure the Player is still selected,…
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.