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
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
02:33
Create a new project in Unity and import the game assets to the created project
Project creation
1 question
Animation transition through script
10:04
Adding physics to our player character
11:18
Adding collider to player
05:11
+ Obstacle creation and Level design
11 lectures 01:20:24
Creating Obstacles for our game
04:32
Create Animations and add colliders to snail enemy sprite
Enemy creation
1 question
Creating other obstacles
02:36
Moving Obstacles through script
08:21
Detecting collision with Player
06:04
Obstacle level design
07:25
Design few sets of obstacles and use them as prefabs.
Create few obstacles sets
1 question
Random generation of Obstacle sets
09:39
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
04:53
Creating Object poll for our Obstacles set
19:28
Object polling Update_Fix
02:21
Fixing collider for Player and Obstacles
05:24
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
09:37
Background object setup
11:25
Create a new layer of background objects.
Setup a third layer of bacgkground objects with trees and clouds.
1 question
Implementing Parallaxing
08:05
+ UI Setup and Adding more features
8 lectures 01:23:42
Adding UI buttons
11:50
Implementing game over and restart
06:13
Integrating Score to our game
09:46
Fixing few bugs
14:44
Adding Coins to pickup
08:49
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
10:40
Making our Player to duck and rotate
13:20
Requirements
  • 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.
Description

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.