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 34 – Direction Component

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.A couple of weeks ago we started work on spawning projectile and ended up […]

C++ Game Engine Development – Part 30 – One Shot Animations

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 ran into an issue with our animation system. Whenever we […]

C++ Game Engine Development – Part 28 – Projectile Animation

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 will add a new projectile attack animation to our player. We […]

C++ Game Engine Development – Part 27 – Animation Frame Actions

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’re going back to our Animation system but not to fix […]

C++ Game Engine Development – Part 25 – Animation Fixes

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. As I wrote the code for last weeks tutorial (Animation in Four Directions) […]

C++ Game Engine Development – Part 24 – Animation in Four Directions

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.At the moment our animation system has one animation for moving while on the […]

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, […]