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

preview_player
Показать описание
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

➣ Downloadable Assets, Video Courses, and Other Places to Follow Me

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
Рекомендации по теме
Комментарии
Автор

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.

ChrisTutorialsYT
Автор

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

Anokolisa
Автор

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.

NicholasKJ
Автор

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.

inconsistent_dg
Автор

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.

chelsiekristyn
Автор

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

vcoder
Автор

great, the best tutorial on this I've found. Moves along at a good pace covering lots while still easy to follow, much appreciated

NickSBailey
Автор

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.

ryanonfire
Автор

Keep it coming!
I've been holding back learning Godot to wait for tutorials for Godot 4.

pietraderdetective
Автор

Very good Godot 4 teacher! Looking forward to seeing more videos!

sean
Автор

Just what I needed!!! Thank you so much Chris! Super helpful stuff.

strawberrybutton
Автор

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.

retroblastedgames
Автор

This was a great and helpful tutorial for my first time using Godot! Thank you for making this!

WormPimple
Автор

Love that you took comments and improved the code with changes!

qkkltqe
Автор

The best tutorial i have watched so far. Fast, simple and crystal clear with instant progress. Thank you very much, u earned like & subscribe :)

nikosgewrgiou
Автор

Appreciate the tutorial - a lot of great info here...will definitely keep watching more of your Godot 4 content!! Many thanks 🤙

TheWildSimmy
Автор

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

williammally
Автор

Thanks so much, bro. We have explined so much in just a little time. I loved!

DMCreations
Автор

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

cvg
Автор

Yo Chris YOU CANT UNDERSTAND HOW THANKFULL I AM THANK just the right tutorial i needed litterley been 2 days searching and this tutorial is the right one!

enderremieenderman