Join Jesse Freeman for an in-depth discussion in this video Adding zombies, part of Unity 5: 2D Essential Training (2015).
- So now we have a fully-functional game.…The only thing missing are more objects and obstacles…for the player to avoid, especially zombies,…considering we named this SuperZombieRunner.…So now to illustrate how scale-able this system is,…we're gonna quickly create a zombie, add it to the Spawner,…and show how easy it is to create new obstacles…for the player to avoid.…To get started, let's go into the Artwork folder…and go into the Sprite-sheets.…Here we're gonna select our zombie Sprite-sheets.…
Now before we can use this,…we're gonna have to make one minor adjustment.…Let's go into the Sprite Editor,…and you'll see, when we originally cut out our zombies,…they have a center pivot point.…What we wanna do is change the pivot point…on all of these to Bottom.…Once you're done, hit Apply, and let's close this window.…Now we can drag all the artwork…into the scene and create our animation.…Here we'll call this ZombieAnimation.…
And let's make sure that we save this…inside of our Animations folder.…Now we've created our zombie.…
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?
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.