Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
How to Make a Top Down 2D Action RPG in Unity 2022
Rating: 4.1 out of 5(25 ratings)
230 students

How to Make a Top Down 2D Action RPG in Unity 2022

State Machine Animations, Combat, and Level Building Basics Coded in C#
Created byChris Tutorials
Last updated 9/2022
English

What you'll learn

  • Learn how to create a player character with movement, attacks with knockback, and physics
  • Make an enemy that will chase and damage players - optionally other enemies too
  • Build 2D game levels with tilemap and tileset tools
  • Setup animations for your characters using the unity animation state machine tools
  • Add floating text to indicate damage dealt to enemies or players
  • Explore the differences between kinematic and dynamic rigidbody movement and physics
  • Receive player input through the new InputSystem package

Course content

3 sections47 lectures3h 39m total length
  • Introduction1:30

    A brief look at what to expect over the content of this video course.

    Finished versions of the course assets and scripts downloadable below!

    Music: Summer Ambient Piano  by Rafael Krux

    Free download: https://filmmusic.io/song/5504-summer-ambient-piano

    License (CC BY 4.0): https://filmmusic.io/standard-license

    Artist website: https://www.orchestralis.net/

Requirements

  • Some programming experience will definitely help. I walk through each line of code to explain things thoroughly.
  • Make sure you have Unity 2022.1 or newer installed. Best to use stable versions to avoid bugs.

Description

Learn the basics on how to build a Top Down 2D Action RPG (think classic Zelda games) inside of Unity 2022. The main focuses of this course is on creating a working player with a sword attack, a slime enemy to chase and damage the player, and building a level to play on with pixel art tilesets including wall collisions. Another key focus is demonstrating the differences between kinematic physics and unity dynamic rigidbody physics with two versions of the player controller script so you can choose which method works best for you and your own games. Also important is the cinemachine package for creating a follow camera to track your player but maintain pixel perfect settings in Unity to avoid any screen tears or distortions.

In this course, we'll cover much of the core gameplay essentials games in this genre will need in their main gameplay cycle

  • Player Movement and Attacks with new InputSystem package

  • Building Tilemaps from Tilesets

  • Movement with Kinematic and Dynamic Rigidbodies

  • Making a Slime Enemy which can chase player, cause damage, and be slain

  • Setting up animations and transitions with Unity animation state machines

  • Creating hitboxes for directional attacks

  • Floating Damage Text numbers

Everything is written in C#, the standard language for unity games. You don't have to be a programming master. If you get stuck, feel free to download the finished scripts included in this course so you can get up and running.

Who this course is for:

  • Helping you to build your first RPG game
  • Students somewhere between beginners and intermediate skill level
  • If you like coding and want to get better at C# especially in Unity engine