Giter Site home page Giter Site logo

amaraoussama94 / beginning-cpp-game-programming-second-edition Goto Github PK

View Code? Open in Web Editor NEW

This project forked from packtpublishing/beginning-cpp-game-programming-second-edition

0.0 0.0 0.0 11.85 MB

Beginning C++ Game Programming - Second Edition, published by Packt

License: MIT License

C++ 99.24% GLSL 0.76%

beginning-cpp-game-programming-second-edition's Introduction

Beginning C++ Game Programming - Second Edition

Beginning C++ Game Programming - Second Edition

This is the code repository for Beginning C++ Game Programming - Second Edition, published by Packt.

Learn to program with C++ by building fun games

What is this book about?

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.

This book covers the following exciting features:

  • Set up your game development project in Visual Studio 2019 and explore C++ libraries such as SFML
  • Explore C++ OOP by building a Pong game
  • Understand core game concepts such as game animation, game physics, collision detection, scorekeeping, and game sound
  • Use classes, inheritance, and references to spawn and control thousands of enemies and shoot rapid-fire machine guns
  • Add advanced features to your game using pointers, references, and the STL
  • Scale and reuse your game code by learning modern game programming design patterns

If you feel this book is for you, get your copy today!

https://www.packtpub.com/

Instructions and Navigations

All of the code is organized into folders. For example, Chapter02.

The code will look like the following:

int main()
{
    return 0;
}

Following is what you need for this book: 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.

With the following software and hardware list you can run all code files present in the book (Chapter 1-22).

Software and Hardware List

Chapter Software required OS required
1-22 Visual Studio Community 2019 Windows (Optional: Mac/Linux with proper configuration)
1-22 SFML Windows (Optional: Mac/Linux with proper configuration)

We also provide a PDF file that has color images of the screenshots/diagrams used in this book. Click here to download it.

Errata

  • Page 134 (line 6) Draw the line should be Draw the line (Please note this isn't in BOLD)
  • Page 92 (line 14 from the top) Now draw the insect should be Draw the insect
  • Page 532 (GameObject code block) m_UpdateComponent = new UFOUpdateComponentComponent(); should be m_UpdateComponent = new UFOUpdateComponent();

Related products

Get to Know 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.

Other books by the authors

Suggestions and Feedback

Click here if you have any feedback or suggestions.

Download a free PDF

If you have already purchased a print or Kindle version of this book, you can get a DRM-free PDF version at no cost.
Simply click on the link to claim your free PDF.

https://packt.link/free-ebook/9781838648572

beginning-cpp-game-programming-second-edition's People

Contributors

deepesh-packt avatar githubce avatar packt-itservice avatar packtutkarshr avatar techsachinkumar avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.