C++ Game Engine Development – Part 21 – Draw Layers and Dynamic Sort

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.This week we’ll be working on updating our drawing system. We’ll add a few […]

C++ Game Engine Development – Part 20 – Debugging Collisions

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.This week we’ll begin work on a debug class, which will contain useful functions […]

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.