C++ Game Engine Development – Part 40 – First Friend

This week we are going to add a friend for the player. We’ll refractor the player creation code to reuse as much of it as possible and we’ll also create a new collision layer for the character and setup collisions between the player and his new friend.

C++ Game Engine Development – Part 14 – Drawing Sort Order

This is part of an ongoing series where we write a complete 2D game engine in C++ and SFML. A new tutorial is released every Monday. You can find the complete list of tutorials here and download the source code from the projects GitHub page.In this tutorial, we will create a drawing system and start preparing for our […]

C++ Game Engine Development – Part 12 – Animation Part 2

This is part of an ongoing series where we write a complete 2D game engine in C++ and SFML. A new tutorial is released every Monday. You can find the complete list of tutorials here and download the source code from the projects GitHub page. Last week we started our animation system by animating our Viking character, however, […]

C++ Game Engine Development – Part 11 – Animation Part 1

In this tutorial we will start to bring our little Viking to life by working on animation. We want to be able to, at the very least, have a walking and idle animation (although we will soon add attack, jumping, falling etc.). We also want to be able to easily and efficiently switch between the animations based on the players current state.