Learn To Code By Making a 2D Platformer in Unity

Game development made easy. Learn C# using Unity and create your very own 2D Platformer
4.6 (436 ratings) Instead of using a simple lifetime average, Udemy calculates a
course's star rating by considering a number of different factors
such as the number of ratings, the age of ratings, and the
likelihood of fraudulent ratings.
1,254 students enrolled
$19
$45
58% off
Take This Course
  • Lectures 82
  • Length 13 hours
  • Skill Level Beginner Level
  • Languages English, captions
  • Includes Lifetime access
    30 day money back guarantee!
    Available on iOS and Android
    Certificate of Completion
Wishlisted Wishlist

How taking a course works

Discover

Find online courses made by experts from around the world.

Learn

Take your courses with you and learn anywhere, anytime.

Master

Learn and practice real-world skills and achieve your goals.

About This Course

Published 3/2016 English Closed captions available

Course Description

Learn how to create your very own platformer game using Unity3D, an industry-standard program used by many large gaming studios and indie developers across the world.

In this course you won’t just be learning programming concepts, but tying these concepts to real game development uses. You will have access to a course forum where you can discuss the topics covered in the course as well as the next steps to take once the course is complete.

This course has been designed to be easily understandable to everyone, so whether you’re a complete beginner, an artist looking to expand their game development range or a programmer interested in understanding game design, this course will help you gain a greater understanding of development.

At the end of this course you will have developed the ability to create such game elements as:

  • A character to control
  • Collectibles such as coins, extra lives & extra health
  • Different types of enemies to combat
  • Dangers such as Spikes, Saws & moving platforms
  • User Interface with interactive menus
  • Multiple levels and a level select screen
  • A unique and challenging boss battle


Start learning today and let me help you become a game developer!

What are the requirements?

  • Mac or PC capable of running Unity 3D
  • A copy of Unity 5.3 available for free from unity3d.com

What am I going to get from this course?

  • Learn C#, a modern versatile programming language.
  • Understand the capabilities of 2D development in Unity.
  • Develop strong and transferrable problem solving skills.
  • Gain an understanding of the game development process.
  • Learn how object oriented programming works in practice.

What is the target audience?

  • Competent and confident with using a computer.
  • Complete beginners with an interest in learning game development.
  • Developers who want to re-skill across to game development.
  • Anyone who wants to make their own 2D game.
  • People interested in working in the game design industy.
  • Please who want to create and publish their own games.

What you get with this course?

Not for you? No problem.
30 day money back guarantee.

Forever yours.
Lifetime access.

Learn on the go.
Desktop, iOS and Android.

Get rewarded.
Certificate of completion.

Curriculum

Section 1: Introduction
00:40

Welcome to the course, where we're going to learn how to develop a platformer game using Unity.

02:11

IN THIS VIDEO:

Downloading & Installing the latest version of Unity from www.unity3d.com

05:38

IN THIS VIDEO:

Looking at the default layout of unity and the important windows and functions we will use regularly

Section 2: The First Level
07:38

IN THIS VIDEO:

Bringing artwork into the game for future use.

Splitting a sprite sheet into multiple pieces to use separately.

14:53

IN THIS VIDEO:

Saving the scene.

Creating Platforms & Ground Pieces.

Adding Collider objects.

03:36
IN THIS VIDEO:

Creating & using Prefab objects to simplify making levels

Section 3: The Player
04:59

IN THIS VIDEO:

Creating the Player Character.

Adding basic physics to our character using Rigidbodies.

14:17

IN THIS VIDEO:

Creating the player character controller script, our first c# script.


14:43

IN THIS VIDEO:

Using Unity's built in input manager for keyboard and controller support.

Moving the player by taking input in code.

07:51

IN THIS VIDEO:

Adding code to make the player jump in the air.

Adjusting rigidbody forces to control the jump characteristics

14:37

IN THIS VIDEO:

Making sure the player can only jump when they are on the ground.

Using physics checks and layer types to determine if the player is on the ground.

09:41

IN THIS VIDEO:

Using Unity's Animation system.

Creating multiple animations from the spritesheet.

09:18

IN THIS VIDEO:

Setting up the animation controller for moving between different animations.

08:31

IN THIS VIDEO:

Adding code to the player controller to tell the animator when to change animations.

06:36

IN THIS VIDEO:

Make the player change the way it faces depending on the current direction of movement.

Section 4: The Camera
Basic Camera Control
02:01
Moving the Camera with Code
14:08
Using Lerp to smoothly position the camera
08:06
Fixing On Screen Lines
07:58
Stop Player Sticking To Walls
03:19
Section 5: Dying & Respawning
Creating a Kill Plane
14:19
Making Checkpoints
11:41
Respawning at Checkpoint
08:28
Controlling Respawns with a Level Manager
15:14
Delaying Resapwn with Co-Routines
10:36
Section 6: Level Pieces
Creating Spike Trap
08:19
Particle Effects
11:24
Removing Game Objects
07:33
Moving Platforms
18:02
Sticking Player to Platform
10:32
Creating a Moving Danger
08:14
Using Sorting Layers
05:01
Collectibles
14:29
Section 7: User Interface (UI)
Creating a UI & Tracking Coins
10:47
Adding Health to UI
04:41
Tracking Player Health
15:55
Applying Health To Our UI Using Switch Statements
10:59
Section 8: Making Enemies
Creating & Animating Our First Enemy
06:05
Controlling Spider & Hurting The Player
09:51
Creating A Patrolling Enemy
14:02
Destroying Enemies
07:07
Bouncing On Enemies
04:58
Modifying Enemy Stomp
04:44
Make Enemies & Items Respawn
10:41
Using Arrays to Store Objects
09:51
Using For Loops to Reset Objects
12:01
Resetting Spider Specifics
03:51
Section 9: Player Systems
Getting Knocked Back by Enemies
12:55
Becoming Invincible on Knockback
06:32
Adding a Lives System
08:23
Picking Up Extra Lives
08:17
Creating a Game Over Screen
05:27
Creating a Health Pickup
07:28
Bonus Life For Coins
07:59
Section 10: Sound
Adding Sound Effects To Our Player
10:24
Adding Sound Effects For Coins
03:33
03:02

Music Notes:

"Pixelland" Kevin MacLeod (incompetech.com)

Licensed under Creative Commons: By Attribution 3.0 License

http://creativecommons.org/licenses/by/3.0/


"This Game Is Over" - Joseph Pueyo http://www.josephpueyo.com/

Changing Music In-Game
05:30
Section 11: Background
Adding Static & Scrolling Background
12:44
Section 12: Improving Gameplay
Adding Circle Colliders To Stop Player & Enemies Getting Stuck
04:19
Controlling Player Speed On Platforms
07:24
Section 13: More Levels
Setting Up New Levels
09:44
Creating A Level Exit Point
11:02
Animating Level Exit
18:17
Smooth Level Transitions
11:54
Carrying Values Between Levels Using PlayerPrefs
12:08
Creating A Level Select Area
08:40
More Level Doors - Adding Text To In-Game Objects
06:07
Locking & Unlocking Levels
14:24
Section 14: Menus
Creating a Main Menu
06:01
Adding Code To The Menu
16:08
Adding Menu to Game Over Screen
16:41
Creating a Pause Menu
14:30
Finishing Pause Menu
08:00
Paused TimeScale Fix
01:48
Creating Custom Input For Pause Button
03:01
Section 15: Boss Battle
Creating Boss Level & Boss Character
17:29
Creating Boss Battle Script
15:34
Boss Battle Phases & Damaging The Boss
18:20
Winning The Battle
12:29
Resetting Boss On Respawn
12:42
Section 16: Finishing The Game
Building Standalone Game
10:34

Students Who Viewed This Course Also Viewed

  • Loading
  • Loading
  • Loading

Instructor Biography

James Doyle, Teaching The Basics of Making Games

Hi, I'm James. I have helped thousands of people learn how to develop their own games in Unity, and whether you're a first-time developer, or need to refresh your skills, I can help you learn to make the games you want to make.

With a bachelors degree in Computer Science and a background working in independent game development, I have been helping others to create their own games and release them on multiple platforms.

I believe in helping you learn by teaching code in context, so rather than having to memorize a bunch of stuff you've never seen before, you learn how each coding concept can be applied to real working problems in your games.

I can't wait to help you learn all about making your own games and how to make them a success.

So why not start learning to make games with me now?

See you soon!

James

Ready to start learning?
Take This Course