Join Jesse Freeman for an in-depth discussion in this video Emulating parallax scrolling with repeating textures, part of Unity 5: 2D Essential Training (2015).
- Now we're ready to build the floor for our game.…We're gonna us a similar technique…to what we did for the background.…But before we move on, let's select the background…and remove the Mesh Collider.…This is part of Unity's 3D physics engine,…and we're not gonna be using it.…Simply click on the gear and remove the component.…Next, let's create a new quad.…And we're gonna call this Foreground.…While we're in here, let's remove the Mesh Collider.…Let's set its X position to zero.…
And we're gonna change its scale to 64 by 64,…since we'll be using a larger texture.…And we can also move this down just a little bit…so it's not covering up our background.…Next, we'll need to create a new material.…Let's go into a Materials folder…and create a new material called FloorTexture.…Again, we'll change the shader type…to Mobile, Particles, Alpha Blended.…And we'll need to make sure…that the new floor texture is repeatable.…
Let's go back into our Textures folder…and take a look at the floor texture.…Now previously, we turned this into a texture.…
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.