Building Games with SFML
3.3 (4 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
29 students enrolled
Wishlisted Wishlist

Please confirm that you want to add Building Games with SFML to your Wishlist.

Add to Wishlist

Building Games with SFML

A step-by-step introduction to SFML to help you build enjoyable, cross-platform games
3.3 (4 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
29 students enrolled
Created by Packt Publishing
Last updated 7/2016
English
Current price: $12 Original price: $85 Discount: 86% off
3 days left at this price!
30-Day Money-Back Guarantee
Includes:
  • 4 hours on-demand video
  • 1 Supplemental Resource
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion

Training 5 or more people?

Get your team access to Udemy's top 2,000 courses anytime, anywhere.

Try Udemy for Business
What Will I Learn?
  • Set up a cross-platform game project and deploy the game on various gaming platforms
  • Draw shapes, text, and images efficiently while applying geometrical transformations
  • Play environmental sounds and background music
  • Lay the foundations of a game with respect to the game loop and game states
  • Model entities and animate the characters of a game
  • Render an appealing scene efficiently from a two-dimensional array
  • Use views to implement a camera-tracking (or scrolling) feature
  • Write the code for basic artificial intelligence
View Curriculum
Requirements
  • Basic knowledge of the language (C++) is required to take this course.
  • All the topics are explained practically, as you build a “Pac-Woman” game. The course covers the basics and builds a game from start to finish, highlighting an effective and efficient way to develop a game. We move slowly enough for beginners to get started, but provide interesting details and notes for developers who are already acquainted with the framework to grasp the tiny details. It focuses on good code-writing practices and structures through easy-to-understand examples and explanations.
Description

SFML is a framework that allows you to write games and run them on various operating platforms, including Windows, Linux, and OS X. With a simple programming interface to the different components of the underlying device, SFML gives aspiring game developers the ability to create and publish enjoyable games.

Building Games with SFML will guide you through the entire process of game development. You will master the main features of SFML and become confident in architecting and designing games because everything you learn will translate to your own project. Even experienced developers are highly likely to learn something new.

To begin with, you’ll learn how to compile and install SFML before introducing the system, window, graphics, and audio modules of SFML.

We then move on to the development of a clone of the Pac-Man game, called Pac-Woman, enhanced by entertaining modern features, starting by laying the foundation of the game after you understand key game development patterns. Piece by piece, from the game loop to the implementation of artificial intelligence, we will build an engaging game. It will include the implementation of game states, the modeling of entities, the animation of characters, and rendering the maze. Finally, this course concludes by adding gameplay and putting it all together to produce an exciting and challenging game.


Who is the target audience?
  • Professional game developers who want to learn how to program games using C++, Hobbyists, and C++ developers
  • Whether you are a beginner who wants to use this amazing framework or a proficient SFML developer, this course is built to get a beginner from start to end, and to refresh all the aspects for an existing SFML developer. It will also give you pointers on game development, best practices, and how to avoid pitfalls.
Compare to Other Game Development Courses
Curriculum For This Course
19 Lectures
03:58:44
+
Getting Started
3 Lectures 28:06

This is an introduction to the entire video course

Preview 10:08

Compile and install the SFML library after installing CMake. 

Installing SFML Library
09:37

We set up the initial project of our cross-platform game. 

Setting Up the Project
08:21
+
Investigating SFML
3 Lectures 40:44

Investigate the system module of SFML to understand the main features. 

Preview 11:22

Investigate the window module of SFML to understand the main features. 

Discovering the Window Module
16:11

Investigate the graphics module of SFML to understand the main features. 

Discovering the Graphics Module
13:11
+
Shaping the Game
5 Lectures 01:09:23

We implement the foundation of our game—the game loop. 

Preview 09:31

Take a look at the game states and understand them. 

The Game States
14:37

Divert the game flow by implementing navigation conditions. 

Implementing the Navigation
13:51

We model the entities of our games with sf::Drawable and sf::Transformable. 

Modeling Entities
17:59

Animate characters frame by frame after the implementation of an animator. 

Animating Characters
13:25
+
Creating the Maze
4 Lectures 53:34

Create the maze class, holding the data and the logic to display a maze. 

Preview 15:03

Make the characters navigate through the empty rows of the maze. 

Adding the Navigation Logic
24:30

Round up the edges of the wall to result in a more appealing maze. 

Enhancing the Maze Visual
07:05

Implement a camera that tracks Pac-Woman wherever she goes in the maze. 

Scrolling with a Camera
06:56
+
Adding the Gameplay
4 Lectures 46:57

What is a game, if it is too easy to conquer? Let's bring artificial intelligence to our aid and make our game more interesting. 

Preview 16:03

The goal of this video is to keep adding to the gameplay we created earlier and make the Pac-Woman collect dots and bonuses. 

Collecting Dots and Bonuses
07:54

Our goal in this video would be to implement the graphical user interface. 

Displaying the HUD
07:03

A game is not interesting enough if we do not receive live updates. Our goal is to implement the remaining pieces of our game and update the user interface as well. 

Adding Levels and Score
15:57
About the Instructor
Packt Publishing
3.9 Average rating
8,274 Reviews
59,287 Students
689 Courses
Tech Knowledge in Motion

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 Udemy courses continue this tradition, bringing you comprehensive yet concise video courses straight from the experts.