How to make a 2D platformer - Unity Tutorial Crash Course

  Рет қаралды 180,951

bblakeyyy

bblakeyyy

Күн бұрын

Little different video for this one to prepare for the new channel ;)
Normal content back to normal for the next vid!
If you could subscribe I'd really appreciate it :)
0:00 Intro
0:45 Opening new project
1:00 Unity layout tour
3:48 First assets
6:25 Adding basic components
8:12 Basic movement
12:44 Basic jump
14:51 Basic Ground check
18:43 Simple level designing
19:40 Camera movement
22:02 Scene loading
26:10 Respawn
30:16 Pause Menu
40:00 Outro
NEW SERVER LINK: / discord
Silhouette Dash free download:
blakey-games.itch.io/silhouet...
Join the discord community!:
/ discord
Play my games! :
blakey-games.itch.io/
play.google.com/store/apps/de...
Watch me Live on twitch: / bblakeyyy
My Website!: bblakeygames.wixsite.com/blak...

Пікірлер: 546
@bblakeyyy
@bblakeyyy Жыл бұрын
I have a ton of scripts and assets related to this and my other tutorials that can help you out on my Patreon: www.patreon.com/BlakeyGames
@user-yd5nw1qo9t
@user-yd5nw1qo9t 4 ай бұрын
How many levels this game have?
@Swopher
@Swopher 2 жыл бұрын
WOW!! AMAZING!!!! This channel is TOO underrated, this was easy to understand and super simple to follow!
@eggabacon
@eggabacon Жыл бұрын
I've tried so many times to make games using both Unity and Unreal Engine, but never did anything with it, however this video was very simple and useful, and I absolutely loved it. Thank you so much for making this.
@IBeJaMz
@IBeJaMz Жыл бұрын
its been 5 years since i used unity this was the refresher as simple as it was i really needed it .Good jump !!
@MrRisko10
@MrRisko10 Жыл бұрын
Great Tutorial. One of the best tutorial I found. It’s not to fast or to slow. Just the correct speed.👍
@molten621
@molten621 Жыл бұрын
BRO! I have been looking around for a tutorial like this for AGES! thank you so much!
@ZachSuperStar
@ZachSuperStar 11 ай бұрын
This video makes all the concepts so much easier even a year later. Keep it up! 👍
@williamw9758
@williamw9758 2 жыл бұрын
Best tutorial I could find on Unity 2D Platformer! All other tutorial often go too fast or is using too many outside resources that is hard to follow. This one is just simple and perfect to get started! Thank you!
@bblakeyyy
@bblakeyyy 2 жыл бұрын
no probs!
@Max-ko8fm
@Max-ko8fm 2 жыл бұрын
Very good video! This is the best 2d platformer tutorial that I've found because most tutorials start with a tile-set which makes it hard to follow.
@bblakeyyy
@bblakeyyy 2 жыл бұрын
glad to hear that!
@miamouse765
@miamouse765 Жыл бұрын
I have been trying to figure out player controls forever now thank you so much!
@magic4237
@magic4237 Жыл бұрын
Great tutorial! Watched until the end and everything worked. I am new to C# but you explained the code very well. Keep it up, homie.
@Tubethevibe
@Tubethevibe Ай бұрын
Love your tutorials dude. Thank you so much for all the help and keep up the amazing work!
@VeggieVampy
@VeggieVampy Жыл бұрын
this is the most helpful video that i've watched for unity. great explanations thank you!
@SPARTAN___503
@SPARTAN___503 10 ай бұрын
This was an amazing and extremely helpful video, thank you and keep up the good work
@fore4word_748
@fore4word_748 2 жыл бұрын
Great video just finished half now and going going to finish it tomorrow
@ofctrapsi
@ofctrapsi Жыл бұрын
Thank You! It was my first time I started to make the games and you really helped me to get in! God bless you, bro!
@silverglasss6786
@silverglasss6786 2 жыл бұрын
Legend! Simple and straightforward, with good explanations!
@bblakeyyy
@bblakeyyy 2 жыл бұрын
glad to hear it! subscribe to the second channel for more tutorials!
@Lou2a.a
@Lou2a.a Жыл бұрын
amazing channel! i cant believe this quality only has 2k subs definitely subbed
@endyproductions6209
@endyproductions6209 Жыл бұрын
I was so flipping happy when I did the movement script tears came, thank you so much 🙏
@bblakeyyy
@bblakeyyy Жыл бұрын
Glad to hear that my friend!
@salaheddinechoufi5862
@salaheddinechoufi5862 Жыл бұрын
So Clear, Useful, Easy to learn and advanced at the same time All the thanks to you^^
@theemeraldsloth9570
@theemeraldsloth9570 Жыл бұрын
Thanks for the tutorial! I enjoyed it.
@theracer1222
@theracer1222 Жыл бұрын
Thank you for this tutorial, Blakey, you really helped me out here. It was straight to the point and clear so I could copy everything neatly. You are a lifesaver.
@im_defo_stable
@im_defo_stable 11 ай бұрын
You spell it bblakeyyy
@bblakeyyy
@bblakeyyy 11 ай бұрын
It’s alright, I actually go by Blakey on discord and stuff so works out :)
@im_defo_stable
@im_defo_stable 11 ай бұрын
@@bblakeyyy ok
@hardal201
@hardal201 Жыл бұрын
Thanks for the tutorial! Your tutorial helped a lot.
@narcissisticnarcissus4956
@narcissisticnarcissus4956 Жыл бұрын
Amazing, simple and well explained.
@printerman9834
@printerman9834 9 ай бұрын
Best tutorial I've found so far. No frills or pointless gabbing, just straight to the point, concise good information. Cheers mate
@EmdorDorem
@EmdorDorem Жыл бұрын
You explicated the code really good and like @Orpheus YW said the other tutorials of how to make a platformer on unity2D uses other sources or they are just simply not finished definitely subscribing
@user-bs6mu1ko6q
@user-bs6mu1ko6q Жыл бұрын
you got a new subscriber very clear and beginner friendly
@sp2ner721
@sp2ner721 Жыл бұрын
Great tutorial! Thank you!
@pureegaming1604
@pureegaming1604 Ай бұрын
This and GMKT are the best Unity Tuts on KZbin frfr
@ASmartNameForMe
@ASmartNameForMe Жыл бұрын
God this was so helpful, thanks a million
@dorianx3066
@dorianx3066 Жыл бұрын
I thought that brackeys is the best tutorial to watch but after 2 minutes I didn't know what's going on... but you just keep it very simple and you explain everything very well keep it up. I'm going On the next tutorial so bye 👋
@Blinkers2007GameDev
@Blinkers2007GameDev 2 жыл бұрын
Best tutorial on 2D plattformer imo. I will make my own 2D game eventually, thanks for your help.
@bblakeyyy
@bblakeyyy 2 жыл бұрын
Glad to hear it dude!
@Blinkers2007GameDev
@Blinkers2007GameDev 2 жыл бұрын
@@bblakeyyy thanks! I played your invisible platform game and loved it so much!!! But how does it save your progress? And how do I go back to menu?
@bblakeyyy
@bblakeyyy 2 жыл бұрын
Thanks! That game was made around 3 years ago now, it was my first ever game, so doesn’t have a lot of the typical functionality a good game should. It saves ur progress by loading you into the level and saving the level ur in via an int :)
@Blinkers2007GameDev
@Blinkers2007GameDev 2 жыл бұрын
@@bblakeyyy Great thanks
@ManzoorStrange
@ManzoorStrange Жыл бұрын
OMg this is amazing tutorial, please upload more tutorial i really learned new things but i am having some issue
@sketchionic6356
@sketchionic6356 2 жыл бұрын
Just loved it. Was fun.
@theantoftheworld
@theantoftheworld 2 жыл бұрын
I finished ! it's a very good tutorial Thank you !
@bblakeyyy
@bblakeyyy 2 жыл бұрын
👍🏻
@bblank_1278
@bblank_1278 8 ай бұрын
ty 4 the tutorial, very informative
@MrAltair786
@MrAltair786 Жыл бұрын
Best tutorial out there !
@Blankname17391
@Blankname17391 Жыл бұрын
Yes I fixed my problem. Anyway thank you for this great tutorial
@sunvilliage4942
@sunvilliage4942 2 жыл бұрын
Great tutorial!
@bogatyrstudios1272
@bogatyrstudios1272 Жыл бұрын
great video thanks man!
@robocuip9388
@robocuip9388 Жыл бұрын
The best video ever , thanks 😃
@CardHeroes
@CardHeroes 3 ай бұрын
using for 2d animation but this has been a livesaver thank you!
@gregoriopasserini8044
@gregoriopasserini8044 7 ай бұрын
Thank you Man! continue with your dream ;)
@temurika96
@temurika96 2 жыл бұрын
the best tutorial ever!!!! thank you.
@bblakeyyy
@bblakeyyy 2 жыл бұрын
welcome!
@vikeshkumarmahto16
@vikeshkumarmahto16 Жыл бұрын
this was so helpful thank you! you should make one for sapphire
@Sniper_Fam101
@Sniper_Fam101 Жыл бұрын
Deserves a sub with all notifications best one out of the 13 tutorial video and easy! Edit:I did not expect to get a heart but thank you:)
@IM-ws5if
@IM-ws5if Жыл бұрын
My first time i make a game in unity thanks bro
@kaykz2798
@kaykz2798 Жыл бұрын
fist game ive made I wasn’t able to figure out the pause menue bc my buttons just wont work but thats fine. I had so many probloms with coding that took me hours to figure out but finally did it. geat tut !
@TexturedPolak
@TexturedPolak Жыл бұрын
Very friendly to mobile viewers. Good and fast tutorial to start create your first platformer game.
@regis360q
@regis360q 11 ай бұрын
Friendly to PC viewers too! Really simple to follow, and I'm watching this on a computer!
@edwinlynch9326
@edwinlynch9326 Ай бұрын
Brilliant. A whole, simple game. All I need to do now is swap out for sprites and duplicate assets everywhere. Thank ewe Bblakeyyy
@tylerr2602
@tylerr2602 9 ай бұрын
Great vid mann
@missoo7128
@missoo7128 6 ай бұрын
Great Tutorial♥
@amritsahani69420
@amritsahani69420 Жыл бұрын
Great job you're making the engineers like me 😉
@dergus8833
@dergus8833 2 жыл бұрын
Thanks, I learned a lot
@bblakeyyy
@bblakeyyy 2 жыл бұрын
no prob :)
@hash7915
@hash7915 Жыл бұрын
really simple, but i learned lot of things
@tadz7333
@tadz7333 2 жыл бұрын
wonderful tutorial
@bblakeyyy
@bblakeyyy 2 жыл бұрын
glad to hear it!
@Deodorant23469
@Deodorant23469 10 ай бұрын
You deserve a sub i made my own it it was perfect thank you very much i even made my own character and a floor
@cakerzpit518
@cakerzpit518 9 ай бұрын
Finally, a good tutorial.
@TL4546b
@TL4546b Жыл бұрын
Thanks, I found this very good. Not simple, but that’s not your fault. It was the computer.
@jingboss1234
@jingboss1234 8 ай бұрын
underrated channel +1 like
@NiksindiaIsm
@NiksindiaIsm 2 жыл бұрын
Nice Tutorial
@goldenkillzz7425
@goldenkillzz7425 10 ай бұрын
for making the character move. you put the actual movement in the update method. But in fact, u should put any related physics functions in the fixedupdate method
@Bzyku1ek
@Bzyku1ek Жыл бұрын
great course
@dootpooter4740
@dootpooter4740 11 ай бұрын
This video was so good I'd buy you a free cup of coffee at the Jiffy Lube waiting room.
@regis360q
@regis360q 11 ай бұрын
That is so randomly specific
@bblakeyyy
@bblakeyyy 11 ай бұрын
This did also leave me baffled but appreciated nonetheless
@meggyessuti
@meggyessuti Жыл бұрын
WTF THANK YOU THANK YOU THANK YOU!!!! I WAS LOOKING FOR A SUCH A GOOD VIDEO LIKE THIS AND I FOUND IT!! YOU HELPED ME SO MUCH!!!! Edit: at the void command lines I stuck bc this shows error here (help)
@donniekanerva8442
@donniekanerva8442 2 жыл бұрын
Deserves more views 100%
@bblakeyyy
@bblakeyyy 2 жыл бұрын
Thank you!
@pietblubbervis
@pietblubbervis Жыл бұрын
It doesn’t let me grab the rigidbody2D.. can someone help? I don’t know what I did wrong. I’m using vs2022 btw
@OmnsaeF
@OmnsaeF 9 ай бұрын
22:37 BIG REMINDER to be mindful of how you're naming things! I was scratching my head why the "End" didn't load Scene2/level2 on collision. Welp! Named the Scene "Level 2", and upon putting the code, I put "Level2", sooo that space had me running loops for a good 3 minutes lol. I always forget how literal, word-by-word scripting/coding is...
@Danozziiii
@Danozziiii 7 ай бұрын
Thanks now i can make my first game
@snigames
@snigames Жыл бұрын
Thank you!
@GamingPlush64
@GamingPlush64 2 жыл бұрын
There's a bit of a flaw in the way you coded your jumping. Whenever I'm against an object, even when there's no ground beneath it, I'm able to jump. Sometimes I hit an edge at such an angle that it disables my jump when I land, thinking that I'm still against it. Any idea how to fix that?
@HyperrealisticNoise1111
@HyperrealisticNoise1111 Жыл бұрын
try to give a extra space in your collision compared to the sprite
@dergus8833
@dergus8833 2 жыл бұрын
earned a sub!
@bblakeyyy
@bblakeyyy 2 жыл бұрын
appreciated!
@nourzad.korusaki876
@nourzad.korusaki876 Жыл бұрын
wooooow finely find goood tutorial
@DarkoBarabasov
@DarkoBarabasov Жыл бұрын
Best Tutorial
@XPLaxative
@XPLaxative 2 жыл бұрын
I set my speed to private and didn't declare it I just assigned it there and then. I prefer it that way. Works great if anyone else wants to use it 'private float speed = 10f;'
@practicalice3799
@practicalice3799 Жыл бұрын
Yup
@jayantgamer6718
@jayantgamer6718 10 ай бұрын
Your the best bro
@boredroars4861
@boredroars4861 Жыл бұрын
this was really great thanks
@ShamrockShinobi
@ShamrockShinobi 2 ай бұрын
Everything works amazingly, even figured out what i was doing wrong with the buttons except that everything ABOVE resume selects resume, but if im anywhere below it highlights quit. Is there a way to make it to where the only place you can select is the actual buttons and not anywhere around them?
@Christina_Nguyen
@Christina_Nguyen Жыл бұрын
At 15:53 in the video, my recommendation is to not change “collision” to “other” as when I changed it to “other” my jumping did not perform correctly. But keeping it as “collision” made it work perfectly
@bblakeyyy
@bblakeyyy Жыл бұрын
Your issue was most likely elsewhere, changing to other should not cause issues
@quart7272
@quart7272 Жыл бұрын
thanks man
@danelotermin3178
@danelotermin3178 10 ай бұрын
Hi loved the tutorial. Helped me a lot and maked me take my first steps. But, thee movement and jumping scriptt didn't work to me. Do you know a script for only jumping? I would really apriciate it. Thanks for all!!!
@sruffolo9303
@sruffolo9303 9 ай бұрын
what VS theme are you using?
@RedBeatsLife
@RedBeatsLife Жыл бұрын
hello to if your rigidbody and your monobehaviour arent working youve got to go to edit in the editor>prefrences>External tools and then set external script editor to the current code program your using in my case VS(Visual Studio)
@mitkorx3270
@mitkorx3270 Жыл бұрын
This tutorial is very good but i have one question.When i go to new component and type player movement there isn't my script.Please help me bye:)
@yurvine5448
@yurvine5448 9 ай бұрын
in the script for the basic movement part, when I added it as a component, the option speed didn't show up, did anyone come across the problem?
@Mostege
@Mostege 7 ай бұрын
mine for example doesn't make statements like Rigidbody2D and Vector2 green. Is that normal? Although it works I have never programmed
@KipsterFur
@KipsterFur 5 ай бұрын
I’m glad I’m not the only one
@mayonnaiseguy69420
@mayonnaiseguy69420 Жыл бұрын
Really nice tutorial! By the way, in the ground check part, i have a glitch that if i jump once it wont let me jump anymore, if you can, please reply as soon as possible! Thanks!
@kylemorely1812
@kylemorely1812 Жыл бұрын
There's a bug in this game" if you add a wall with a collider and everything, if you hold the AD keys when touching it, your character will stick to the wall.
@DarioMarken
@DarioMarken 2 жыл бұрын
Dude I love you
@bblakeyyy
@bblakeyyy 2 жыл бұрын
glad to hear it! subscribe to the second channel for more tutorials!
@JustAGymGuy
@JustAGymGuy Жыл бұрын
i copied the code for moving but it don't work
@adw9749
@adw9749 11 ай бұрын
You also have to adjust the things and stuff
@keetee-ei3er
@keetee-ei3er Жыл бұрын
Basically just hit the keys and hit the head to the wall until something happens on the screen and repeat the same over and over again. Just be patient with yourself, try different methods of learning etc. After watching tutorials try to build something using the concept you just learned, seek help and reminders after you stuck a dead end, try by yourself first. Slow by slow kick the bar higher and repeat the same learning process. Try to learn the logic behind the code concepts, but for sure you don't have to know everything. Eventually you will learn something. Building small projects again and again and then adding always some new and difficult to the project
@bblakeyyy
@bblakeyyy Жыл бұрын
Good advice!
@keetee-ei3er
@keetee-ei3er Жыл бұрын
@@bblakeyyy Thanks for your help! By the way, background music did not get unnoticed, great and relaxing atmosphere 🎼
@odys1516
@odys1516 Жыл бұрын
i have error on respawn( it doesnt take my finish line script into startPoint) and on pause menu (i have no compiling errors but it doesnt show me the public gameobject pause menu enywhere) :(( . But thanks for the video very informative!
@bblakeyyy
@bblakeyyy 2 жыл бұрын
Hey! I have a tutorial channel dedicated to just tutorials now! It can be found on my featured channels list!
@Liber_Productions
@Liber_Productions Жыл бұрын
Hi I used this tutorial and when I implemented the movement part it gave me a syntax error and wouldn't show up in components tried one I found on stack over flow and didn't work either can you help? btw I was using unity 2020.3.
@TrendyBanana
@TrendyBanana Жыл бұрын
@@Liber_Productions Mind providing the script? Copy and paste it here
@Karma_dev_404
@Karma_dev_404 Жыл бұрын
9:45
@4ndrito
@4ndrito Жыл бұрын
how do i add double jumping
@thuvstar2536
@thuvstar2536 Жыл бұрын
The end cube which is meant to transport you to the. New level does not work . I am using the new input system for movement as well
@scoape
@scoape 2 жыл бұрын
Great tutorial. do you know how you'd might change the button used to jump?
@bblakeyyy
@bblakeyyy 2 жыл бұрын
Yeah, you can in the player settings I’m sure. Or you could use getKeyDown instead of get button down and type a key letter if it’s just keyboard
@Me_If_Your_Annoying
@Me_If_Your_Annoying Жыл бұрын
Does anybody have any ideas on how to flip the character when you move?
@Firefly-oi4mw
@Firefly-oi4mw Жыл бұрын
this all is amazing but for some reason when i do the camera following it just shows the sky and not the player how to fix?
@mahmoudnotfound2456
@mahmoudnotfound2456 Жыл бұрын
my computer doesn't have the requirements for visual studio what should i do
@feastyfeeds8381
@feastyfeeds8381 Жыл бұрын
I need help with the pause menu screen because I have multiple levels but the resume and quit dont work and a error comes
@asaf333steinberg9
@asaf333steinberg9 Жыл бұрын
in the 22:19 of the vid i acsidntly pres on the other opthion(not on the relode) it delted olmost evry thing, what can i do. pls help
@thomasiannone2979
@thomasiannone2979 Жыл бұрын
hi blake, im having issues with the is jumping boolian. whenever I jump, it does not tick. how do I fix this?
7 DEVS Make a GAME without COMMUNICATING! (centipede edition)
17:16
Blackthornprod
Рет қаралды 830 М.
I Turned My Most Famous SCRATCH Game Into a UNITY Game...
12:13
Monster dropped gummy bear 👻🤣 #shorts
00:45
Yoeslan
Рет қаралды 12 МЛН
Did you find it?! 🤔✨✍️ #funnyart
00:11
Artistomg
Рет қаралды 40 МЛН
Когда на улице Маябрь 😈 #марьяна #шортс
00:17
Buy Feastables, Win Unlimited Money
00:51
MrBeast 2
Рет қаралды 88 МЛН
The Unity Tutorial For Complete Beginners
46:39
Game Maker's Toolkit
Рет қаралды 3 МЛН
Unity 2D Player Move and Jump with Groundcheck Tutorial
11:13
MoreBBlakeyyy
Рет қаралды 42 М.
How to make a Video Game - Godot Beginner Tutorial
1:17:12
Brackeys
Рет қаралды 719 М.
choosing a game engine is easy, actually
15:08
samyam
Рет қаралды 163 М.
3 Hours vs. 3 Years of Blender
17:44
Isto Inc.
Рет қаралды 3 МЛН
The Best Games from GMTK Game Jam 2023
16:05
Game Maker's Toolkit
Рет қаралды 1,1 МЛН
Optimizing my Game so it Runs on a Potato
19:02
Blargis
Рет қаралды 273 М.
The Future of Game Development
8:58
Brackeys
Рет қаралды 1 МЛН
6 DEVS Make a GAME without COMMUNICATING! (HARDCORE edition)
20:12
Blackthornprod
Рет қаралды 1,6 МЛН
5 DEVS Make a GAME without COMMUNICATING! (INSANE end result)
15:42
Blackthornprod
Рет қаралды 1,3 МЛН
Which Animal Is The Best At Supervising The Thief? 🤔️
0:24
BigSchool
Рет қаралды 18 МЛН
ЛУЧШАЯ ПАРА ДЛЯ ДУО ШД
0:41
Янер
Рет қаралды 2,1 МЛН