Тёмный
No video :(

How to make a platformer in Godot in 10 minutes 

Miziziziz
Подписаться 239 тыс.
Просмотров 85 тыс.
50% 1

see final product at 9:43
script: pastebin.com/C...
sprites: imgur.com/a/VM...

Опубликовано:

 

24 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 191   
@nial1396
@nial1396 4 года назад
this guy made a game in the time it takes Unity to load
@unworthy.potato
@unworthy.potato 3 года назад
Aravashnial yeah that’s why i use Godot instead of unity (until I get off my school laptop)
@MxCrompli
@MxCrompli 3 года назад
I think you meant Unreal Engine
@not_herobrine3752
@not_herobrine3752 3 года назад
@@MxCrompli nah, he could recreate theyest thou within that timeframe
@gamingguna3591
@gamingguna3591 2 года назад
Ye lol
@josephc-mg2tk
@josephc-mg2tk Год назад
I mean Your not Wrong.
@jordanlis85
@jordanlis85 4 года назад
This what I expect from a tutorial : no bullshit, no long talking, only effective instructions and good speed to learn. If I need, I can use pause so what's the need to do a 10 hours tuto for a 2D plateformer... I just don't get it, so BIG thanks to you Miziziziziz !! If you can do more tutorials for godot like this, it would be reaaaally great !
@june_rain_video_game_company
@june_rain_video_game_company 4 года назад
I make Godot videos like this
@asdfkeyboard9807
@asdfkeyboard9807 3 года назад
Nah, the only thing it's lacking is the explanation, I don't get most of it and this is an older version of godot too so ye, but other than that very straightforward indeed
@asdfkeyboard9807
@asdfkeyboard9807 3 года назад
Tbh it's not really a tutorial since it doesn't teach the concepts, it just gives you everything, like "here's the stuff now have it" And that's the end
@JuniperDev
@JuniperDev 3 года назад
@@asdfkeyboard9807 yeah, it's a tutorial expecting you to have some prior knowledge working in Godot. perfect for those familiar with the software already
@asdfkeyboard9807
@asdfkeyboard9807 3 года назад
@@JuniperDev Alright then, well this isn't for me I guess
@albaz2000eg
@albaz2000eg 5 лет назад
These are 10 minutes of quality content. Thank you!
@patchi1952
@patchi1952 3 года назад
للأسف يا محمد مفيش فيديوهات أو شرح عربي للمحرك ده عشان الواحد بتباها بيها لأن الناس بتبص للهايف فقط .
@TomIzDumb
@TomIzDumb 2 года назад
@@patchi1952 في الواقع ، هناك عدد غير قليل من دروس godot العربية ، إليك رابطًا لشرح Godot Engine الجزء الأول ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-kDEd63P64kM.html وهو جيد جدًا للمبتدئين (على ما أظن) 👍
@alexphillips5748
@alexphillips5748 4 года назад
The speed/clarity of this video is impressive.
@cubeman9766
@cubeman9766 4 года назад
how to make a game in ten minutes *videos less than ten minutes impressive
@NICK....
@NICK.... 3 года назад
If your key icons are disappearing when you select the sprite node it's because the animation tab at the bottom is being deselected
@aryanbajracharya5943
@aryanbajracharya5943 3 года назад
how do we fix that?
@NICK....
@NICK.... 3 года назад
@@aryanbajracharya5943 Select the animation tab on the bottom
@tacog4703
@tacog4703 3 года назад
@@NICK.... You are the man, thank you for that tip
@user-rv7ge1tc4l
@user-rv7ge1tc4l 3 года назад
wow thank you so much!!!
@ntPingu
@ntPingu 3 года назад
thank u so much
@Crisisdarkness
@Crisisdarkness 5 лет назад
Wow a master class, thank you, you have become my favorite instructor of Godot
@tristanheck2209
@tristanheck2209 4 года назад
i feel like this is great for having an overview of what you have to do.
@endofmysteries
@endofmysteries 4 года назад
I really appreciate how fast and streamlined your tutorial is! It's not boring and gets right to the point. Yes I don't understand much of what's going on but I see how things work and it makes me want to learn it on my own!
@addualien
@addualien 4 года назад
You are totally straight forward. Sincerily much better than many of the most well-known RU-vid channels out there dedicated to making Godot tutorials.
@lwarmospherel4427
@lwarmospherel4427 3 года назад
Thank you for: - Going directly to the point since the beginning. - Not adding stupid background music. - Providing content without beating around the bush. - For not asking to like, to dislike, to subscribe or how to activate the bell icon as if no one wouldn't know how to use RU-vid in 2021.
@DemiNiBlack
@DemiNiBlack 4 года назад
This is our starting material for learning Godot. It was pretty fun to get something going so quickly!
@jonathandooley7078
@jonathandooley7078 5 лет назад
LMAO this just broke my brain dude. But you know what? It inspired me to work even harder to learn this stuff. Thank you for this video!
@elijahhmarshall
@elijahhmarshall 4 года назад
I think these videos are more educational than many others i have found, as you are very brief and to the point. I think quick turnaround can help you learn faster because you can start making changes on your own faster which often has you learning by trial and error. Not to mention the instant gratification you get by having something going in 10-20 min.
@Stormhatt
@Stormhatt 5 лет назад
Good tempo in your vids, I like it.
@garyadamos
@garyadamos 4 года назад
Thanks miziziz I’m taking ur advice and watching tutorial everyday to get into game dev and your vids are so much better than everyone else’s they don’t know how to get to the point so thank you 😊
@V0DMusic
@V0DMusic 3 года назад
Wikipedia definition: Miziziziz = A professional Godot Engine speedrunner.
@pislify34
@pislify34 4 года назад
man you are the best godot channel
@ShadowTheLight
@ShadowTheLight 3 года назад
That would be pretty hilarious if you jumped and then started walking like everything was normal and then walked off a ledge to be suddenly flying down at incredible speeds!
@berkaltug2232
@berkaltug2232 4 года назад
Way better than those only shows a jumping ball on a line in the end of 98723 hours tuts.Good work.
@oliverchandler1072
@oliverchandler1072 3 года назад
For anyone wondering why the objects are listed hierarchically, the preset for Godot is that the inspector tab is on the right and the scene is next to it, so you have to click the triple colon and move the scene tab over to bring it up
@birduwu
@birduwu 3 года назад
i recommend adding these couple lines to the script in _physics_process() var head_col = is_on_ceiling() if head_col and !grounded: y_velo += GRAVITY it just makes you fall if you collide with a roof
@gundelf7434
@gundelf7434 3 года назад
haha, I followed a 45 min tutorial and I didn’t like the result and then I tried following this and I got a much better result in just 10 minutes! Keep up the good work
@Kegisi06
@Kegisi06 4 года назад
Thank you! This has helped me understand Godot a whole lot better by following along.
@teenspirit1
@teenspirit1 4 года назад
03:50 I don't have a "key here" to click.
@Natenalx
@Natenalx 4 года назад
you need to be toggled to the animation button at the bottom for the key to appear.
@ezra6094
@ezra6094 4 года назад
Natenalx thanks this helped me
@anacharsis1070
@anacharsis1070 4 года назад
@@Natenalx thanks!
@Shashuverse
@Shashuverse 4 года назад
@@Natenalx Thanks Bro
@lol3xtrach3353
@lol3xtrach3353 3 года назад
if every guide in the world had this kind of clarity and concision humanity's progress would be centuries ahead
@pianoatthirty
@pianoatthirty 2 года назад
WHY CAN'T MORE PEOPLE MAKE TUTORIALS LIKE THIS? F*ck that was great.
@NikoNightmare
@NikoNightmare 3 года назад
when i start the game my character just fell down
@JoiaribDG
@JoiaribDG 4 года назад
Dude i have a question, do you know why my idle animation, even if i have just one frame, it like jumps and stops and jumps and stops, even if im not jumping at all
@JoiaribDG
@JoiaribDG 4 года назад
i've fixed it, just added to the y.velocity the gravity, befoere the move_and slide, and next to it the is on floor()
@tubo_channel
@tubo_channel 3 года назад
why my player can only jump and doesn't move left and right, i already set it right
@gilmsgabriel
@gilmsgabriel 4 года назад
*Godot speedrun*
@n123yl
@n123yl 3 года назад
I got to say that is one good tutorial. Straight to the point!!!, Kudos Miziziziz(don't know if I spell it right).
@puzzlebeast783
@puzzlebeast783 3 года назад
2021, godot 3.2.4, still works like a charm!
@lixeira78
@lixeira78 3 года назад
he did not take time to explain stuff and I loved it
@codeonion
@codeonion 4 года назад
Works perfectly in Godot 3.2.1.stable.official June 2020
@gamergrill9629
@gamergrill9629 3 года назад
Thank you for the tip at 7:35 :)
@ralfderijcke
@ralfderijcke 3 года назад
Amazing speed, great content 👍🏻
@TheSaberTrooper
@TheSaberTrooper Год назад
Nice video but I had trouble following along as it was so quick
@CinephileHaruxro
@CinephileHaruxro Год назад
How do I import assets sprites
@CinephileHaruxro
@CinephileHaruxro Год назад
From the folder
@BrettKromkamp
@BrettKromkamp 4 года назад
Just excellent. Thanks.
@lvl69vegan76
@lvl69vegan76 5 лет назад
Lol I thought the popup on 0:37 was on my screen.
@tristanheck2209
@tristanheck2209 4 года назад
same here
@ShineOrSomething
@ShineOrSomething 3 года назад
how do i make it so i die when i fall off?
@articulus7432
@articulus7432 4 года назад
Hey this is a great video but when i tried to do is_playing() or .playing() it does not work?
@Miziziziz
@Miziziziz 4 года назад
This is an older version of godot. You dont need to use parentheses anymore
@theeggaming2316
@theeggaming2316 Год назад
Amazing tutorial and still working
@hibernian87
@hibernian87 5 лет назад
This is honestly amazing. You have any stuff for C#?
@graveyardproductions1089
@graveyardproductions1089 4 года назад
This is just amazing.
@redbolor
@redbolor 4 года назад
There's No Insert Key on my inspector 3:58
@spifff2869
@spifff2869 3 года назад
I have a problem where the new amination button dosnt show?
@kaljakad
@kaljakad 3 года назад
Thank you, this was very helpful!
@johnxdjtheway1278
@johnxdjtheway1278 3 года назад
I can’t even use Godot, whenever I try to test my game, it just shows a black screen and nothing else
@thistle1923
@thistle1923 3 года назад
now time to figure out what the hell I just did...
@demonmusic8117
@demonmusic8117 5 лет назад
im sub number 499 nice tutorial
@changedev.198
@changedev.198 3 года назад
I click on UNITY. It didn't start. I downloaded GODOT, Opened it, watched a few tuts, finished. THEN UNITY OPENS. AAAAAAAAAAAAAAAAAAAAAAH!
@Alzter0
@Alzter0 5 лет назад
Great video, although you should try to slow down and explain what you're doing a bit more because I don't understand why you do certain things only until they make sense later in the video.
@megafan1533
@megafan1533 2 года назад
Thanks a lot, it really helped!
@krisymac3514
@krisymac3514 3 года назад
Does anyone know where Length is in the more recent version? (time stamp 3:28)
@krisymac3514
@krisymac3514 3 года назад
found it, its in the top right corner of the animation window
@marktriestolive1781
@marktriestolive1781 4 года назад
I love it! Thank you very much!
@blehmeh9889
@blehmeh9889 3 года назад
7:35 Quick question: why aren't you using delta with Gravity? If the framerate goes inconsistent, the gravity gets all messed up. Delta can fix that.
@burumka1
@burumka1 3 года назад
I don't have keys in sprite so can't make animations and move further
@likopinina6803
@likopinina6803 3 года назад
game dev speedrun
@overall1937
@overall1937 3 года назад
Lemme just steal this
@sighera
@sighera 3 года назад
Great tutorial! Thanks!
@sanyi9667
@sanyi9667 4 года назад
please make a "how to make a card game in 5 minutes with Godot" video. I searched for that and I couldn't find any. There are none. thanks
@thechaxxe3565
@thechaxxe3565 5 лет назад
I’ve done the code exactly and when the game starts ( without me touching it ) my character flies all the way to the right until stopped by a wall
@talllobster251
@talllobster251 4 года назад
I got the fix for you, it turns out there is an error in the tutorial, you are supposed to have line move_and_slide(Vector2(move_dir * MOVE_SPEED, y_velo), Vector2(0, -1)) rather than the line move_and_slide(Vector2(move_dir + MOVE_SPEED, y_velo), Vector2(0,-1)) i made this little change and now it works fine
@marktriestolive1781
@marktriestolive1781 4 года назад
but the vid shows it * not + tho. i guess its updated then?
@talllobster251
@talllobster251 4 года назад
@@marktriestolive1781 I noticed that too a month ago but forgot to update my comment. So yes the video was updated.
@matzieq
@matzieq 4 года назад
You once made a video making fun of creating a completely inaccessible game. I just wanted to point out that as a left-handed person I find the a-d-space setup for platformers completely unusable. At least give me an option to play with the arrow keys as well. I get that this is a short demo, but I thought it'd be interesting to know. Great tutorial otherwise!
@Sam-hd7iy
@Sam-hd7iy Год назад
my guy looks to left when i move him right
@saugatpoudel4088
@saugatpoudel4088 4 года назад
add following code in _physics_process function: if is_on_ceiling(): y_velo=GRAVITY you are welcome ;)
@1nd0Aryan
@1nd0Aryan 3 года назад
what does this do? changes y_velo to gravity when player is on ceiling?
@natew4724
@natew4724 3 года назад
Video Starts at 0:00
@edit3891
@edit3891 3 года назад
Thanks.
@ambotlang1810
@ambotlang1810 5 лет назад
wow!, Very helpful video.... :) Thanks a lot sir....
@NICK....
@NICK.... 4 года назад
Too slow I had to watch this at 2x speed
@GzheGzheGzhe
@GzheGzheGzhe 3 года назад
bruh i had to put it in editor and speed it up by 800%
@NICK....
@NICK.... 3 года назад
@@GzheGzheGzhe I had to plug my brain directly into the internet so I could absorb information at the speed of light
@GzheGzheGzhe
@GzheGzheGzhe 3 года назад
@@NICK.... bruh why so slow, i've time traveled while watching this video just to make it faster
@NICK....
@NICK.... 3 года назад
@@GzheGzheGzhe Well I watched this video 10 times before the big bang
@GzheGzheGzhe
@GzheGzheGzhe 3 года назад
@@NICK.... Sadly, I cant watch any faster, you won, :medal: !
@simonallen3794
@simonallen3794 5 лет назад
lovely stuff
@gronolagames
@gronolagames 8 месяцев назад
Thank you!
@6Empress9
@6Empress9 3 года назад
how to fix this broo plssssss help mee:Attempt to call function 'Is_playing'in base 'null instance'on a null instance
@nbtwall7287
@nbtwall7287 2 года назад
very good video thank you 👍
@fanartzone928
@fanartzone928 3 года назад
hi. can you explain please (i cant hear clearly) what does Vector2(0, -1) stand for in move_and_sle(Vector2(move_dir ^ MOVE_SPEED, y_velo), Vector2(0, -1)) ? please.
@9hoot789
@9hoot789 Год назад
I'm going to assume you figured it out by now but for future people seeing this comment, the second argument of move_and_slide() takes a Vector2 as the "up_direction". On the y-axis in Godot, up is negative and down is positive, so Vector2(0,-1) represents a point directly 1 above the center of the y-axis, aka upward. The move_and_slide function uses whatever up_direction you give it to determine the walls, ceiling, and floor (if there are any) upon collision with them. Vector2(0,-1) means that the ceiling is physically upward: (0,-1), the walls are to the left: (-1,0) and right: (1,0), and the floor is downward: (0,1). If it were instead given Vector2(0,0), then all directions: (1,0),(-1,0),(0,1),(0,-1) would be considered walls (useful for top-down games). The reason move_and_slide requires you to supply an up_direction in the first place is so that it can correctly return the values of is_on_floor(), is_on_wall(), and is_on_ceiling() depending on what it is currently colliding with. also, for future reference, you can check the Godot documentation for any questions you might have about certain functions, methods, nodes, etc. first to see if it has whatever answers you're looking for (it's really useful). Hope this helps!
@ollo9512
@ollo9512 5 лет назад
If the player comes against the Area2D, he triggers nothing
@DANiel25178
@DANiel25178 4 года назад
who is here after tutorial tutorial?
@drakewahl7609
@drakewahl7609 4 года назад
It doesn't work. Whenever I test the game, it's just frozen. Nothing happens and I can't do anything.
@Kegisi06
@Kegisi06 4 года назад
make sure the script is attached to your kinematic body. You might have attached it to the sprite instead.
@turi5959
@turi5959 3 года назад
tried following this tutorial dont know if it's because im on a later version of godot but the keys just dont seem to appear on the sprite node when I want to animate (like at 3:44 on the right side) I've gone back several times through the video to figure out where I went wrong but I cant pinpoint anything :(
@malecithemis2352
@malecithemis2352 3 года назад
i had this problem too but i found out that at the bottom of the screen you're supposed to select animation instead of texture region.
@turi5959
@turi5959 3 года назад
@@malecithemis2352 Yes I think I ended up doing that and it worked. Thanks!
@gravitowl
@gravitowl 4 года назад
Ehm, my character falls straight through the level. I checked all collision shapes and they should work...
@Alche_mist
@Alche_mist 3 года назад
It might be too late, but were the collision shapes (including the tiles) all on the same collision layer?
@gravitowl
@gravitowl 3 года назад
@@Alche_mist fixed it a while ago thanks anyway
@candyland8288
@candyland8288 3 года назад
this guy literally speed ran making a game
@thebesttoeverexist
@thebesttoeverexist 5 лет назад
is_playing() is a non-existent function?
@Miziziziz
@Miziziziz 5 лет назад
Got changed in 3.1 to just .playing
@kotobm1148
@kotobm1148 5 лет назад
Nice!
@lmao1660
@lmao1660 3 года назад
Anyone got any idea how can you make an ending?
@theochasid8996
@theochasid8996 5 лет назад
Fast o-o
@Mrpaul20
@Mrpaul20 4 года назад
wonderfull u r my king
@MaoDev
@MaoDev 3 года назад
are you speedrunning godot
@zainsagar
@zainsagar 5 лет назад
func play_anim(anim_name): .. this was your own made function . Can I find any godot api to under for more clearly. Thanks for making such awesome video
@_tsu_
@_tsu_ 4 года назад
dude the function is not in any API he just defined it in front of your eyes
@ammyvl1
@ammyvl1 4 года назад
Why is the region 64x64 but the collider is 32x32?
@Fizmox
@Fizmox 4 года назад
The extends is 32 both ways that's 32 x 2 = 64
@ammyvl1
@ammyvl1 4 года назад
@@Fizmox Thank you
@halobread
@halobread 3 года назад
how do i make so i dont instantly jump to maximum
@6Empress9
@6Empress9 3 года назад
Attempt to call function 'Is_playing'in base 'null instance'on a null instance helpp plss i want fix it
@maorivirs8752
@maorivirs8752 3 года назад
It heppened to me too. Did you fix it?
@ogduni9560
@ogduni9560 4 года назад
cool.... but when i try to use this code it doesent work :( ---> move_and_slide(Vector2(move_dir * MOVE_SPEED, y_velo), Vector2(0, -1))
@flighter2007
@flighter2007 4 года назад
I'm making a game in Godot. It is a 2D platformer and I'm trying to add moveable boxes that you can jump onto. The problem is that I can't find a tutorial that shows me and I can't find any code for it on RU-vid. If you know of any tutorials or code, could you let me know?
@SideshowFras
@SideshowFras 4 года назад
Game Endeavor has a great set of tutorials for 2D platformers in Godot. This one should help you out: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-mBNa8LcAsns.html
@6Empress9
@6Empress9 3 года назад
bro plss help me its showing (DEBUG) and i dont have player ):
@dlocks9592
@dlocks9592 5 лет назад
thx (BRO) who want make some game now!!!
@crystuim738
@crystuim738 3 года назад
THERES NO ADD NODE WTF
@Mars-cs6bw
@Mars-cs6bw Год назад
where do i find platorm png's?
@amitakanawaje253
@amitakanawaje253 4 года назад
What is error null instance pls help
@user-zm4of9gt1t
@user-zm4of9gt1t 4 года назад
came from your latest video :)
@firedogex
@firedogex 2 года назад
you said it ends on 10:00.... WHY DOES IT ENDS ON 9:58
@gd7681
@gd7681 4 года назад
4:02 Why does clicking on the timeline do nothing for me. The position indicator stays at the beginning. I’ve tried clicking everywhere.
@gd7681
@gd7681 4 года назад
Even manually changing the numerical value for animation position doesn’t work - the indicator doesn’t move.
@FusionJBR
@FusionJBR 4 года назад
@@gd7681 did you ever figure it out? it does nothing for me either :(
@FusionJBR
@FusionJBR 4 года назад
@@gd7681 Wait I figured it out! It's because you are zoomed in too far on the timeline at 0.01 instead of 0.1.