Shopping Cart

Become a Instructor

Beginning C++ Game Programming - Part 1

362 minutes of course content

Review course syllabus

$19.99 (taxes calculated at checkout)

100% money-back guarantee  |  Click here to read more

Share this course:
Facebook Google LinkedIn Pinterest Twitter

Course Description

Learn C++ from scratch and get started building your very own games

About This Video

  • This course offers a fun way to learn modern C++ programming while building exciting 2D games
  • A beginner-friendly guide offering a fast-paced but engaging approach to game development
  • Immerse yourself in building a wide variety of desktop games that gradually increase in complexity

In Detail

This video course 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.

      After taking this course, you will be able to:

      • 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 such as particle effects, directional sound (spatialization), OpenGL programmable Shaders, spawning thousands of objects, and more.

      This course is for professionals within the following business functions:

      • Everyone is welcome in this course.

          1. C++, SFML, Visual Studio, and Starting the First Game - 50 Minutes

            1. The Course Overview
            2. The Games, C++, and SFML
            3. Setting Up the Development Environment
            4. Planning Timber!!! and Creating a Project from the Template
            5. Adding Project Assets and Understanding Co-ordinates
            6. Starting to Code the Game
            7. Opening a Window using SFML
            8. The Main Game Loop
            9. Drawing the Game Background
            10. Handling Errors
          2. Variables, Operators, and Decisions – Animating Sprites - 34 Minutes

            1. C++ Variables
            2. Manipulating Variables
            3. Adding Clouds, a Tree, and a Buzzing Bee
            4. Random Numbers
            5. Making Decisions with if and else
            6. Timing
            7. Moving the Clouds and the Bee
          3. C++ Strings, SFML Time, Player Input, and HUD - 20 Minutes

            1. Pausing and Restarting the Game
            2. C++ Strings, SFML Text, and Font
            3. Adding a Score and a Message
            4. Adding a Time Bar
          4. Loops, Arrays, Switch, Enumerations, and Functions – Implementing Game Mechanics - 32 Minutes

            1. Loops
            2. Arrays
            3. Making Decisions with switch
            4. Class enumerations
            5. Getting Started with Functions
            6. Growing the Branches
          5. Collisions, Sound, and End Conditions – Making the Game Playable - 20 Minutes

            1. Preparing and Drawing the Player and Other Sprites
            2. Handling the Player's Input
            3. Handling Death
            4. Simple Sound FX
            5. Improving the Game and the Code
          6. Object-Oriented Programming, Classes, and SFML Views - 65 Minutes

            1. Planning and Starting the Zombie Arena Game
            2. Object-Oriented Programming
            3. Building Player - The First Class
            4. Controlling the Game Camera with SFML View
            5. Starting the Zombie Arena Game Engine
            6. Managing the Code Files
            7. Starting Coding the Main Game Loop
          7. C ++ References, Sprite Sheets, and Vertex Arrays - 26 Minutes

            1. C++ References
            2. SFML Vertex Arrays and Sprite Sheets
            3. Creating a Randomly Generated Scrolling Background
            4. Using the Background
          8. Pointers, the Standard Template Library, and Texture Management - 55 Minutes

            1. Getting Started with Pointers
            2. Working with Pointers
            3. The Standard Template Library
            4. The TextureHolder Class
            5. Building a Horde of Zombies
            6. Creating a Horde and Bringing It Back to Life
            7. Using the TextureHolder Class for All Textures
          9. Collision Detection, Pickups, and Bullets - 37 Minutes

            1. Coding the Bullet Class
            2. Making the Bullets Fly
            3. Giving the Player a Cross-Hair
            4. Coding a Class for Pickups
            5. Using the Pickup Class
            6. Detecting Collisions
          10. Layering Views and Implementing the HUD - 11 Minutes

            1. Adding All the Text and HUD Objects
            2. Updating the HUD Each Frame
            3. Drawing the HUD, and the Home, and Level-Up Screens
          11. Sound Effects, File I/O, and Finishing the Game - 12 Minutes

            1. Saving and Loading the High-Score
            2. Preparing Sound Effects
            3. Leveling Up
            4. Restarting the Game
            5. Playing the Rest of the Sounds

          About the Expert



          Packt has been committed to developer learning since 2004. A lot has changed in software since then - but Packt has remained responsive to these changes, continuing to look forward at the trends and tools defining the way we work and live. And how to put them to work. With an extensive library of content - more than 4000 books and video courses -Packt's mission is to help developers stay relevant in a rapidly changing world. From new web frameworks and programming languages, to cutting edge data analytics, and DevOps, Packt takes software professionals in every field to what's important to them now. From skills that will help you to develop and future proof your career to immediate solutions to every day tech challenges, Packt is a go-to resource to make you a better, smarter developer. Packt courses continue this tradition, bringing you comprehensive yet concise video courses straight from the experts.
          Read more