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.
Investigate the system module of SFML to understand the main features.
Investigate the window module of SFML to understand the main features.
Investigate the graphics module of SFML to understand the main features.
Take a look at the game states and understand them.
Divert the game flow by implementing navigation conditions.
We model the entities of our games with sf::Drawable and sf::Transformable.
Animate characters frame by frame after the implementation of an animator.
Create the maze class, holding the data and the logic to display a maze.
Make the characters navigate through the empty rows of the maze.
Round up the edges of the wall to result in a more appealing maze.
Implement a camera that tracks Pac-Woman wherever she goes in the maze.
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.
The goal of this video is to keep adding to the gameplay we created earlier and make the Pac-Woman collect dots and bonuses.
Our goal in this video would be to implement the graphical user interface.
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.
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.