Build a 2D Dungeon Crawler with C++ and SDL2

Build a 2D Dungeon Crawler with C++ and SDL2

Build a Complete Dungeon Crawler with C++ and SDL2By Wren Zielinski
Michael Caine
Listen with Sir Michael Caine™ and 1,000+ voices
Length6h 49m

About this audiobook

Build a complete 2D dungeon crawler from scratch with C++ and SDL2. Go from an empty project to a playable game: set up SDL2, build the game loop, render tile maps and sprites, handle input and collisions, add enemies and combat, and ship a finished dungeon crawler. Every chapter builds on the last with clear, working C++ code — ideal for programmers who know the basics and want to learn real game development by building something fun end to end.

Audiobook details

GenreTechnology
Length6 hrs 49 mins
Narrated byListen with 1,000+ voices
FormateBook with Audio
LanguageEnglish

Table of contents

1Preface
2Chapter 1 — Setting Up the Foundation: Your First SDL2 Window
3Chapter 2 — Variables, Data Types, and Player Stats
4Chapter 3 — The Game Loop: Rendering Sprites and Handling Input
5Chapter 4 — Control Structures for Game State Management
Show all chapters
6Chapter 5 — Arrays and Maps: Representing the Dungeon
7Chapter 6 — Functions and Modular Code: Refactoring the Renderer
8Chapter 7 — Classes and Objects: Enemies and the Player
9Chapter 8 — Inheritance and Polymorphism: Enemy Variety
10Chapter 9 — Pointers and Dynamic Memory: Managing a Dungeon Full of Objects
11Chapter 10 — Collision Detection and Physics for Movement
12Chapter 11 — Combat System: Turn-Based or Real-Time?
13Chapter 12 — Item System: Potions, Weapons, and Inventory
14Chapter 13 — Procedural Generation: Random Dungeon Rooms
15Chapter 14 — File I/O: Saving and Loading the Game
16Chapter 15 — Animations and Visual Polish
17Chapter 16 — Sound Effects and Background Music
18Chapter 17 — Optimization and Debugging Techniques
19Chapter 18 — Putting It All Together: Final Polish and Packaging
The Collected Works
The Collected WorksNikola Tesla50h 9m$1 · $0.00
Never Lost Again
Never Lost AgainBill Kilday10h 1m$29 · $0.00
How the Internet Happened
How the Internet HappenedBrian McCullough13h 28m$23 · $0.00
Collected Writings of Nikola Tesla
Collected Writings of Nikola TeslaNikola Tesla, Thomas Commerford Martin21h 50m$1 · $0.00
Just Aspire
Just AspireAjai Chowdhry9h 13m$29 · $0.00
The Little Book of Aliens
The Little Book of AliensAdam Frank8h 20m$26 · $0.00
The inventions, researches and writings of Nikola Tesla (Annotated)
The inventions, researches and writings of Nikola Tesla (Annotated)Thomas Commerford Martin16h 59m$2 · $0.00
Kargil
KargilV.P. Malik15h 18m$24 · $0.00
Fire on the Horizon
Fire on the HorizonTom Shroder, John Konrad8h 23m$26 · $0.00
The Smell of Kerosene (Annotated)
The Smell of Kerosene (Annotated)National Aeronautics and Space Administration, Donald L. Mallick, Peter W. Merlin11h 32m$2 · $0.00
The Boy Who Harnessed the Wind
The Boy Who Harnessed the WindWilliam Kamkwamba, Bryan Mealer10h 5m$29 · $0.00
Mars Rover Curiosity
Mars Rover CuriosityRob Manning, William L. Simon7h 43m$20
Across the Airless Wilds
Across the Airless WildsEarl Swift10h 8m$29 · $0.00
Console Wars
Console WarsBlake J. Harris20h 41m$46 · $0.00
Improvised Munitions Handbook
Improvised Munitions HandbookU.S. Department of Defense4h 38m$2 · $0.00
Escaping Gravity
Escaping GravityLori Garver10h 54m$20 · $0.00
Wireless Wars
Wireless WarsJonathan Pelson8h 2m$20 · $0.00
The Forest Underground
The Forest UndergroundTony Rinaudo6h 22m$17
Atoms and Ashes
Atoms and AshesSerhii Plokhy12h 8m$23
Let There Be Water
Let There Be WaterSeth M. Siegel8h 36m$20 · $0.00

You may also like

Godzilla vs. Kong
Godzilla vs. KongGreg Keyes10h 32m$20 · $0.00
Forallx - An Introduction to Formal Logic
Forallx - An Introduction to Formal LogicP.D. Magnus5h 23m$1 · $0.00
Hell Divers IV: Wolves
Hell Divers IV: WolvesNicholas Sansbury Smith9h 24m$20
The Pool of the Black One
The Pool of the Black OneRobert Ervin Howard1h 16m$2 · $0.00
The armourer and his craft from the XIth to the XVIth century
The armourer and his craft from the XIth to the XVIth centuryCharles John Ffoulkes8h 25m$1 · $0.00
The Pool of The Black One
The Pool of The Black OneRobert E. Howard1h 23m$1
Hacks for Minecrafters: Combat Edition
Hacks for Minecrafters: Combat EditionMiller, Megan2h 1mFree
Hell Divers VIII: King of the Wastes
Hell Divers VIII: King of the WastesNicholas Sansbury Smith13h 52m$23
Hacks for Minecrafters: Command Blocks
Hacks for Minecrafters: Command BlocksMiller, Megan1h 25mFree
The Business of Platforms
The Business of PlatformsMichael A. Cusumano, Annabelle Gawer, David B. Yoffie8h 7m$26 · $0.00
Prompts That Sell: The Power Of Words In Artificial Intelligence
Prompts That Sell: The Power Of Words In Artificial IntelligenceKael Novera50m$7 · $0.00
Forallx - An Introduction to Formal Logic
Forallx - An Introduction to Formal LogicP.D. Magnus6h 2m$2 · $0.00
The Animal Parasites of Man
The Animal Parasites of ManHarold Benjamin Fantham, Max Braun, Fred. V. Theobald, J. W. W. Stephens40h 36m$1 · $0.00
Conan the Barbarian - The Complete Series
Conan the Barbarian - The Complete SeriesRobert E. Howard42h 26m$2 · $0.00
Hacks for Minecrafters: Redstone
Hacks for Minecrafters: RedstoneMiller, Megan1h 13mFree
Red Nails
Red NailsRober E. Howard3h 38m$2 · $0.00
Invention: The Master-key to Progress
Invention: The Master-key to ProgressBradley A. Fiske8h 35m$2 · $0.00
Clash of the Villains (for Fans of Creepers)
Clash of the Villains (for Fans of Creepers)Morgan, Winter1h 57mFree
The Possessed
The PossessedArthur C. Clarke14m$1 · $0.00
The Fantasy Collection of Robert E. Howard (Annotated)
The Fantasy Collection of Robert E. Howard (Annotated)Robert E. Howard70h$2 · $0.00