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

Build a Complete Dungeon Crawler with C++ and SDL2By Wren Zielinski
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
Everybody Has a Podcast (Except You)Justin McElroy, Travis McElroy, Griffin McElroy5h 9m4.3 (2.3K)$24 · $0.00
Hands of TimeRebecca Struthers8h 8m4.4 (1.3K)$26 · $0.00
Never Lost AgainBill Kilday10h 1m4.4 (805)$29 · $0.00
How the Internet HappenedBrian McCullough13h 28m4.3 (2.7K)$23 · $0.00
Collected Writings of Nikola TeslaNikola Tesla, Thomas Commerford Martin21h 50m4.3 (1.7K)$1 · $0.00
Just AspireAjai Chowdhry9h 13m4.4 (260)$29 · $0.00
The Little Book of AliensAdam Frank8h 20m4.3 (1.3K)$26 · $0.00
The inventions, researches and writings of Nikola Tesla (Annotated)Thomas Commerford Martin16h 59m4.3 (1.3K)$2 · $0.00
KargilV.P. Malik15h 18m4.3 (2K)$24 · $0.00
Experiments with Alternating CurrentsNikola Tesla9h 16m4.3 (874)$1.99 · $0.00
Fire on the HorizonTom Shroder, John Konrad8h 23m4.3 (858)$26 · $0.00
The Smell of Kerosene (Annotated)National Aeronautics and Space Administration, Donald L. Mallick, Peter W. Merlin11h 32m4.3 (523)$2 · $0.00
The Boy Who Harnessed the WindWilliam Kamkwamba, Bryan Mealer10h 5m4.2 (78.9K)$29 · $0.00
Across the Airless WildsEarl Swift10h 8m4.3 (1.3K)$29 · $0.00
Console WarsBlake J. Harris20h 41m4.2 (13.7K)$46 · $0.00
Improvised Munitions HandbookU.S. Department of Defense4h 49m4.3 (1.6K)$1.99 · $0.00
Escaping GravityLori Garver10h 54m4.2 (2.2K)$20 · $0.00
Wireless WarsJonathan Pelson8h 2m4.3 (418)$20 · $0.00
Let There Be WaterSeth M. Siegel8h 36m4.2 (2.3K)$20 · $0.00
The PerfectionistsSimon Winchester11h 46m4.2 (9.9K)$29 · $0.00

You may also like

Godzilla vs. KongGreg Keyes10h 32m4.3 (1.4K)$20 · $0.00
Hell Divers IV: WolvesNicholas Sansbury Smith9h 24m4.4 (12.6K)$20
Hacks for Minecrafters: Combat EditionMiller, Megan2h 1m4.2 (1.3K)Free
Hell Divers VIII: King of the WastesNicholas Sansbury Smith13h 52m4.5 (4.8K)$23
Hacks for Minecrafters: Command BlocksMiller, Megan1h 25m4.5 (1.2K)Free
The Business of PlatformsMichael A. Cusumano, Annabelle Gawer, David B. Yoffie8h 7m4.1 (692)$26 · $0.00
Conan the Barbarian - The Complete SeriesRobert E. Howard42h 26m4.5 (2K)$2 · $0.00
Red NailsRober E. Howard3h 38m4.2 (3.6K)$2 · $0.00
Clash of the Villains (for Fans of Creepers)Morgan, Winter1h 57m4.5 (541)Free
Empire of the EastFred Saberhagen18h 27m4.0 (2.4K)$28 · $0.00
The Ultimate Unofficial Encyclopedia for MinecraftersMiller, Megan2h 50m4.5 (399)Free
Trouble in Zombie-townCheverton, Mark7h 21m4.5 (883)Free
Hacks for Minecrafters: ModsMiller, Megan1h 34m4.5 (262)Free
Smarter Games with AICurtis Whitlock7h 25m$5 · $0.00
C++ Game Development from the Ground UpLydia Underwood6h 57m$5 · $0.00
C++ for New DevelopersSimon Calderon7h 10m$5 · $0.00
C# for Unity Game ProgrammingWarren Quill7h 3m$5 · $0.00
Forallx - An Introduction to Formal LogicP.D. Magnus5h 23m3.6 (63)$1 · $0.00
Decoding DCFPenelope B. Wellington7h 36m$6.30 · $0.00
Concurrent Python with asyncioLena Iqbal7h 43m$5