Post Content
[[{“value”:”Build a complete top-down action roguelite in Godot 4, from an empty project to a game a stranger can open and play. About 10 hours, 8 chapters, 31 lessons. Most lessons stop for a Your Turn, where you build the next piece yourself before you see mine.
➡️ Try the demo (no account, ~2 min): https://codingquests.io/roguelike?utm_source=freecodecamp&utm_medium=video&utm_campaign=fcc_2d_roguelike&utm_content=description
What you need
– Godot 4.7.2, the standard version (not .NET). Anything from 4.6 on works: https://godotengine.org/download/archive/4.7.2-stable/
– The Assets folder (art and sound, used from lesson 0.1). It comes with the starting project: https://github.com/CodingQuests/2D-Roguelike-Tutorial-youtube/archive/refs/heads/lesson-0.1.zip
– The project at the end of every lesson: https://github.com/CodingQuests/2D-Roguelike-Tutorial-youtube
Each lesson is a branch. Pick the lesson before the one you’re starting, then Code – Download ZIP.
– The finished game, to play first: https://codingquests.itch.io/the-last-forge
– Stuck? Ask in the Discord: https://discord.com/invite/bwmJ7MFTZC
Interactive version of each chapter (same game; you write the code and it gets checked):
Chapter 0, The Plan: https://codingquests.io/roguelike?utm_source=freecodecamp&utm_medium=video&utm_campaign=fcc_2d_roguelike&utm_content=setup
Chapter 1, Make the Player Worth Controlling: https://codingquests.io/roguelike?utm_source=freecodecamp&utm_medium=video&utm_campaign=fcc_2d_roguelike&utm_content=dash
Chapter 2, Make Hitting Something Feel Good: https://codingquests.io/roguelike?utm_source=freecodecamp&utm_medium=video&utm_campaign=fcc_2d_roguelike&utm_content=hitbox
Chapter 3, Make One Room Worth Fighting In: https://codingquests.io/roguelike?utm_source=freecodecamp&utm_medium=video&utm_campaign=fcc_2d_roguelike&utm_content=enemies
Chapter 4, Turn It Into a Run: https://codingquests.io/roguelike?utm_source=freecodecamp&utm_medium=video&utm_campaign=fcc_2d_roguelike&utm_content=dungeon
Chapter 5, Make Every Run Different: https://codingquests.io/roguelike?utm_source=freecodecamp&utm_medium=video&utm_campaign=fcc_2d_roguelike&utm_content=corruption
Chapter 6, Make Them Want Another Run: https://codingquests.io/roguelike?utm_source=freecodecamp&utm_medium=video&utm_campaign=fcc_2d_roguelike&utm_content=death
Chapter 7, Make It Feel Finished: https://codingquests.io/roguelike?utm_source=freecodecamp&utm_medium=video&utm_campaign=fcc_2d_roguelike&utm_content=runloop
What you’ll build: dashing combat with invincibility frames, five enemy types and a boss with a warning tell, random floors of connected rooms, items that combine into builds, corruption that trades power for fragility, shops and a gambling altar, a full run loop, permanent unlocks, a title screen, sound, and an exported game.
❤️ Support for this channel comes from our friends at Scrimba – the coding platform that’s reinvented interactive learning: https://scrimba.com/freecodecamp
Chapters
– 0:00:00 0.1 The whole game, and why we build it backwards
– 0:14:51 Setting up Godot (start building here)
– 0:19:53 1.1 Move and aim
– 0:40:24 1.2 The dash
– 0:49:58 1.3 The frames that make a dodge work
– 1:01:45 1.4 A camera that doesn’t fight you
– 1:16:17 2.1 Something that can be hurt
– 1:27:11 2.2 Who checks whom
– 1:44:37 2.3 Three bugs and no errors
– 1:54:20 2.4 The swing
– 2:15:44 2.5 Make the hit land
– 2:55:25 3.1 One enemy, off one script
– 3:15:39 3.2 Telegraphs: being readable beats being hard
– 3:31:17 3.3 Four enemies from the same base
– 3:57:01 3.4 A boss with a tell
– 4:16:24 3.5 The room knows the fight is over
– 4:36:33 3.6 Debug the game you actually built
– 4:47:07 4.1 A room built in code
– 5:06:17 4.2 Why random rooms are boring
– 5:26:14 4.3 A floor of connected rooms
– 5:50:50 4.4 Knowing where you are
– 6:13:03 5.1 Make it feel like a game
– 6:32:40 5.2 The reward moment
– 6:59:33 5.3 Power that costs you something
– 7:20:22 5.4 Items you own, not stats you bump
– 7:56:33 5.5 Gold, shops and the deal you shouldn’t take
– 8:26:53 6.1 A HUD that shows less
– 8:38:16 6.2 Dying properly
– 8:56:12 6.3 Unlocks that widen, not unlocks that inflate
– 9:08:44 7.1 The shell
– 9:26:42 7.2 Sound is half the game
– 9:45:34 7.3 Finishing it
Credits
Art and sound effects: Kenney (kenney.nl), CC0. Font: Silkscreen by Jason Kottke, SIL Open Font License. Music made for the game by CodingQuests. Code: MIT licence.
Gameplay clips shown briefly for commentary: Minecraft (Mojang Studios), Elden Ring (FromSoftware), The Binding of Isaac: Repentance (Nicalis, Edmund McMillen).
#godot #gamedev #roguelike”}]] Read More freeCodeCamp.org
#frecodecamp