Library

Course: Unity 3D Creating a 2D Side Scroller game

Unity 3D Creating a 2D Side Scroller game

  • Life Time Access
  • Certificate on Completion
  • Access on Android and iOS App
  • Self-Paced
About this Course

Learn creating 2D side scroller game in Unity 3D using C#.

This course is divided into four parts, in the first part you will start by creating player character. Learn how to create animations using the Animation window and control animation states in the Animator controller window. We will then create our first C# script to handle player input and use it to transition animations from one state to another. We will then learn about Unity physics system.

In part 2 we will make our game a bit challenging by adding obstacles to our game, write scripts to move objects, learn about collision detection and understand the difference between collision and trigger. You will edit the Unity Collision matrix, and learn how you can enable or disable collisions between objects in different layers. We will then work on object pooling technique, where you reuse different types of obstacles, after instantiating it only once. You will learn about rendering order for 2D games and control the order of objects being rendered on screen. We will add parallaxing effect to our game by adding different layered objects.Then finally we will work on integrating UI to the game, where you add buttons and other UI elements and add functionality from scripts. We will also add touch based controls to our game to support mobile devices.

This course covers widely used techniques like object pooling and parallaxing and some intermediate unity concepts like Collision matrix, Delegates and co-routines. This is useful for both Beginners and intermediate students in Unity and game development.

Basic knowledge
  • Experience with any programming language
  • Some understanding of Unity 3D editor is useful
What you will learn
  • Learn about Unity 3D Animations, physics system,UI
  • Using C# script to access and control animations and other components
  • Learn about Untiy's Collision matrix
  • Learn about game level building
  • Controlling Objects through script
  • Learn about delegates,co-routines and scene management
  • Object pooling and parallaxing techniques
Curriculum
Number of Lectures: 30
Total Duration: 04:13:50
Introduction and Player Setup
  • About the course  
  • About me  
  • Project Setup  
  • Player Animation setup  
  • Animation transition through script  
  • Adding physics to our player character  
  • Adding collider to player  
Obstacle creation and Level design
  • Creating Obstacles for our game  
  • Creating other obstacles  
  • Moving Obstacles through script  
  • Fixing Obstacles position when instantiated  
  • Detecting collision with Player  
  • Obstacle level design  
  • Random generation of Obstacle sets  
  • Adding new features to our player  
  • Creating Object poll for our Obstacles set  
  • Object polling Update_Fix  
  • Fixing collider for Player and Obstacles  
Implementing Parallaxing effect for Background
  • Implement Tile movement  
  • Background object movement  
  • Background object setup  
  • Implementing Parallaxing  
UI Setup and Adding more features
  • Adding UI buttons  
  • Implementing game over and restart  
  • Integrating Score to our game  
  • Fixing few bugs  
  • Adding Coins to pickup  
  • Random generation of Coin sets  
  • Integrating touch based controls to our game  
  • Making our Player to duck and rotate  
Reviews (0)