Creating a 2D Side Scroller Game in Unity3D
4.3 (13 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
2,878 students enrolled

Creating a 2D Side Scroller Game in Unity3D

Learn to create your first 2D side scrolling game in Unity 3D.
4.3 (13 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
2,878 students enrolled
Created by Phaninder M
Last updated 4/2019
English [Auto]
Current price: $139.99 Original price: $199.99 Discount: 30% off
5 hours left at this price!
30-Day Money-Back Guarantee
This course includes
  • 4 hours on-demand video
  • 37 downloadable resources
  • Full lifetime access
  • Access on mobile and TV
  • Assignments
  • Certificate of Completion
Training 5 or more people?

Get your team access to 4,000+ top Udemy courses anytime, anywhere.

Try Udemy for Business
What you'll learn
  • Creating a 2d side scrolling game
  • Game development fundamentals like object movement, collision
  • Learn about Unity Physics system- forces, collision, collision matrix and stuff
  • Setting up 2D animations and transition between animations
  • Learn about how to create parallaxing effect
  • Learn object pooling technique
Course content
Expand all 29 lectures 04:10:13
+ Introduction and Player Setup
6 lectures 43:31
Project Setup
Create a new project in Unity and import the game assets to the created project
Project creation
1 question
Animation transition through script
Adding physics to our player character
Adding collider to player
+ Obstacle creation and Level design
11 lectures 01:20:24
Creating Obstacles for our game
Create Animations and add colliders to snail enemy sprite
Enemy creation
1 question
Creating other obstacles
Moving Obstacles through script
Detecting collision with Player
Obstacle level design
Design few sets of obstacles and use them as prefabs.
Create few obstacles sets
1 question
Random generation of Obstacle sets
Add a empty object to indicate end of object set
Edit the obstacles set you have created to have a end of set object.
1 question
Adding new features to our player
Creating Object poll for our Obstacles set
Object polling Update_Fix
Fixing collider for Player and Obstacles
Correct the collider for obstacles and player object to detect collision exactly.
Correct the colliders for Spike,Flying enemy and Snail obstacles
1 question
+ Implementing Parallaxing effect for Background
4 lectures 42:36
Background object movement
Background object setup
Create a new layer of background objects.
Setup a third layer of bacgkground objects with trees and clouds.
1 question
Implementing Parallaxing
+ UI Setup and Adding more features
8 lectures 01:23:42
Adding UI buttons
Implementing game over and restart
Integrating Score to our game
Fixing few bugs
Adding Coins to pickup
Create few coin sets with all the required features.
Create different coin sets with end of set and Object movement scripts attached.
1 question
Integrating touch based controls to our game
Making our Player to duck and rotate
  • Installed copy of Unity3D 2018 or above.
  • Basic knowledge of Unity game engine (moving around editor, creating objects etc).
  • Some programming knowledge will be helpful, but not necessary.
  • Passion to learn.

Learn creating 2D side scrolling 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.

Who this course is for:
  • Students new to Unity3D.
  • Beginners in game development.
  • Artists who want to learn about creating games.