Price: $49.99 - $35.61
(as of Dec 08, 2024 22:47:29 UTC – Details)
Get to grips with programming and game development techniques using C++ libraries and Visual Studio 2022 with this updated edition of the bestselling series.
Key Features:
– Create fun games in C++, with this up-to-date guide covering the latest features of C++20 and VS2022
– Build clones of popular games such as a Timberman clone, a Pong game, a Zombie Survival Shooter, and a platform endless runner game
– Discover tips to expand your finished games by thinking critically, technically, and creatively
Book Description:
Always dreamed of creating your own games? With the third edition of Beginning C++ Game Programming, you can turn that dream into reality! This beginner-friendly guide is updated and improved to include the latest features of VS 2022, SFML, and modern C++20 programming techniques. You’ll get a fun introduction to game programming by building four fully playable games of increasing complexity. You’ll build clones of popular games such as Timberman, Pong, a Zombie survival shooter, and an endless runner.
The book starts by covering the basics of programming. You’ll study key C++ topics, such as object-oriented programming (OOP) and C++ pointers and get acquainted with the Standard Template Library (STL). The book helps you learn about collision detection techniques and game physics by building a Pong game. As you build games, you’ll also learn exciting game programming concepts such as vertex arrays, directional sound (spatialization), OpenGL programmable shaders, spawning objects, and much more. You’ll dive deep into game mechanics and implement input handling, levelling up a character, and simple enemy AI. Finally, you’ll explore game design patterns to enhance your C++ game programming skills.
By the end of the book, you’ll have gained the knowledge you need to build your own games with exciting features from scratch.
What You Will Learn:
– Set up your game project in VS 2022 and explore C++ libraries such as SFML
– Build games in C++ from the ground up, including graphics, physics, and input handling
– Implement core game concepts such as game animation, game physics, collision detection, scorekeeping, and game sound
– Implement automatically spawning objects and AI to create rich and engaging experiences
– Learn advanced game development concepts, such as OpenGL shaders, texture atlases, and parallax backgrounds
– Scale and reuse your game code with modern game programming design patterns
Who this book is for:
This book is perfect for you if you have no C++ programming knowledge, you need a beginner-level refresher course, or you want to learn how to build games or just use games as an engaging way to learn C++. Whether you aspire to publish a game (perhaps on Steam) or just want to impress friends with your creations, you’ll find this book useful
From the Publisher
Create your own game
Step into the exciting world of game programming by building four engaging games while learning essential concepts such as variables, operators, decisions, strings, loops, arrays, switch conditions, enumerations, and functions. These hands-on game projects will not only teach you game development techniques but also guide you in making the game playable and truly immersive by adding sound effects and interactive features.
You’ll also explore advanced topics such as sprite sheets, C++ references, pointers, STL, and texture management. Challenge yourself further with GLSL, layering views, HUD implementation, game logic, inter-object communication, graphics, cameras in action, parallax backgrounds, firewalls, and specialization.
This all-encompassing guide does more than just teach C++; it transforms the learning process into an exciting and engaging adventure as you bring your own games to life.
Games to be built
Timber Game
Build a fast-paced clone of the hugely successful Timberman. The game, Timber!!!, will introduce you to the basics of C++ while creating a genuinely playable game.
Pong Game
Learn the fundamentals of game object animation, player input, and collision detection with a simple retro game, exploring classes and OOP concepts.
Zombie Arena Game
Create a fast-paced survival shooter game, where the player battles an ever-growing horde of zombies. This game will heavily utilize object-oriented programming (OOP) principles and explore the capabilities of the SFML View class.
Platform Game
This run game features a photorealistic shader background, parallax scrolling cityscape, spatialized sound, an animated player character, rain effects, music, a pop-up menu, and much more. Best of all, the final game will have a reusable code structure.
Add to Cart
Add to Cart
Customer Reviews
4.4 out of 5 stars
23
4.5 out of 5 stars
147
Published in Year
2024 2019
Versions
Visual Studio 2022 Visual Studio 2019
Latest Features Covered
VS 2022, SFML, and modern C++20 programming techniques with improved graphics, characters, and background. VS 2019, SFML, and modern C++17 programming techniques.
Games Built in this Book
Timberman clone, a Pong game, a Zombie Survival Shooter, and a platform endless runner game. The Coop-puzzle game has been replaced with a fast platformer game. Timberman, Zombie Survival Shooter, a co-op puzzle platformer, and Space Invaders.
Publisher : Packt Publishing; 3rd ed. edition (May 31, 2024)
Language : English
Paperback : 648 pages
ISBN-10 : 1835081746
ISBN-13 : 978-1835081747
Item Weight : 2.44 pounds
Dimensions : 1.22 x 7.5 x 9.25 inches