Your First 2D GAME - Day 1 Beginner Tutorial

preview_player
Показать описание

This is a full in-depth Unity tutorial for complete beginners. If you've never touched a line of code, if you've never even OPENED a game engine before, then this will be a perfect fit for you! We're going to make a really nice angry birds clone from scratch.

I made this tutorial with my past self in mind. I remember the overwhelm, the intimidation and all the confusion as I tried to figure everything out and peice knowledge together from dozens of bite sized tutorials. This is not that. This is comprehensive, I explain absolutely everything as I go, and by the end you will be in a VERY good place to start making games on your own.

Link to Download our FREE 2D Asset Pack (NOT the ones used for this tutorial):
---
---

Link to free assets used in the video:
Sound Effects:

Sprites:

Contents of This Video: ------------------------------------------

00:00:00 - Intro + What to expect
00:03:24 - Unity HUB, Version explanation, and new project creation
00:05:57 - Unity layout, windows and overview
00:08:39 - Importing and preparing game assets for your game
00:15:54 - Setting up our scene + GameObjects + Sprite Order
00:29:15 - Your first script (high level variable and function explanation)
00:39:51 - Installing a package in Unity (for Input)
00:41:30 - Detecting our mouse click
00:44:07 - Setting up our slingshot with rubber bands that follow the mouse
01:08:21 - Clamping the distance of our slingshot
01:13:42 - Only detecting clicks near our slingshot
01:30:43 - Organizing our code and cleaning up slingshot lines
01:34:01 - Adding the angie bird with gravity and collision
01:37:38 - Setting up the angie bird launch function
01:47:06 - Spawning the angie bird in and setting his idle position
01:54:17 - Updating the bird's position along with the slingshot
01:58:26 - Offsetting the bird's position while on the slingshot
02:07:05 - Get the bird looking in his direction on the slingshot
02:09:54 - Shoot the bird off the slingshot using physics forces
02:12:51 - Smoothing out the bird's movement
02:15:33 - Get the bird looking in the direction he's flying
02:19:35 - Giving the bird friction and stopping his rotation once he's collided with something
02:22:59 - Spawning in a new copy of the bird after a timer
02:31:09 - Limit our number of angry birds per level
02:40:27 - Visualizing our number of available birds with UI Icons
02:55:35 - Adding blocks into the level
02:59:05 - Adding piggies into the level
03:07:26 - Adding a win and loss state and reloading the game
03:20:12 - Adding a restart button for the win state and disabling slingshot script
03:26:49 - Refactoring our input so it works for PC and mobile
03:40:07 - Adding particles when the piggies die
03:47:21 - Animating the slingshot with a tweening library
04:05:24 - Adding sounds to the game
04:17:56 - Controlling the camera and adding transitions
04:26:37 - Fixing seams in our tiled sprites
04:27:53 - Some small tweaks
04:29:04 - Adding a boundary to the camera
04:35:29 - Debugging the elastic on the slingshot, and fixing an error
04:39:07 - Adding a second level and adding the functionality to our game manager

Who We Are-------------------------------------

If you're new to our channel, we're Brandon & Nikki from Sasquatch B Studios. We sold our house to start our game studio, and work full time on building our business and making our game, Samurado.

Wishlist our Games:
Wishlist Samurado!

Don't forget to Subscribe for NEW game dev videos every Monday & Thursday!

Follow us on Twitter for regular updates!

#unitytutorial #unity2d #unity3d
Рекомендации по теме
Комментарии
Автор

JUST AN FYI to anyone watching and getting discouraged because you can't find the "particles" spritesheet, it is a duplicate and you don't need to worry about it if you have the others.

morimoko
Автор

Dude, i am only 30 minutes in so far, but let me tell you, the way you explain things - it's perfect. You don't rush, your voice is at a moderate pace, you do not omit explaining even small things, i love it!

radosawlament
Автор

This is ABSOLUTELY the best & most informative tutorial on UNITY, I've seen on YouTube. Please continue to make more tutorials on game development. I'm sure you're doing a great service for beginner game devs like myself. I will definitely join your Patreon when I'm able to afford it. With tutorials like yours, it's SO much easier to comprehend the mechanics of the Unity Game Engine. Thank You !!!

KendallEdwards-qi
Автор

The URP templates are called 'Universal' now. Don't use the Built-In Render Pipeline ones by accident like I did :)

mythicalteatree
Автор

As a 47 year old C# developer and a keen gamer, I really fancied having a go at creating a game. This tutorial is just what I was looking for to get me going with Unity. Thank you!!

OriginalMrL
Автор

Can't Wait to start this I'm 17 and I'm just starting to learn about game development so ill comment again when I finish.

DeveloperKy-lqnk
Автор

This video is so packed with information that after watching this second time (first without doing) I didn't remembered 1/20 of it. It took me much more than ~5h because it's imposible to catch up without constantly stoping it and I have like from 0 to 2hours daily for learning gamedev so... many days for me. Overal I must say this is one of the best video on the topic I have watched so far and it motivated me a lot. Well explained and quite comprehensive for the beginner. Thank you for your hard work Sasquatch.

MrBudyniowski
Автор

I just finished watching the video and made the game myself. This is my first working game using a game engine. Thank you so much! I am feeling quite emotional, as I watched the video for two days straight, and now it has ended. The teaching was truly beautiful. Thank you so much!

redwanhasan
Автор

The hype is real! Do you know how frustrating it is to find a tutorial for the basics that's not 2 or 3+ yrs old haha you're the best

theastralproject
Автор

I did a few of the unity tutorials, and none of them explained the basics of scripts anywhere near as well as you are. Thank you Sir! This is invaluable.

DanaSydonia
Автор

ANOTHER FYI TO ANYONE HAVING ISSUES @2:11:00 IF YOU ARE HAVING ANY ISSUES, TRY REATTACHING SCRIPT TO PREFAB TO FIX

morimoko
Автор

This was fantastic mate, thank you so much for putting this together. I didn't even realise how long the video was until I was completely done. Really love the way you delivered this, happily now supporting on Patreon.

My only criticism was sometimes you click on stuff and the face cam is in the way, but it never managed to be a showstopper.

Keep up the great content :).

ulgrimthemad
Автор

After couple years since the last time I've tried Unity, your tutorial was just what I needed to get back into it. Thanks.

giocx
Автор

This is one of the best beginner tutorials on YouTube. Would love to see more of these as a complete beginner to game development!

Darkice
Автор

Thank you for helping people start their development journey

mentlegen
Автор

"Angry Birds!" - Perfect choice for learning game mechanics and engine basics!

krishnanand_yadav
Автор

Hopefully there are many more of these videos to come with increasing complexity! Conveniently my friend just asked me to show him how to get started and this video helped him a lot.

HuyQuangNguyen-xf
Автор

Im so happy you are not keeping these tutorials behind a pay wall. Please keep it up❤

vukxz
Автор

for anyone struggling with friction on the cirkle collider, a workaround i found was using a polygon collider instead, for some reason it does not allow for friction on a cirkle

Kinglazy
Автор

This is awesome! I will definitely follow this over the course of a few days. Thank you for doing this. Very much appreciated🔥

AstonJay