C++, SFML, Visual Studio, and Starting the First Game
10 lectures 49:23
The Course Overview
This video provides an overview of the entire course.
The Games, C++, and SFML
SFML has the potential to build the highest-quality 2D games. So a beginner can start using SFML and not worry about having to start again with a new language/library as their experience grows. Let's explore the games we will build using SFML.
- Take a look at the games that we will build
- Learn about C++
- Learn the core of SFML functioning
Setting Up the Development Environment
Now that we know about how we will be making these games, it is time to set up a development environment. This video will show us how to proceed with that.
- Install Visual Studio
- Set up SFML
- Create a reusable project template
Planning Timber!!! and Creating a Project from the Template
If we don't know how the game is going to work on the screen, how can we possibly make it work in code? Let's learn how to plan the game and create a new project from the reusable project template.
- Define basic mechanics of the game
- Plan the game
- Create new project from the template
Adding Project Assets and Understanding Co-ordinates
Assets are things we need in order to make a game. It mainly includes font, sound and graphics. We must know how to add them. This video guides us with assets and understanding screen and internal co-ordinates.
- Add graphics and sound
- Download and add fonts
- Learn about screen and internal co-ordinates
Starting to Code the Game
It's time to apply all that we've learned and start coding the game. This video will guide us with the initial code and explain what each line of code does.
- Include Windows essentials
- Use main function
- Return values from a function
Opening a Window using SFML
We've studied about SFML but using SFML can be a bit tricky. Let's explore how we can use SFML features to open a new window.
- Include SFML features
- Use the namespace sf
- Use SFML VideoMode and RenderWindow
The Main Game Loop
We need a way to stay in the program until the player wants to quit. Also, we must provide a way for the player to exit. Otherwise the game will go on forever. This video will help us achieve this goal.
- Learn about the while loop
- Detect key press
- Clear the drawing screen
Drawing the Game Background
t last, we need to add some real graphics in our game. Let's see how we will create and draw the game background and display it.
- Prepare the sprite using a texture
- Double-buffer the background sprite
- Run the game
Handling Errors
There will always be problems and errors in every project you make, that is guaranteed. Let's learn about the types of errors so that we are able to identify and rectify them whenever they occur.
- Learn about configuration errors
- Go through compile errors
- Take a look at link errors and bugs
C++, SFML, Visual Studio, and Starting the First Game.
10 lectures 49:23
The Course Overview
This video provides an overview of the entire course.
The Games, C++, and SFML
SFML has the potential to build the highest-quality 2D games. So a beginner can start using SFML and not worry about having to start again with a new language/library as their experience grows. Let's explore the games we will build using SFML.
- Take a look at the games that we will build
- Learn about C++
- Learn the core of SFML functioning
Setting Up the Development Environment
Now that we know about how we will be making these games, it is time to set up a development environment. This video will show us how to proceed with that.
- Install Visual Studio
- Set up SFML
- Create a reusable project template
Planning Timber!!! and Creating a Project from the Template
If we don't know how the game is going to work on the screen, how can we possibly make it work in code? Let's learn how to plan the game and create a new project from the reusable project template.
- Define basic mechanics of the game
- Plan the game
- Create new project from the template
Adding Project Assets and Understanding Co-ordinates
Assets are things we need in order to make a game. It mainly includes font, sound and graphics. We must know how to add them. This video guides us with assets and understanding screen and internal co-ordinates.
- Add graphics and sound
- Download and add fonts
- Learn about screen and internal co-ordinates
Starting to Code the Game
It's time to apply all that we've learned and start coding the game. This video will guide us with the initial code and explain what each line of code does.
- Include Windows essentials
- Use main function
- Return values from a function
Opening a Window using SFML
We've studied about SFML but using SFML can be a bit tricky. Let's explore how we can use SFML features to open a new window.
- Include SFML features
- Use the namespace sf
- Use SFML VideoMode and RenderWindow
The Main Game Loop
We need a way to stay in the program until the player wants to quit. Also, we must provide a way for the player to exit. Otherwise the game will go on forever. This video will help us achieve this goal.
- Learn about the while loop
- Detect key press
- Clear the drawing screen
Drawing the Game Background
t last, we need to add some real graphics in our game. Let's see how we will create and draw the game background and display it.
- Prepare the sprite using a texture
- Double-buffer the background sprite
- Run the game
Handling Errors
There will always be problems and errors in every project you make, that is guaranteed. Let's learn about the types of errors so that we are able to identify and rectify them whenever they occur.
- Learn about configuration errors
- Go through compile errors
- Take a look at link errors and bugs
The Course Overview
This video provides an overview of the entire course.
The Course Overview
This video provides an overview of the entire course.
The Course Overview
This video provides an overview of the entire course.
The Course Overview
This video provides an overview of the entire course.
This video provides an overview of the entire course.
This video provides an overview of the entire course.
The Games, C++, and SFML
SFML has the potential to build the highest-quality 2D games. So a beginner can start using SFML and not worry about having to start again with a new language/library as their experience grows. Let's explore the games we will build using SFML.
- Take a look at the games that we will build
- Learn about C++
- Learn the core of SFML functioning
The Games, C++, and SFML
SFML has the potential to build the highest-quality 2D games. So a beginner can start using SFML and not worry about having to start again with a new language/library as their experience grows. Let's explore the games we will build using SFML.
- Take a look at the games that we will build
- Learn about C++
- Learn the core of SFML functioning
The Games, C++, and SFML
SFML has the potential to build the highest-quality 2D games. So a beginner can start using SFML and not worry about having to start again with a new language/library as their experience grows. Let's explore the games we will build using SFML.
- Take a look at the games that we will build
- Learn about C++
- Learn the core of SFML functioning
The Games, C++, and SFML
SFML has the potential to build the highest-quality 2D games. So a beginner can start using SFML and not worry about having to start again with a new language/library as their experience grows. Let's explore the games we will build using SFML.
- Take a look at the games that we will build
- Learn about C++
- Learn the core of SFML functioning
SFML has the potential to build the highest-quality 2D games. So a beginner can start using SFML and not worry about having to start again with a new language/library as their experience grows. Let's explore the games we will build using SFML.
- Take a look at the games that we will build
- Learn about C++
- Learn the core of SFML functioning
SFML has the potential to build the highest-quality 2D games. So a beginner can start using SFML and not worry about having to start again with a new language/library as their experience grows. Let's explore the games we will build using SFML.
- Take a look at the games that we will build
- Learn about C++
- Learn the core of SFML functioning
Setting Up the Development Environment
Now that we know about how we will be making these games, it is time to set up a development environment. This video will show us how to proceed with that.
- Install Visual Studio
- Set up SFML
- Create a reusable project template
Setting Up the Development Environment
Now that we know about how we will be making these games, it is time to set up a development environment. This video will show us how to proceed with that.
- Install Visual Studio
- Set up SFML
- Create a reusable project template
Setting Up the Development Environment
Now that we know about how we will be making these games, it is time to set up a development environment. This video will show us how to proceed with that.
- Install Visual Studio
- Set up SFML
- Create a reusable project template
Setting Up the Development Environment
Now that we know about how we will be making these games, it is time to set up a development environment. This video will show us how to proceed with that.
- Install Visual Studio
- Set up SFML
- Create a reusable project template
Now that we know about how we will be making these games, it is time to set up a development environment. This video will show us how to proceed with that.
- Install Visual Studio
- Set up SFML
- Create a reusable project template
Now that we know about how we will be making these games, it is time to set up a development environment. This video will show us how to proceed with that.
- Install Visual Studio
- Set up SFML
- Create a reusable project template
Planning Timber!!! and Creating a Project from the Template
If we don't know how the game is going to work on the screen, how can we possibly make it work in code? Let's learn how to plan the game and create a new project from the reusable project template.
- Define basic mechanics of the game
- Plan the game
- Create new project from the template
Planning Timber!!! and Creating a Project from the Template
If we don't know how the game is going to work on the screen, how can we possibly make it work in code? Let's learn how to plan the game and create a new project from the reusable project template.
- Define basic mechanics of the game
- Plan the game
- Create new project from the template
Planning Timber!!! and Creating a Project from the Template
If we don't know how the game is going to work on the screen, how can we possibly make it work in code? Let's learn how to plan the game and create a new project from the reusable project template.
- Define basic mechanics of the game
- Plan the game
- Create new project from the template
Planning Timber!!! and Creating a Project from the Template
If we don't know how the game is going to work on the screen, how can we possibly make it work in code? Let's learn how to plan the game and create a new project from the reusable project template.
- Define basic mechanics of the game
- Plan the game
- Create new project from the template
If we don't know how the game is going to work on the screen, how can we possibly make it work in code? Let's learn how to plan the game and create a new project from the reusable project template.
- Define basic mechanics of the game
- Plan the game
- Create new project from the template
If we don't know how the game is going to work on the screen, how can we possibly make it work in code? Let's learn how to plan the game and create a new project from the reusable project template.
- Define basic mechanics of the game
- Plan the game
- Create new project from the template
Adding Project Assets and Understanding Co-ordinates
Assets are things we need in order to make a game. It mainly includes font, sound and graphics. We must know how to add them. This video guides us with assets and understanding screen and internal co-ordinates.
- Add graphics and sound
- Download and add fonts
- Learn about screen and internal co-ordinates
Adding Project Assets and Understanding Co-ordinates
Assets are things we need in order to make a game. It mainly includes font, sound and graphics. We must know how to add them. This video guides us with assets and understanding screen and internal co-ordinates.
- Add graphics and sound
- Download and add fonts
- Learn about screen and internal co-ordinates
Adding Project Assets and Understanding Co-ordinates
Assets are things we need in order to make a game. It mainly includes font, sound and graphics. We must know how to add them. This video guides us with assets and understanding screen and internal co-ordinates.
- Add graphics and sound
- Download and add fonts
- Learn about screen and internal co-ordinates
Adding Project Assets and Understanding Co-ordinates
Assets are things we need in order to make a game. It mainly includes font, sound and graphics. We must know how to add them. This video guides us with assets and understanding screen and internal co-ordinates.
- Add graphics and sound
- Download and add fonts
- Learn about screen and internal co-ordinates
Assets are things we need in order to make a game. It mainly includes font, sound and graphics. We must know how to add them. This video guides us with assets and understanding screen and internal co-ordinates.
- Add graphics and sound
- Download and add fonts
- Learn about screen and internal co-ordinates
Assets are things we need in order to make a game. It mainly includes font, sound and graphics. We must know how to add them. This video guides us with assets and understanding screen and internal co-ordinates y in the program until the player wants to quit. Also, we must provide a way for the player to exit. Otherwise the game will go on forever. This video will help us achieve this goal.
- Learn about the while loop
- Detect...