
eBook - ePub
Build a 2D Dungeon Crawler with C++ and SDL2
Build a Complete Dungeon Crawler with C++ and SDL2
- English
- ePUB (mobile friendly)
- Available on iOS & Android
eBook - ePub
Build a 2D Dungeon Crawler with C++ and SDL2
Build a Complete Dungeon Crawler with C++ and SDL2
About this book
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.
Trusted byΒ 375,005 students
Access to over 1.5 million titles for a fair monthly price.
Study more efficiently using our study tools.
Information
Subtopic
Programming GamesIndex
Computer ScienceTable of contents
- Build a 2D Dungeon Crawler with C++ and SDL2
- Build a 2D Dungeon Crawler with C++ and SDL2
- Preface
- Chapter 1 β Setting Up the Foundation: Your First SDL2 Window
- Chapter 2 β Variables, Data Types, and Player Stats
- Chapter 3 β The Game Loop: Rendering Sprites and Handling Input
- Chapter 4 β Control Structures for Game State Management
- Chapter 5 β Arrays and Maps: Representing the Dungeon
- Chapter 6 β Functions and Modular Code: Refactoring the Renderer
- Chapter 7 β Classes and Objects: Enemies and the Player
- Chapter 8 β Inheritance and Polymorphism: Enemy Variety
- Chapter 9 β Pointers and Dynamic Memory: Managing a Dungeon Full of Objects
- Chapter 10 β Collision Detection and Physics for Movement
- Chapter 11 β Combat System: Turn-Based or Real-Time?
- Chapter 12 β Item System: Potions, Weapons, and Inventory
- Chapter 13 β Procedural Generation: Random Dungeon Rooms
- Chapter 14 β File I/O: Saving and Loading the Game
- Chapter 15 β Animations and Visual Polish
- Chapter 16 β Sound Effects and Background Music
- Chapter 17 β Optimization and Debugging Techniques
- Chapter 18 β Putting It All Together: Final Polish and Packaging
Frequently asked questions
Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription
No, books cannot be downloaded as external files, such as PDFs, for use outside of Perlego. However, you can download books within the Perlego app for offline reading on mobile or tablet. Learn how to download books offline
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1.5 million books across 990+ topics, weβve got you covered! Learn about our mission
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more about Read Aloud
Yes! You can use the Perlego app on both iOS and Android devices to read anytime, anywhere β even offline. Perfect for commutes or when youβre on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app
Yes, you can access Build a 2D Dungeon Crawler with C++ and SDL2 by Wren Zielinski in PDF and/or ePUB format, as well as other popular books in Computer Science & Programming Games. We have over 1.5 million books available in our catalogue for you to explore.