Let's learn how to make a 2D platformer in Godot.
In this series I won’t just show you the final code. I will also teach you why we do as we do.
We will be creating platforms, moving the player, jumping on enemies and much more.
In this video, we’re diving into 2D platformer movement! We’ll start by adding a few platforms to our level, add basic platformer movement and then add small tweeks like acceleration, input buffering, and coyote time to improve the overall feel of the controls.
Godot 4.4 is finally released, so that is of course the version I’m using in this video.
The project files for this tutorial are, as always, available through selected tiers on Patreon.
Support the channel on Patreon: / makertech
Support the channel with a Youtube membership: / @makertech
Join the Discord server: / discord
Platformer playlist: • How to Create a Platformer in Godot
00:00 intro
00:33 setup
05:04 player script
06:13 move left and right
09:34 animation
12:42 trick 1: acceleration
15:17 jumping
18:53 states
22:49 trick 2: down gravity
23:51 trick 3: jump buffer
26:28 trick 4: coyote time
---------------------------------------------------------------------------------------------------------------------------
Download Godot: https://godotengine.org
"Sunny Land" asset pack: https://ansimuz.itch.io/sunny-land-pi...
move_and_slide: https://docs.godotengine.org/en/stabl...
Input.get_axis: https://docs.godotengine.org/en/stabl...
Timer: https://docs.godotengine.org/en/stabl...
---------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------
Reddit: / makertech
Instagram: / makertech_dk
Bluesky: https://bsky.app/profile/makertech.bs...
Youtube channel: / makertech
---------------------------------------------------------------------------------------------------------------------------
#gamedev #godot #godotengine #godot4 #tutorial #platformer #learntocode #howtomakeagame #gamedev #gamedevelopmentcourse #gamedevelopmentforbeginners