Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Building Unity 2D Platformer
Rating: 3.8 out of 5(371 ratings)
19,657 students

Building Unity 2D Platformer

Making 2D Platformer From Scratch
Created byMagic Coding
Last updated 5/2019
English
English [Auto],

What you'll learn

  • To code in C#
  • Making a Map Using Tilemap In Unity
  • Combo Attacking System
  • Build A 2D Platformer

Course content

1 section21 lectures5h 32m total length
  • Preview of the game5:25

    Learn to build a Unity 2D platformer from scratch, implementing movement, jumping, shooting, enemy encounters, health and hit feedback, tile palettes, tile maps, and camera follow with cinema machine.

  • Improting Assets And Adding Our Player13:13

    Explore assembling a Unity 2D platformer: import assets, organize folders, configure sprites and animations, and set up the player with a Rigidbody2D and capsule collider on a tiled ground.

  • Player Movement10:48

    Implement 2D player movement in Unity by declaring run speed and move input, obtaining the Rigidbody2D, and applying horizontal input to velocity in fixed update.

  • Jump11:24

    Create a 2d jump mechanic by using a ground check with a box cast and ground tag, then jump when grounded, with adjustable jump height via jump force and range.

  • Adding Animations11:53

    Learn to add and wire run, idle, jump, and fall animations for a Unity 2D platformer, using speed and jump booleans to drive transitions.

  • Player Attack18:56

    Create player attack animations in Unity by adding sword attack clips for three attacks, configuring transitions from idle and run, and coding a combo system with timers and booleans.

  • Finishing Attack9:30

    Configure sprites and animation for the idol skeleton, set up enemy tagging and layers, and implement a ranged attack using a 2D physics circle for hit detection and multiple enemies.

  • Skeleton Patrol15:10

    Create a 2D Unity skeleton patrol that moves left and right, detects the player, and switches walking animations using a separate script, boundary ranges, and walking sprites.

  • Skeleton Hit And Death14:08

    Learn to build a skeleton enemy in Unity with hit and death animations, implement health and take-damage logic, and trigger death when health reaches zero.

  • Skeleton Attack27:24

    build a skeleton attack in a unity 2d platformer by creating attack animation clips, wiring transitions, and implementing patrol, detection, and damage logic with a dedicated player health script.

  • Finishing Players Attack31:30

    Add and refine the player's air attack, shoot arrow, and jump shot animations for Unity 2D platformer, and implement bow attack logic, arrow spawning, and transitions for fast, responsive combat.

  • Mapping15:43

    Build a Unity 2D platformer map using a tile map with ground, sky, clouds, and ocean, create a ground tile palette, and add colliders for gameplay.

  • Camera Follow17:58

    Create a 2D camera follow using Cinemachine, configure ground and boundary colliders, and tune damping, look ahead, and dead zones for smooth player tracking.

  • Making The Dragon28:57

    Create a dragon enemy in a Unity 2D platformer, implement idle and attack animations, enable vertical movement, face the player, and shoot fireball projectiles with a cooldown tied to animations.

  • Camera Shake15:25

    Learn to implement camera shake in a Unity 2d platformer by adding a camera shake script to the main virtual camera, with configurable amplitude, duration, frequency, and low/medium shake triggers.

  • PlayerHit15:19

    Add a user interface image inside a canvas, configure the screen space camera and sorting layers, then implement a hit flash and invincibility using a coroutine that toggles sprite colors.

  • Player SoundFX18:48

    Develop a Unity 2D platformer sound system by implementing a singleton sound manager with multiple audio sources, handling walk, jump, hit, sword and axe clips, and dragon fireball sounds.

  • The Rest of SoundFX.5:44

    Learn to add and wire fireball, arrow, and X swing sound effects in a Unity 2D platformer prefab. Use the sound manager to play clips at set volumes.

  • Theme Songs And Dragon Death11:02

    Set up a song manager to play looping or random theme songs from audio clips array for battles and exploration, and implement a dragon death sequence with a death state.

  • Health UI, Players Death And Health Pot20:28

    Set up a health UI using a slider and heart image, link it to the player's health, and implement health potions and death behavior with animation and scene management.

  • Gameplay Manager13:37

    Create and attach a gameplay manager to track remaining enemies, trigger level completion when all enemies die, and load the next scene or level, with optional reward and ending screens.

Requirements

  • Unity 3D

Description

The main point you will learn in this course is the fundamentals of Game Development and how to make an amazing 2D Platformer.


We will start strong off with learning a bit of Unity and its interface, one of the most popular game engines for game development, so if you have never used Unity before I got you covered.

This is course is friendly familiar with those who have never used Unity before, but if you have ever used it before or did some programming it will help you out to understand better, but without fear come and step inside into the course even if you have only wished to learn Game Development.

So what is you waiting for, come inside and let's start learning on how to make an amazing 2D Platformer.


Who this course is for:

  • Complete Beginners
  • Anyone who wants to become a Game Developer