C++ Game Engine Development – Part 39 – Removing Projectile on Collision

Last week we wrote the code that will enable communication between objects when they collide. This communication can happen at three stages of a collision: when the collision occurs, every frame the collision is maintained, and when the collision ends. This week we are going to write a new component for our projectile that will remove it from the game when it collides with another object (so when collision first happens). It will be a simple component but will hopefully show you how to respond to collision events.

C++ Game Engine Development – Part 26 – New Maps

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. I’ve spent the last week scouring the internet for any useful LPC sprites […]

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 23 – Camera Zoom

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 work on the game’s camera by creating a component […]

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