Complete 2D Platformer in Godot 4 Tutorial - Zero to Shipped Game for Beginners
Channel: Brett Makes Games
Date: 2023-04-30

This tutorial covers how to make a complete 2D tile-based platformer in Godot 4 from scratch. It covers everything from building levels to exporting and uploading to itch.io. Perfect for those new to game development and Godot.

Play what you'll be building: https://brettchalupa.itch.io/godot-2d-platformer
View the completed source from the video: https://github.com/brettchalupa/godot_2d_platformer/tree/8a776826a6c6af92ff9ad3a4cfd29f344a49a47d
Download the template and make your own platformer: https://github.com/brettchalupa/godot_2d_platformer

Smoother platformer movement in Godotypes: https://github.com/brettchalupa/godotypes/blob/main/devilboy/player.gd

Assets used in the game:
- Sprites: Kenney 1-Bit Platformer Pack (CC0) - https://kenney.nl/assets/1-bit-platformer-pack
- Music: Ted Kerr (CC-BY 4.0) - https://opengameart.org/content/8-bit-theme & https://opengameart.org/content/8-bit-quirky-waltz
- Sound Effects: https://sfxr.me/

Donate as a way to say thank you: https://www.buymeacoffee.com/brettchalupa
Check out my games: https://brettchalupa.itch.io/
Subscribe to my newsletter: https://www.brettchalupa.com/newsletter

Chapters
00:00:00 - Intro
00:00:30 - New Project & Godot Interface Overview
00:03:27 - Our First Scene (Main Menu)
00:08:36 - Adding a Button & Our First Script
00:15:18 - Connecting a Signal
00:17:03 - Adding Level 1 & Switching Scenes
00:23:41 - Checking for Input
00:26:50 - Building a Level with a Tilemap
00:36:13 - Adding a Player & Collisions
00:52:00 - Custom Input Actions
00:54:44 - Player Script Explained
01:01:00 - Camera
01:07:00 - Level 2 & Shared Player Scene
01:16:35 - Making a Todo List
01:19:35 - Switching Levels with Doors
01:35:22 - Sharing Code with Global Autoload Singleton
01:39:39 - Player Animation
01:48:40 - Collectible Gems
02:07:40 - Sharing Level Code Across Levels
02:24:14 - Sharing HUD Across Levels
02:29:13 - Sound Effects
02:39:32 - Music
02:45:40 - Menu Control with Keyboard and Gamepad
02:47:41 - Fullscreen Toggle
02:56:15 - Quit Button
02:59:45 - Custom Icon
03:03:15 - Level 3
03:08:15 - Export and Upload to itch.io
03:20:14 - Outro