No video

2D Platformer Quick Start Guide ~ Godot 4 GameDev Tutorial for Beginners

  Рет қаралды 240,194

Chris' Tutorials

Chris' Tutorials

Күн бұрын

This quick start guide shows how to handle character movement, animations, tilemap setup, physics collisions, and smooth camera for sidescrolling pixel art games in Godot 4
Download Project ➣ ko-fi.com/post...
Also on Patreon ➣ / godot-4-quick-80723131
Art Pack ➣ anokolisa.itch...
Platformer Tutorial Part 2 • State Machine Setup fo...
Platformer Tutorial Part 3 (Final) • 2D Platformer Attacks ...
➣ Downloadable Assets, Video Courses, and Other Places to Follow Me
linktr.ee/Chri...
ko-fi.com/chri...
chris-tutorial...
00:00 - What to Expect
00:29 - Create Godot 4 Project
01:29 - Interface Overview
01:52 - Importing Art
02:42 - New Level Scene
03:09 - Tileset Setup
04:21 - Tile Collision Physics
06:56 - Drawing Tiles on Tilemap
09:51 - Project Settings for Small Pixel Art
10:56 - Created a Player Scene
15:08 - CharacterBody2D Script Template
16:59 - Export Variables
19:02 - Lowering gravity
19:43 - Define Main Scene
20:34 - Setup Custom Keyboard Actions
22:45 - Double Jump Code
26:55 - Smooth Follow Camera2D
29:30 - Player Animations
33:50 - Animation Offset Fix
34:29 - Animation Switching Logic in Code
40:10 - Flipping Character Direction
41:47 - Switching to Jump Animations
44:46 - OnAnimationFinished Signal
45:48 - Stop Movement During Landing
47:32 - Jump Loop Animation
50:31 - Double Jump Animation
54:00 - Adjust Player Sprite Y-Offset
54:45 - Next Steps

Пікірлер: 281
@ChrisTutorialsYT
@ChrisTutorialsYT Жыл бұрын
People have been asking for more Godot 4 content. Give me a like if this is your thing and you want more of it. Cheers guys.
@KRETINStudio
@KRETINStudio Жыл бұрын
BIG LIKE!
@bryceforsythe8072
@bryceforsythe8072 Жыл бұрын
Its how I found you channel and seems to be a much larger pull for viewers than your unity content. You have a nice pace and explain things well, but unity has reached market saturation for tutorials (at least in comparison to godot)
@ChrisTutorialsYT
@ChrisTutorialsYT Жыл бұрын
@@bryceforsythe8072 Yeah I'm definitely noticing that too. There's a lot more gaps in how to's for Godot but Unity is very mature software at this point (not that there's nothing new - The official aseprite to unity art importer package is pretty slick for instance)
@sweetgeorgiebrown6143
@sweetgeorgiebrown6143 Жыл бұрын
liked and subscribed for more godot
@ironsalvo109
@ironsalvo109 Жыл бұрын
those are really helpful! With godot 4 update some things changed and as a beginner it became harder to follow old tutorials
@NicholasKJ
@NicholasKJ 11 ай бұрын
9:53 For anyone following this tutorial, you should NOT set the window scale to 4x. This will cause many more problems down the road including difficulties with UI scaling and positioning. Instead, on your scene camera, set the zoom to 4x. You will still get that zoomed in look for your camera while being able to accurately configure your UI and other objects.
@ornld
@ornld 11 ай бұрын
You're a wizard, thanks for the tip!
@AhLottaAntwan
@AhLottaAntwan 11 ай бұрын
how would i go about doing that? where is the zoom camera located?
@depepf3514
@depepf3514 11 ай бұрын
@@AhLottaAntwan it'll be the Camera2D that you add to the scene (around 27:30 in the video)
@HippocritterXD
@HippocritterXD 10 ай бұрын
Thanks for the tip 👍
@empty_abyss
@empty_abyss 10 ай бұрын
bro, you saved me, I was already getting mad because the character was walking so strangely
@Anokolisa
@Anokolisa Жыл бұрын
hey, thanks a lot for the support using my assets, hope it will be useful for everyone, I want to add new things to these assets, so that it has all the essentials for creating a complete game, so any feedback is very welcome as well as suggestions
@williammally4304
@williammally4304 Жыл бұрын
If you are the true creator of the assets your comment needs to be favorited by the video uploader to give you credit.
@jayrent98
@jayrent98 Жыл бұрын
i like the art style you have used in your assets. What program did you use to design them?
@cool_guy042
@cool_guy042 Жыл бұрын
dude the assets look great, keep up the great work :D
@mariafabiola4852
@mariafabiola4852 Жыл бұрын
hii, i study graphic design in Venezuela, we were learning the basics on how to animate a videogame and we used your assets too ❤ they're beautiful
@MR.cat_el_1st
@MR.cat_el_1st Жыл бұрын
@@jayrent98 if your looking for a program there is one in your browser that good for pixel art its called losepc
@inconsistent_dg
@inconsistent_dg Жыл бұрын
there were some parts in the video where you messed up code, or said you were going to select/do one thing but one second later choose another (e.g. 31:50, start by saying jump all then do jump start) instead of leaving both takes in (an "incorrect" take that you redo later) i think it would be easier to follow if you cut that part out entirely. and then, you change your mind and put it jump_air in jump_start. for someone who likes to pause step by step, this can get a little annoying, and it would be best if you did a practice take, take notes for what you want done already, then do them so you don't get stumbled in your release video. but either way, glad you are making tutorials for godot 4! can get very confusing at times, with it being a new major release and all.
@chelsiekristyn589
@chelsiekristyn589 Жыл бұрын
I absolutely love you. You're seriously the best godot tutorial homie out there. Could you go over attacking as the player, and adding the enemies (especially the enemies attacking) and how to code the player getting hit? HONESTLY LITERALLY JUST ANY GODOT TUTORIAL YOU CAN PROVIDE I'D BE SO GRATEFUL FOR LOVE YOU MAN.
@ChrisTutorialsYT
@ChrisTutorialsYT Жыл бұрын
Yeah I'd like to do something like attacks and enemies next as a follow up to this video. Will have to see how time works out next week or two.
@williammally4304
@williammally4304 Жыл бұрын
In case anyone is having trouble with the character not showing up in the scene when done editing collision mask, look at the player tab and see if it has a (*) next to it, he didn't mention it in the video, but you need to save it, I have windows so I hit Ctrl + s
@aras886
@aras886 Жыл бұрын
Thank you so much
@boomboom6410
@boomboom6410 Жыл бұрын
THANK GOD!!! I was bouta self destruct before this!
@bobbyjones-uv5cn
@bobbyjones-uv5cn 10 ай бұрын
Thank you, almost freaked out lol
@vcoder2025
@vcoder2025 Жыл бұрын
right now I was watching your Godot 3 tutorial of 2D platformer because I hadn't any other choice and It was the best I found but finally you made the Godot 4 tutorial I really needed
@ryanonfire3504
@ryanonfire3504 8 ай бұрын
Thanks for the tutorial. Have played games for almost 40 years, worked in IT for 24 years, and finally making a start on making my own games. Some really useful tips in there that the Godot tutorial docs didn't include.
@sean7221
@sean7221 Жыл бұрын
Very good Godot 4 teacher! Looking forward to seeing more videos!
@retroblastedgames
@retroblastedgames Жыл бұрын
Amazing! Took me about two hours to get through this entire tutorial with zero coding knowkedge. I was even able to adapt everything to different assets and figured out the changes along the way.
@GamerJrdn
@GamerJrdn Ай бұрын
I already have Unity experience so I was able to follow along, thanks for the tutorial, it was a big help!
@jakes-dev1337
@jakes-dev1337 3 ай бұрын
NOBODY else has been able to teach me the camera smoothing trick! thanks so much! sharing with my subs.
@Diamnds10
@Diamnds10 Жыл бұрын
Great tutorial, found it very helpful. The editing was a little choppy in some parts though, particularly in the Player Animations segment, where you'd say one thing, cut and rewind 10 seconds, and do something else. A little bit confusing to follow but otherwise everything was very well explained. One question: what's the purpose of getting the direction as a vector (including the Y component) if we're only interested in the X component? Is that to handle vertical movements later down the line, such as climbing ladders or something?
@Kazzildo
@Kazzildo Жыл бұрын
Thank you very much for this Quick Start! I feel I wasted so much time with Unity, and Godot seems to be the way to go now. There's still so much to learn for us beginners, though. I'm so used with javascript and C# stuff, like ending every instruction with a ";" and also the indentation being part of the syntax to the point it results in compilation errors. So much new stuff to tangle with. I'll be following you for more examples. Thanks, once again.
@cristophermoreno2290
@cristophermoreno2290 9 ай бұрын
Even though the tutorial is not perfect. I REALLY appreciate the fact Chris is doing all of this for free. Thank you, for this tutorial.
@user-qk9kl4tq1e
@user-qk9kl4tq1e Жыл бұрын
Love that you took comments and improved the code with changes!
@enderremieenderman
@enderremieenderman Жыл бұрын
Yo Chris YOU CANT UNDERSTAND HOW THANKFULL I AM THANK YOU!!!!!! just the right tutorial i needed litterley been 2 days searching and this tutorial is the right one!
@pietraderdetective8953
@pietraderdetective8953 Жыл бұрын
Keep it coming! I've been holding back learning Godot to wait for tutorials for Godot 4.
@Characu
@Characu 11 ай бұрын
yes, now this video is relevant because of what unity has done
@strawberrybutton44
@strawberrybutton44 Жыл бұрын
Just what I needed!!! Thank you so much Chris! Super helpful stuff.
@Jixzl
@Jixzl 8 ай бұрын
11:01 To create child node, instead of right clicking each time, just highlight the node you want to create child from and press the + below the Scene tab.
@bananagamer-ep6ku
@bananagamer-ep6ku 9 ай бұрын
26:03 extends CharacterBody2D @export var speed : float = 200.0 @export var jump_velocity : float = -150.0 @export var double_jump : float = -100 # Get the gravity from the project settings to be synced with RigidBody nodes. var gravity = ProjectSettings.get_setting("physics/2d/default_gravity") var has_double_jumped : bool = false func _physics_process(delta): # Add the gravity. if not is_on_floor(): velocity.y += gravity * delta else: has_double_jumped = false # Handle Jump. if Input.is_action_just_pressed("jump"): if is_on_floor(): #normal jump fro floor velocity.y = jump_velocity elif not has_double_jumped: #double_jump in air velocity.y = double_jump has_double_jumped = true # Get the input direction and handle the movement/deceleration. # As good practice, you should replace UI actions with custom gameplay actions. var direction = Input.get_axis("left","right") if direction: velocity.x = direction * speed else: velocity.x = move_toward(velocity.x, 0, speed) move_and_slide()
@ihaventthoughtofausernamey3398
@ihaventthoughtofausernamey3398 8 ай бұрын
thanks
@popstarkirby1993
@popstarkirby1993 Жыл бұрын
I had a fun little challenge, where I had to tweak the code a bit for the jumping animation, because I was using a different asset pack.
@NickSBailey
@NickSBailey 11 ай бұрын
great, the best tutorial on this I've found. Moves along at a good pace covering lots while still easy to follow, much appreciated
@AndreaDoimo
@AndreaDoimo Жыл бұрын
Clear and detailed. Thank you!
@TheAnonymousLemur
@TheAnonymousLemur 6 ай бұрын
So a couple comments. For the camera. You can attach a camera to the Player scene. Which will make it follow you automatically, and if you want smooth movement, so it's not just ON you all the time. You would enable "Position Smoothing" in the properties. Then change the speed to fit your style. Lower numbers mean the camera is less centered on the player while moving.
@hamzahichmine7084
@hamzahichmine7084 6 ай бұрын
Bro keep going. Do not stop. Any new lesson. We get more understanding
@UwUBrick
@UwUBrick Жыл бұрын
even if i copy paste your code every time i hit the floor i get stuck unable to move left or right unless i jump and i can't double jump
@bolow
@bolow Жыл бұрын
The find and replace shortcut for Mac is Cmd+Option+F
@WormPimple
@WormPimple Жыл бұрын
This was a great and helpful tutorial for my first time using Godot! Thank you for making this!
@Charliedarlingbird
@Charliedarlingbird 2 ай бұрын
I honestly think this is a better method for coding the player animations for a small scale 2D platform than a Unity Style node animation state controller. I feel like you dont need that type of detail until you get to an open world RPG in 3D. This is less cumbersome and less prone to error by missing a checkbox somewhere. Great video
@Klioshas
@Klioshas Жыл бұрын
Thanks for doing these tutorials in Godot 4. Would also be very interested to see some advanced techniques for proceduraly generating levels or something like that.
@DelNiceBeto
@DelNiceBeto 10 ай бұрын
at 39:42 i get "Standalone lambdas cannot be accessed. Consider assigning it to a variable." error on line 45. how should i resolve this? ive followed everything exactly. did godot change their scripting? edit: solved it, make you indent things properly
@cvg1399
@cvg1399 11 ай бұрын
a big thanks for sharing this free, it save me a lot of effort and time to learn some stuff i didn't knew in godot
@Stardrop-bi8fc
@Stardrop-bi8fc Жыл бұрын
Thanks Man keep these tutorials going!!
@ahmedkhabar
@ahmedkhabar Жыл бұрын
Hi, Thanks for This video, there is a great way to add jumping and falling animation to the player with velocity.y value, if velocity.y < 0 Then the character is jumping, and if velocity.y > 0 Then the character is falling.
@nikosgewrgiou338
@nikosgewrgiou338 10 ай бұрын
The best tutorial i have watched so far. Fast, simple and crystal clear with instant progress. Thank you very much, u earned like & subscribe :)
@drakebravo
@drakebravo Жыл бұрын
followed exactly step by step. when character hits the ground it stays on the last frame of jump end doest go to idle or run. was something left out?
@neutraljump
@neutraljump 8 ай бұрын
Hey man, thanks for the tutorial! You managed to open up many little questions I had studying the documentation by myself. Reading is hard.
@jakeyounan2980
@jakeyounan2980 Жыл бұрын
u r the Godoat
@robertocatunda9853
@robertocatunda9853 Жыл бұрын
What you can do is create: # checks if the obj/Node is on ground # if so, unlocks the flags (in_air & animation_locked) ~func is_on_ground(): ~ in_air = false ~ animation_locked = false This way, the animation stops at the same time the Player touches the ground TY for the tutorial, I was kinda MEH on learning Game Dev, it really helped me to continue this journey.
@MrPANICbutton
@MrPANICbutton 11 ай бұрын
Big thank you.. I've been searching for issue related to camera 2d position smoothing. Your video explained it clearly.
@3DMCreations
@3DMCreations Жыл бұрын
Thanks so much, bro. We have explined so much in just a little time. I loved!
@davidagiel8130
@davidagiel8130 7 ай бұрын
I want to make my own sprites and tile sets before working out programming, but this tutorial is excellent
@TheWildSimmy
@TheWildSimmy Жыл бұрын
Appreciate the tutorial - a lot of great info here...will definitely keep watching more of your Godot 4 content!! Many thanks 🤙
@jonathanbernardi4306
@jonathanbernardi4306 Жыл бұрын
Masterful, thanks a lot Chris, really appreciated. Much success to you brother.
@joooooooooooooon
@joooooooooooooon 7 ай бұрын
Great video. Thanks, Chris. Adding the section on the double jump confused me a bit in the later sections where you are chaining together animation logic. Had to rewatch a couple times but sorted it out.
@kirbyeatsbomberman
@kirbyeatsbomberman 7 ай бұрын
At 5:35 I was trying to figure out where the Tile physics section and stuff was. Turns out it's been moved, now you have to right click the tilemap node and go in Sub-Resources to get to the tileset properties.
@3EP0
@3EP0 2 ай бұрын
It's no longer there, I cannot find anything. Whenever I want to learn blender, photoshop, any game dev engine or programing language the UI and functionality changes making all the older good guides useless, because the developers are complete morons who cannot stick to one design. (sorry for yapping)
@mittens2201ca
@mittens2201ca Жыл бұрын
Really good! But you should speak at 0.75x speed!
@hellblazer8543
@hellblazer8543 Жыл бұрын
damn , the TileMap for Godot4 is
@siliconhawk9293
@siliconhawk9293 10 ай бұрын
who else is here after the entire unity debacle got interesting is game engines and now want to learn how to use godot
@jellifygirl
@jellifygirl 10 ай бұрын
Kinda? I'd already learnt unity for school, but couldn't do anything of my own because I don't have a PC so it was really dull... But when unity decided to explode its userbase and everyone was suddenly talking about Godot, I found out there's an android version that can do the same stuff as PC, and NEVER have I been more excited to learn a game engine (while using the worst control scheme imaginable)💥💥💥
@moe9062
@moe9062 Жыл бұрын
Amazing! Thank you so much!!
@aneerudh1712
@aneerudh1712 Жыл бұрын
Thank you so much!! Good wishes
@antonbulatao1737
@antonbulatao1737 Жыл бұрын
I've done everything up to 39:00 correctly, but I'm still getting the "Standalone lambdas cannot be accessed. Consider assigning it to a variable." error for line 45. can anyone explain why?
@poorbob6194
@poorbob6194 8 ай бұрын
your function is indented. it shouldn't have any indentation
@stimulatesenses6014
@stimulatesenses6014 Жыл бұрын
swear to god i did this the same in unity and i tryed to figuer it out months and didnt had any results but damn u did it bro thx man kinda understood need to do it more often godot feels better then unity
@enderremieenderman
@enderremieenderman Жыл бұрын
yeah and the tutorials are more beginner freindly then Unity
@AmmarAwan-oc1uc
@AmmarAwan-oc1uc 2 ай бұрын
Great tutorial .Please do attack animation tutorial .Its a request .Thanks 1 Performing an attack while jumping. 2 Executing an attack while running.
@miguelmejia951
@miguelmejia951 5 ай бұрын
pretty nice tutorial, hope my will makes me use this as an inspiration for my own megaman x9 XD
@TheAnonymousLemur
@TheAnonymousLemur 6 ай бұрын
Note, if you click and drag something from the Hierarchy, to the script, and before letting go of the mouse button, you hold CTRL and then let go. It'll create the OnReady var for you.
@kevincabral6423
@kevincabral6423 8 ай бұрын
just before the 15 minute mark after adding the collision and we move the player above the ground. when I run scene my player just glides off the map with no ability to move the character on my own with wasd why might this be happening?
@kevincabral6423
@kevincabral6423 8 ай бұрын
fixed it turns out my x56 hotas flight stick and thrust module was being picked up instead of keyboard. incase anyone had the same issue
@rokveznaver8418
@rokveznaver8418 Жыл бұрын
Really great tutorial, would love to see more of Godot 4 :D
@boywithearing
@boywithearing Жыл бұрын
Super helpful. The only thing that bugged me was you switched your syntax in your conditionals when you started using parentheses in the _on_animated_sprite_2d_animation_finished function. Had my OCD going crazy
@thissmellsokay
@thissmellsokay 6 ай бұрын
Does anyone know why there's no basic movement template available for me like at 15:50 ? Edit: Nevermind I wasn't highlighting "player" I was highlighting "collisionshape2D" 😅
@denkozlov4220
@denkozlov4220 9 ай бұрын
Awesome tutorial! I've learnt a lot!
@kardrasa
@kardrasa Жыл бұрын
So much useful stuff! This was amazing!
@LordByte
@LordByte Жыл бұрын
Each animation seems to have a different offset. It's hell to build that into the code and the offset only seems to work for the entire animatedSprite2D. I linked it to the facingdirection but there should be something more elegant
@MC-dp8ef
@MC-dp8ef Жыл бұрын
Incredibly useful ! Thank you very much !!
@parallelblack788
@parallelblack788 Жыл бұрын
I'm only halfway through the video right now, so I apologise if this gets answered later, but is there a reason why you use an extra node to make the camera follow the player? Directly attaching the Camera2D node as a child to the CharacterBody2D seems to serve the same function, without the extra node in between.
@christianscholz7326
@christianscholz7326 Жыл бұрын
very good tutorial!
@triatct
@triatct Жыл бұрын
Very helpful. Thanks for your time making this
@Ikea_Shark990
@Ikea_Shark990 14 күн бұрын
Thank you. The double jump code and easy to follow guide to tilemaps were super useful
@jamesdroegemueller2152
@jamesdroegemueller2152 25 күн бұрын
44:46 - So now that I've done this part, my character has completely stopped doing any animation and is now perpetually stuck repeating the land animation, even though it shouldn't be repeating at all. It's not even starting with the idle animation, it goes straight to land animation.
@inglesdecarreira
@inglesdecarreira Жыл бұрын
Absolutely fantastic!
@dzmitrypadrig4037
@dzmitrypadrig4037 Жыл бұрын
Awesome tutorial. Thank you!
@m4theussszz
@m4theussszz 9 ай бұрын
guys i need help even tho i followed all of chris' steps, my character sprite looks jittery / shaky :/ anyone knows how to solve it? edit: fixed it (i dont remember how i did it tho)
@jamieadams4310
@jamieadams4310 Жыл бұрын
Love your tutorial! Just recently got into Godot and am having an issue with left and right not working. I've got everything identical as you, but for some reason, I cannot move left or right. I'm using 4.1.1 direction = Input.get_vector("left", "right", "up", "down") if direction.x != 0 && animated_sprite.animation != "jump_end": velocity.x = direction.x * speed else: velocity.x = move_toward(velocity.x, 0, speed)
@jamieadams4310
@jamieadams4310 Жыл бұрын
It was working fine before changing it to a vector. Everything else works.
@sabarishn4790
@sabarishn4790 Жыл бұрын
Thanks man that was really really helpful. I'm new to Godot & game dev. I chose godot because it's open source. Then I got into it, every tutorial i watched was in the previous version of godot.. so i got stuck. So thanks man
@bonsaipropaganda
@bonsaipropaganda Жыл бұрын
im so happy to see a tutorial in godot 4 stable version!!! will your older tutorials for godot 4 work even though some of them are before stable?
@BBones541
@BBones541 3 ай бұрын
You are the fuckin GOAT my guy! Thank you for this!
@Asonc1
@Asonc1 7 ай бұрын
48:27 you can loop it by copying (ctrl+c) then (ctrl+v) the frames in reverse, like CTRL C frame 5 , paste it, CTRL C frame 4, paste , and on, it went smooth for me :D
@gummansgubbe6225
@gummansgubbe6225 4 ай бұрын
Super video!
@AgustinMCMLXXVI
@AgustinMCMLXXVI 9 ай бұрын
Such a great tutorial!!!
@truenincillo805
@truenincillo805 6 ай бұрын
Hello, I have 1 question, I have merged (jump) + (swim) but I can only swim by pressing the button with a limit of 1, how can I swim without limit and pressed, pressing the button without removing the (jump)
@Onyaneeze
@Onyaneeze Жыл бұрын
Thank you chris!
@Logikiel
@Logikiel Жыл бұрын
I dont fully understand whats going on during 47:02 "stop movement during landing". But i am amazed at how you know how to fix and make it all work together.
@Shobbz_
@Shobbz_ 10 ай бұрын
While doing the last part my character got stuck and dont move at all please help
@NestPavel
@NestPavel Жыл бұрын
amazing tutorial, thank you!
@niy._.
@niy._. Жыл бұрын
this was so helpful thanks a ton
@Candylectric
@Candylectric Жыл бұрын
I followed the instructions for the animation changes pretty thoroughly and checked several times, but instead of playing the jump_start animation when first jumping and then the jump_end animation when landing, it just repeatedly plays the jump_end animation. I think the jump_end animation might be somehow overriding the jump_start animation but I don't see a way how. I've also turned off looping for them both.
@aKeyLime
@aKeyLime Жыл бұрын
I had the same problem. If you haven't found a solution already, what worked for me was changing Chris' line 24 (at 50:10 in the video) from "if was_in_air == true" to "if was_in_air == true && is_on_floor() == true". Hope this helps!
@zero102321
@zero102321 10 ай бұрын
I've same problem. Did you find any solution ?
@zero102321
@zero102321 10 ай бұрын
I found the solution. The problem is when the player drop to the ground, it's going to check "Collision Layer/Collision Mask" again and again. The solution is selected "collisionShap2D rectangle". So you need to change sharp from " RectangleShape2D " to " CapsuleShape2D ". Hope this help !!!
@Spidey-ek4sy
@Spidey-ek4sy 9 ай бұрын
I was having the same issue and just finished the video, and I'm not entirely sure what fixed it as I've ruled out the added array in the "_on_animated_sprite_2d_animation_finished():" as well as the other replies here. My best guess is the added jump_loop in the update_animation() function
@erikegeland2724
@erikegeland2724 6 ай бұрын
I had the same problem aaaaand it took me quite a while to figure out what was wrong. For some odd reason it wouldn't fire the "jump_end" animation and the character was locked mid air, i.e could only jump upwards. The compiler didn't throw any errors either, so it was not entirely evident what was going on. In my case it was because of wrong indentation in the _physics_process(delta) function and a missing "else:" in the update_animation function. Moral of the story is - if it's not working, compare your code to the script in the downloadable project.
@Nefestl
@Nefestl Жыл бұрын
Very nice man! I don't speak English, but i try understand you)) P.S. Очень классный урок, жаль не говорю на английском:)
@user-co4kh6ww6o
@user-co4kh6ww6o Жыл бұрын
слава украине
@Nefestl
@Nefestl Жыл бұрын
@@user-co4kh6ww6o iq не завезли? Или мой комментарий оскорбил 10-летнего школьника которому промыли пропогандой мозги?
@DomTheTev
@DomTheTev 10 ай бұрын
Hey friends, for anyone asking the question, "Why can't i draw any tiles?!" -chill. Make sure you have the cursor mode on select. No, not the one next to the paint and draw and other stuff. The one up at the top underneath the scene names (assuming you have the default orientation). Happy game making!
@jenyagolovnov7405
@jenyagolovnov7405 Жыл бұрын
Thanks a lot for this!!
@ayod7754
@ayod7754 Ай бұрын
Can you please make a step by step video for a state machine? It feels like such gate kept information.
@pericapikachu6697
@pericapikachu6697 Жыл бұрын
i copy pasted your finished code but for some reason my guy isnt affected by gravity. send help please
@YouSupPop
@YouSupPop Жыл бұрын
Can you make a simple tutorial like endless Runner, some of endless Runner tutorial of godot is outdated, some changes in godot 4 engine, as a beginner its sucks that godot engine changes everything, everytime and I can't keep up
@Jerichoom
@Jerichoom 9 ай бұрын
Great tutorial, my only feedback is it starts nice and easy but the last 3rd is way way too fast, with all the animation logic. Hard to track what your thinking is and then new syntax is just dropped in like it's supposed to be known. Totally newbie here, so for sure I lack the knowledge but the pacing just goes a bit wild. I'll soldier on though, at the moment I'm just doing as you do without having any idea as to 'why' 😊
@TechnoKVofficial
@TechnoKVofficial Жыл бұрын
i'm using godot 4.1.1 and my player keeps jumping without pressing jump. i'm facing it after adding double jump. how do i fix that?
@_nyx_the_killer
@_nyx_the_killer 10 ай бұрын
I'm folowing this tutorial on Godot mobile, i made a Canvas layer and touch screen buttons but only The left and right buttons work, pls i need help ;--; (Sorry, english is not my Native lenguage)
@aierisfrost8447
@aierisfrost8447 11 ай бұрын
its not letting me click the tiles to add phisics to them. Is using an already made texture pack a requirement?
@_nyx_the_killer
@_nyx_the_killer 10 ай бұрын
Can you do a mobile touch screen controls tutorial in godot? (Sorry for any english mistakes)
@HumanPerson_final
@HumanPerson_final 3 ай бұрын
I'm 45 minutes in and feel like I've followed this guide to the letter, but when my character jumps, it seems to skip the jump_start animation and just repeats jump_end for as long as the player is off the ground. The script looks like it's the same as the video, looping animations is turned off for both jump_start and jump_end ... I don't know what is different.
State Machine Setup for 2D Platformer Character ~ Godot 4 GameDev Tutorial
1:06:23
Pool Bed Prank By My Grandpa 😂 #funny
00:47
SKITS
Рет қаралды 18 МЛН
Kind Waiter's Gesture to Homeless Boy #shorts
00:32
I migliori trucchetti di Fabiosa
Рет қаралды 3,9 МЛН
How I learned Unity without following tutorials (Developing 1)
18:11
Game Maker's Toolkit
Рет қаралды 2 МЛН
They made a game about philosophy...
23:19
Real Civil Engineer
Рет қаралды 377 М.
How to make a Video Game - Godot Beginner Tutorial
1:17:12
Brackeys
Рет қаралды 1,6 МЛН
The biggest lie in video games
15:18
AIA
Рет қаралды 1,7 МЛН
Where Do Hyrule's Rivers Go?
30:45
Any Austin
Рет қаралды 1,4 МЛН
I made a game using Godot for the first time
7:35
shawcat
Рет қаралды 1,2 МЛН
How to Make a Good 2D Camera
11:38
Game Maker's Toolkit
Рет қаралды 397 М.
Optimizing my Game so it Runs on a Potato
19:02
Blargis
Рет қаралды 537 М.
I Tried To Beat Minecraft Backwards
18:53
Contraption8or
Рет қаралды 1,1 МЛН
Pool Bed Prank By My Grandpa 😂 #funny
00:47
SKITS
Рет қаралды 18 МЛН