Packt

Object-Oriented Game Development with C++ and SFML

Packt

Object-Oriented Game Development with C++ and SFML

Included with Coursera PlusLearn more

Gain insight into a topic and learn the fundamentals.
Beginner level

Recommended experience

7 hours to complete
Flexible schedule
Learn at your own pace
Gain insight into a topic and learn the fundamentals.
Beginner level

Recommended experience

7 hours to complete
Flexible schedule
Learn at your own pace

What you'll learn

  • Set up a game development environment using VS 2022 and SFML

  • Build games from scratch, including graphics, physics, and input handling

  • Implement game mechanics such as collision detection, animation, and AI

Details to know

Shareable certificate

Add to your LinkedIn profile

Recently updated!

October 2026

Assessments

9 assignments

Taught in English

See how employees at top companies are mastering in-demand skills

 logos of Petrobras, TATA, Danone, Capgemini, P&G and L'Oreal

Build your subject-matter expertise

This course is part of the Beginning C++ Game Programming Specialization
When you enroll in this course, you'll also be enrolled in this Specialization.
  • Learn new concepts from industry experts
  • Gain a foundational understanding of a subject or tool
  • Develop job-relevant skills with hands-on projects
  • Earn a shareable career certificate

There are 8 modules in this course

This module introduces the fundamentals of object-oriented programming (OOP) through the development of a simple Pong game. Learners will explore class design, file organization, and the structure of C++ projects. The focus is on applying OOP principles to build modular and maintainable code.

What's included

1 video7 readings1 assignment

This module focuses on implementing a Ball class using encapsulation, detecting collisions with SFML, and integrating scoring logic into a Pong game. Learners will gain hands-on experience with object-oriented programming and game physics concepts.

What's included

1 video2 readings1 assignment

This module introduces students to object-oriented programming (OOP) and the SFML View class, with a focus on structuring and managing game code for a zombie shooter project. Learners will gain hands-on experience in implementing game loops, organizing assets, and controlling the game camera. The module also covers best practices for managing complex code files and game states.

What's included

1 video6 readings1 assignment

This module covers the use of C++ references for efficient variable handling and the implementation of SFML vertex arrays and sprite sheets for creating scalable game backgrounds. Learners will gain practical skills in optimizing memory use and rendering performance in game development.

What's included

1 video3 readings1 assignment

This module covers the fundamentals of pointers in C++, including their use for memory management and dynamic allocation. It also introduces the Standard Template Library (STL) and how to use containers like maps for efficient data handling. Learners will gain practical skills for improving code efficiency and managing complex data structures.

What's included

1 video6 readings1 assignment

This module covers the implementation of collision detection systems, bullet mechanics, and pickup classes to enhance interactivity in game development. Learners will explore how to create and manage in-game objects that interact with the player and environment, improving overall gameplay dynamics.

What's included

1 video7 readings1 assignment

This module covers how to use SFML Views to layer and maintain HUD elements in a game. Learners will gain skills in positioning and managing UI components during dynamic gameplay and screen transitions. The focus is on implementing consistent and responsive HUD displays.

What's included

1 video1 reading1 assignment

This module focuses on implementing file input/output operations, integrating sound effects, and managing game states to finalize a game project. Learners will gain practical skills in using the C++ Standard Library for file manipulation and audio integration.

What's included

1 video1 reading2 assignments

Earn a career certificate

Add this credential to your LinkedIn profile, resume, or CV. Share it on social media and in your performance review.

Instructor

Packt - Course Instructors
Packt
2,544 Courses748,340 learners

Offered by

Packt

Why people choose Coursera for their career

Felipe M.

Learner since 2018
"To be able to take courses at my own pace and rhythm has been an amazing experience. I can learn whenever it fits my schedule and mood."

Jennifer J.

Learner since 2020
"I directly applied the concepts and skills I learned from my courses to an exciting new project at work."

Larry W.

Learner since 2021
"When I need courses on topics that my university doesn't offer, Coursera is one of the best places to go."

Chaitanya A.

"Learning isn't just about being better at your job: it's so much more than that. Coursera allows me to learn without limits."

What brings you to Coursera today?

Frequently asked questions