Beginning C++ Game Programming - Part 1 [Video]

Beginning C++ Game Programming - Part 1 [Video]

Learning
John Horton

Learn C++ from scratch and get started building your very own games
$106.25
RRP $124.99

Instantly access this course right now and get the skills you need in 2017

With unlimited access to a constantly growing library of over 4,000 eBooks and Videos, a subscription to Mapt gives you everything you need to learn new skills. Cancel anytime.

Free Sample

Video Details

ISBN 139781787284128
Course Length6 hours 6 minutes

Video Description

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.

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.

Style and Approach

This course offers a fun, example-driven approach to learning game development and C++. In addition to explaining game development techniques in an engaging style, the games are built in such a way that the key C++ topics are introduced in a practical (and not theory-based) way, with multiple runnable/playable stages in each section.

Table of Contents

C++, SFML, Visual Studio, and Starting the First Game
The Course Overview
The Games, C++, and SFML
Setting Up the Development Environment
Planning Timber!!! and Creating a Project from the Template
Adding Project Assets and Understanding Co-ordinates
Starting to Code the Game
Opening a Window using SFML
The Main Game Loop
Drawing the Game Background
Handling Errors
Variables, Operators, and Decisions – Animating Sprites
C++ Variables
Manipulating Variables
Adding Clouds, a Tree, and a Buzzing Bee
Random Numbers
Making Decisions with if and else
Timing
Moving the Clouds and the Bee
C++ Strings, SFML Time, Player Input, and HUD
Pausing and Restarting the Game
C++ Strings, SFML Text, and Font
Adding a Score and a Message
Adding a Time Bar
Loops, Arrays, Switch, Enumerations, and Functions – Implementing Game Mechanics
Loops
Arrays
Making Decisions with switch
Class enumerations
Getting Started with Functions
Growing the Branches
Collisions, Sound, and End Conditions – Making the Game Playable
Preparing and Drawing the Player and Other Sprites
Handling the Player's Input
Handling Death
Simple Sound FX
Improving the Game and the Code
Object-Oriented Programming, Classes, and SFML Views
Planning and Starting the Zombie Arena Game
Object-Oriented Programming
Building Player - The First Class
Controlling the Game Camera with SFML View
Starting the Zombie Arena Game Engine
Managing the Code Files
Starting Coding the Main Game Loop
C ++ References, Sprite Sheets, and Vertex Arrays
C++ References
SFML Vertex Arrays and Sprite Sheets
Creating a Randomly Generated Scrolling Background
Using the Background
Pointers, the Standard Template Library, and Texture Management
Getting Started with Pointers
Working with Pointers
The Standard Template Library
The TextureHolder Class
Building a Horde of Zombies
Creating a Horde and Bringing It Back to Life
Using the TextureHolder Class for All Textures
Collision Detection, Pickups, and Bullets
Coding the Bullet Class
Making the Bullets Fly
Giving the Player a Cross-Hair
Coding a Class for Pickups
Using the Pickup Class
Detecting Collisions
Layering Views and Implementing the HUD
Adding All the Text and HUD Objects
Updating the HUD Each Frame
Drawing the HUD, and the Home, and Level-Up Screens
Sound Effects, File I/O, and Finishing the Game
Saving and Loading the High-Score
Preparing Sound Effects
Leveling Up
Restarting the Game
Playing the Rest of the Sounds

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 the 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—for example, split-screen coop, immersive directional sound, and custom levels loaded from level-design files
  • Get ready to go and build your own unique games!

Authors

Table of Contents

C++, SFML, Visual Studio, and Starting the First Game
The Course Overview
The Games, C++, and SFML
Setting Up the Development Environment
Planning Timber!!! and Creating a Project from the Template
Adding Project Assets and Understanding Co-ordinates
Starting to Code the Game
Opening a Window using SFML
The Main Game Loop
Drawing the Game Background
Handling Errors
Variables, Operators, and Decisions – Animating Sprites
C++ Variables
Manipulating Variables
Adding Clouds, a Tree, and a Buzzing Bee
Random Numbers
Making Decisions with if and else
Timing
Moving the Clouds and the Bee
C++ Strings, SFML Time, Player Input, and HUD
Pausing and Restarting the Game
C++ Strings, SFML Text, and Font
Adding a Score and a Message
Adding a Time Bar
Loops, Arrays, Switch, Enumerations, and Functions – Implementing Game Mechanics
Loops
Arrays
Making Decisions with switch
Class enumerations
Getting Started with Functions
Growing the Branches
Collisions, Sound, and End Conditions – Making the Game Playable
Preparing and Drawing the Player and Other Sprites
Handling the Player's Input
Handling Death
Simple Sound FX
Improving the Game and the Code
Object-Oriented Programming, Classes, and SFML Views
Planning and Starting the Zombie Arena Game
Object-Oriented Programming
Building Player - The First Class
Controlling the Game Camera with SFML View
Starting the Zombie Arena Game Engine
Managing the Code Files
Starting Coding the Main Game Loop
C ++ References, Sprite Sheets, and Vertex Arrays
C++ References
SFML Vertex Arrays and Sprite Sheets
Creating a Randomly Generated Scrolling Background
Using the Background
Pointers, the Standard Template Library, and Texture Management
Getting Started with Pointers
Working with Pointers
The Standard Template Library
The TextureHolder Class
Building a Horde of Zombies
Creating a Horde and Bringing It Back to Life
Using the TextureHolder Class for All Textures
Collision Detection, Pickups, and Bullets
Coding the Bullet Class
Making the Bullets Fly
Giving the Player a Cross-Hair
Coding a Class for Pickups
Using the Pickup Class
Detecting Collisions
Layering Views and Implementing the HUD
Adding All the Text and HUD Objects
Updating the HUD Each Frame
Drawing the HUD, and the Home, and Level-Up Screens
Sound Effects, File I/O, and Finishing the Game
Saving and Loading the High-Score
Preparing Sound Effects
Leveling Up
Restarting the Game
Playing the Rest of the Sounds

Video Details

ISBN 139781787284128
Course Length6 hours 6 minutes
Read More

Read More Reviews