Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

LinkedIn Learning

Unity 5: 2D Essential Training

via LinkedIn Learning

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Get started in Unity 2D game development. Build your first Unity game for desktop, web, or mobile complete with scrolling backgrounds, reusable game objects, and custom UI.

Learn everything you need to get started in Unity 2D game development. Unity expert Jesse Freeman builds a complete 2D game based off the endless runner genre—a unique one-button game that's not only fun to play, but also exciting to build. The end result is a reusable code base that you can extend with your own artwork and narrative.

Start watching to learn how to convert artwork into sprites, create repeating background textures with Unity's TexturePacker, and build reusable game objects such as players, obstacles, and enemies. Jesse also covers the basics of object pooling, working with custom UI components, and multiplatform publishing.

Syllabus

Introduction
  • Welcome
  • The exercise files
1. Working with Sprites
  • Import artwork
  • Cut up sprites
  • Optimize loose sprites
  • Build a pixel perfect camera
2. Creating Repeating Textures
  • Build a repeat background
  • Resize textures to fill the screen
  • Animate repeat background textures
  • Emulate parallax scrolling
3. Creating Obstacles
  • Build a reusable obstacle gameobject
  • Move obstacles
  • Spawn new obstacles
  • Random spawner delay times
  • Destroy obstacles offscreen
4. Object Pooling
  • Build a gameobject utility class
  • Recycle game objects
  • Build an object pool
  • Wire up the object pool
  • Make obstacles recyclable
  • Implement recycle in any script
  • Clean up the obstacles
  • Dynamically resize 2D box colliders
5. Creating the Player
  • Build the player
  • Detect when the player is standing
  • Make the player jump
  • Add in a player idle animation
  • Player animation manager
  • Recycle player
6. Setting Up the Game
  • Start the game
  • Add the player
  • End the game
  • Add a game over effect
  • Restart the game
7. Polishing the Game
  • Add text
  • Lay out text
  • Control the text with code
  • Display the score
  • Connect the score to the game manager
  • Save high scores
  • Add in a simple lighting effect overlay
8. Creating More Obstacles
  • Add zombies
  • Add in animated obstacles
9. Publishing
  • Publish to different formats
Conclusion
  • Next steps

Taught by

Jesse Freeman

Reviews

Start your review of Unity 5: 2D Essential Training

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.