Beginning C++ Game Programming: Learn C++ from scratch and get started building your very own games

· Packt Publishing Ltd
7 reviews
Ebook
520
Pages
Tools

About this ebook

Beginner's guide to create exciting desktop gamesKey Features
  • [*] This book offers a fun way to learn modern C++ programming while building exciting 2D games
  • [*] This beginner-friendly guide offers a fast-paced but engaging approach to game development
  • [*] Dive headfirst into building a wide variety of desktop games that gradually increase in complexity
  • [*] It is packed with many suggestions to expand your finished games that will make you think critically, technically, and creatively
Book DescriptionThis book is all about offering you a fun introduction to the world of game programming, C++, and the OpenGL-powered SFML using three fun, fully-playable games. These games are an addictive frantic two-button tapper, a multi-level zombie survival shooter, and a split-screen multiplayer puzzle-platformer. We will start with the very basics of programming, such as variables, loops, and conditions and you will become more skillful with each game as you move through the key C++ topics, such as OOP (Object-Orientated Programming), C++ pointers, and an introduction to the Standard Template Library. While building these games, you will also learn exciting game programming concepts like particle effects, directional sound (spatialization), OpenGL programmable Shaders, spawning thousands of objects, and more. What you will learn
  • [*] Get to know C++ from scratch while simultaneously learning game building
  • [*] Learn the basics of C++, such as variables, loops, and functions to animate game objects, respond to collisions, keep score, play sound effects, and build your first playable game.
  • [*] Use more advanced C++ topics such as classes, inheritance, and references to spawn and control thousands of enemies, shoot with a rapid fire machine gun, and realize random scrolling game-worlds
  • [*] Stretch your C++ knowledge beyond the beginner level and use concepts such as pointers, references, and the Standard Template Library to add features like split-screen coop, immersive directional sound, and custom levels loaded from level-design files
  • [*] Get ready to go and build your own unique games!
Who this book is for

This book is perfect for you if any of the following describes you: You have no C++ programming knowledge whatsoever or need a beginner level refresher course, if you want to learn to build games or just use games as an engaging way to learn C++, if you have aspirations to publish a game one day, perhaps on Steam, or if you just want to have loads of fun and impress friends with your creations.

Beginner's guide to create exciting desktop gamesKey Features [*] This book offers a fun way to learn modern C++ programming while building exciting 2D games [*] This beginner-friendly guide offers a fast-paced but engaging approach to game development [*] Dive headfirst into building a wide vari...

Discover more

Ratings and reviews

7 reviews
Anil Das
November 6, 2021
AÀA BOSS NETWORK
Did you find this helpful?

About the author

John Horton is a programming and gaming enthusiast based in the UK. He has a passion for writing apps, games, books, and blog articles. He is the founder of Game Code School.

John Horton is a programming and gaming enthusiast based in the UK. He has a passion for writing apps, games, books, and blog articles. He is the founder of Game Code School.

Rate this ebook

Tell us what you think.

Reading information

Smartphones and tablets
Install the Google Play Books app for Android and iPad/iPhone. It syncs automatically with your account and allows you to read online or offline wherever you are.
Laptops and computers
You can listen to audiobooks purchased on Google Play using your computer's web browser.
eReaders and other devices
To read on e-ink devices like Kobo eReaders, you'll need to download a file and transfer it to your device. Follow the detailed Help Center instructions to transfer the files to supported eReaders.