Tutorialspoint

Celebrating 11 Years of Learning Excellence! Use: TP11

Complete guide to program a Video game with C++ since scratch

person icon Oscar Daniel De La Cruz Jara

4.6

Complete guide to program a Video game with C++ since scratch

2D videogame c++

updated on icon Updated on Jun, 2025

language icon Language - English

person icon Oscar Daniel De La Cruz Jara

English [CC]

category icon Development ,Programming Languages,C++

Lectures -25

Duration -4.5 hours

Lifetime Access

4.6

price-loader

Lifetime Access

30-days Money-Back Guarantee

Training 5 or more people ?

Get your team access to 10000+ top Tutorials Point courses anytime, anywhere.

Course Description

Do you want to develop a video game with only your basic knowledge of C++?

This course is very detailed, step by step, where I will explain to you what each method, attribute and why of each header is for. Also, at the end of the instructional video series, you will find the project code in a .rar file and the UML diagram in a .txt file

This course is very interactive, and you will put all your knowledge into practice in a great fun project with Visual Studio.

Also, in this course you will see how to correctly use Object Oriented Programming (OOP), such as aggregation, composition and inheritance in a correct and detailed way. In addition to passing data from one form to another, in this case from the main menu to the game sale.

Will we use Windows Forms?

For the visual part, we will use Windows Forms, where we will use the toolbox to use the timer that serves for the movement of Sprites within an interval. We will also use labels, textboxes, and Bitmaps to draw our characters in the form.

In addition to creating the number of characters we need, we will use double pointer arrangements for both the Shooting Sprites and Enemies. In the same way, you will learn all the types of collisions that can exist within a game, such as arrangement against arrangement of characters, sprite against a sprite, etc.

Will we need Allegro or CodeBlocks?

Codeblocks and Allegro will not be used for this course. On the other hand. I love video game development, so I like to instruct and pass on my knowledge so that students are not left with doubts, that many times we often have to spend time searching for the answer online. That is why I tried to do this series, as it would have been explained to me clearly and directly.

Why should I take this course?

This course is highly recommended because it starts from scratch to a high-level expert in C++. Also, you'll learn to handle sprites, bitmaps, and Windows Forms. But, before that, we will work with methods to do collisions, movement, drawing of our characters in a videogame and so on.

Goals

  • You will learn step by step to develop a video game from scratch, only with C++ and Visual Studio.
  • You will learn about OOP (inheritance, aggregation, composition).
  • You will learn to use Sprites, Bitmaps and Buffers correctly.
  • You will learn how to use Windows Form tools (timer, buttons, labels, textboxes, etc).
  • You will learn to pass values from one form to another and build game levels.
  • You will learn to give movement and methods of pursuit and shooting to your characters.
  • You will learn to elaborate on your UML diagram of the project.
  • You will learn to implement double-pointer arrays.
  • You will learn about Collisions between Sprites and Arrays.

Prerequisites

  • Basic knowledge of C++.
  • You only need to download Visual Studio.
Complete guide to program a Video game with C++ since scratch

Curriculum

Check out the detailed breakdown of what’s inside the course

Primary classes for videogame

5 Lectures
  • play icon Introduction 03:06 03:06
  • play icon Heritage and Player Class 1 15:06 15:06
  • play icon Heritage and Player Class 2 12:33 12:33
  • play icon Ambulance and Police Class 11:30 11:30
  • play icon Asintomatic and Healthy Enemy Class 15:03 15:03

Shot of characters and player sprites

2 Lectures
Tutorialspoint

Array of characters of videogame

2 Lectures
Tutorialspoint

Array of bullet for each character

3 Lectures
Tutorialspoint

Main class "Play" and colisions between sprites

8 Lectures
Tutorialspoint

Windows Forms

4 Lectures
Tutorialspoint

UML Diagram and proyect's course code

1 Lectures
Tutorialspoint

Instructor Details

user profile image

Oscar Daniel De la Cruz Jara

Course Certificate

Use your certificate to make a career change or to advance in your current career.

sample Tutorialspoint certificate

Our students work
with the Best

Related Video Courses

View More

Annual Membership

Become a valued member of Tutorials Point and enjoy unlimited access to our vast library of top-rated Video Courses

Subscribe now
Annual Membership

Online Certifications

Master prominent technologies at full length and become a valued certified professional.

Explore Now
Online Certifications

Talk to us

1800-202-0515