2D Top Down Pixel Art RPG Game Dev in Unity 2022 ~ Crash Course Tutorial for Beginners

preview_player
Показать описание
Guide on many of the first steps building up a top down 2d pixel art RPG from scratch in Unity 2022 version. The goal of this crash course is to cover as many relevant beginners topics as we can but linked together in actually building out some prototype mechanics for a potential game.

◢◤◣◥ My Latest Unity 2D GameDev Course ◢◤◣◥
Make a 2D Platformer Character with State Machines in Unity 2020

◢◤◣◥ Chris Recommends ◢◤◣◥

◢◤◣◥ See My Full Software Courses ◢◤◣◥

➣ Follow Me On

0:00 Project Setup
1:22 Importing Art
1:59 Settings for Pixel Art Imports
4:24 Creating a Player Prefab
8:20 Adjusting Camera for Pixel Art
9:57 Building Tilemaps from Tileset Art
21:57 InputSystem Package (New Player Input)
25:11 Adding a Script and Choosing a Code Editor
26:11 Player Conttroller Script
38:01 Movement Testing
41:38 Code - Sliding on Edges of Collision
45:04 Animation Setup for Player
57:07 Cinemachine Follow Camera
58:44 Sword Attack Animation and Code
1:04:16 Attack Collision Trigger and Dealing Damage
1:15:09 Slime Setup, Collider, and Taking Damage
1:24:17 Slime Animations
1:28:57 Wrapup
Рекомендации по теме
Комментарии
Автор

Followed the whole video, expecting it to take me 2 hours. It took me all day! Well worth it though. I have an actual player running around on screen killing enemies!

Youtuber-lytx
Автор

At 47:45, if you don't have the sample rate (like I didn't), go to the far right of your screen and click the 3 vertical dots (under the lock) and select "Show Sample Rate" :)

Edit: wow i didn't expect this to become the top comment 😅 Glad i could help you all

Teelur
Автор

Fantastic tutorial! Starting Unity projects can be really daunting with all of the gizmos that you need to configure, and I'd never done a 2d project before so I had no idea how to manage sprites or collision. This made setting everything up super easy to follow!

Qegixar
Автор

This is so great! I've been following along. I'm an hour in, with everything working smoothly! It's my first time working in Unity or in C (though I've used Python before.) I love how you model debugging and explain why you do each thing you do. I learned a lot of coding just from following along! Keep up the great work!

lppassarelli
Автор

already 5 minutes in and know that this tutorial is going to be such a banger, thank you so much for putting this together!

mrtbit
Автор

This is a great tutorial, I think it covers almost everything beginners need to learn to create a game with Unity - but sometimes it's hard to learn everything at once (at least for me). I was able to complete all the steps, but when I decided to start again with a blank project I was at loss. Your video is still great though, it has everything I'll need to learn in one place. I'll definitely be revisiting this in the future, thank you for sharing your knowledge!

lide
Автор

At 58:28, if you are experiencing jittering after adding the Cinemachine Pixel Perfect extension, make sure to DISABLE the default Pixel Perfect Camera component on your Main Camera game object. The two pixel perfect cameras can fight each other for control and add jitter.

nicka.
Автор

This was such a great tutorial - thank you so much for putting it together. It was especially helpful that you showed how to use Unity's newer input system - as many tutorials are still using the older one.

I like how you kept in your decision making when it came to writing the code as it put into context what it's actually like developing - that the way you decide to implement something could change.

The one thing I'd note to anyone else following along is that there is a bug with the hit box collider - but it gets resolved later on in the tutorial. If the bug causes you issues before you get to the part where it's solved - just make sure you're using local position.

kathleenmacainsh
Автор

I just downloaded unity and your tutorial is the only one that doesnt take shortcuts. Finally i can code in unity

djordjegrozdanovic
Автор

cool tutorial video, in most unity tutorials, I never feel like I'm learning anything, except for this one, I was able to add basic modifications to your scripts. Nice Video

shadowboi
Автор

Most underrated channel. Very detailed and informative explanation. 👌🏻

mustafaonly
Автор

By far the best Unity tutorial I've ever come across! I'm not a young man and I've struggled with Unity for some time, but not now. Coding isn't a problem but this type of engine is for some daft reason. Thankyou for finally clearing this barrier for me.

richardikin
Автор

Giving this a follow, just got up to the movement part about half an hour in and so far it's very easy to follow for a complete beginner like myself.

liammc
Автор

BEST tutorial video ever man, you've crushed it and explained everything so well

ayowtf
Автор

Thanks Chris. Good stuff. Explications was clear, I like the Your narration style, even with errors and alternative ideas. With video like this one a huge progress in learning process can be made!

krzysztofpiatkowski
Автор

very cool Chris, I was just working on a top down retro demo and ran across this vid. Extremely helpful!

Paul_LaSalle
Автор

this is such a banger tutorial. very clear and have almost everything that i want

blossomrose
Автор

Thank you so much for uploading such a high quality tutorial for free! Very succinct and well explained, I’ve learned tons.

Chitus
Автор

Really good tutorial. Having a lot of fun learning how to apply some previous coding I've done to making games. The only suggestion I'd make is to slow down the speed a bit. I put the playback speed on .75 and at my complete beginner level to Unity and this type of coding, it still seems like you're zipping around the menus really fast. I've had to rewind several times even on parts where you're going back into a menu we've been in previously because I couldn't remember exactly where it was located. Other than that, this tutorial is great and really looking forward to learning more from other videos so I can make some games!

rfygband
Автор

Great video and at a comfortable pace. Will you be adding any more parts to this series?

niicholls