E-book details

Beginning C++ Game Programming. Learn to program with C++ by building fun games - Second Edition

Beginning C++ Game Programming. Learn to program with C++ by building fun games - Second Edition

John Horton

Ebook
The second edition of Beginning C++ Game Programming is updated and improved to include the latest features of Visual Studio 2019, SFML, and modern C++ programming techniques. With this book, you’ll get a fun introduction to game programming by building five fully playable games of increasing complexity. You’ll learn to build clones of popular games such as Timberman, Pong, a Zombie survival shooter, a coop puzzle platformer and Space Invaders.
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 particle effects, directional sound (spatialization), OpenGL programmable shaders, spawning objects, and much more. 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.
  • 1. C++, SFML, Visual Studio, and Starting the First Game
  • 2. Variables, Operators, and Decisions
  • 3. C++ Strings and SFML Time
  • 4. Loops, Arrays, Switches, Enumerations, and Functions
  • 5. Collisions, Sound, and End Conditions
  • 6. Object-Oriented Programming
  • 7. Dynamic Collision Detection and Physics
  • 8. SFML Views
  • 9. C++ References, Sprite Sheets, and Vertex Arrays
  • 10. Pointers, the Standard Template Library, and Texture Management
  • 11. Collision Detection, Pickups, and Bullets
  • 12. Layering Views and Implementing the HUD
  • 13. Sound E?ects, File I/O, and Finishing the Game
  • 14. Abstraction and Code Management
  • 15. Advanced OOP
  • 16. Building Playable Levels and Collision Detection
  • 17. Sound Spatialization and the HUD
  • 18. Particle Systems and Shaders
  • 19. Game Programming Design Patterns
  • 20. Game Objects and Components
  • 21. File I/O and the Game Object Factory
  • 22. Using Game Objects and Building a Game
  • 23. Before You Go...
  • Title: Beginning C++ Game Programming. Learn to program with C++ by building fun games - Second Edition
  • Author: John Horton
  • Original title: Beginning C++ Game Programming. Learn to program with C++ by building fun games - Second Edition
  • ISBN: 9781838647650, 9781838647650
  • Date of issue: 2019-10-31
  • Format: Ebook
  • Item ID: e_2ayh
  • Publisher: Packt Publishing