2D Game Engine in C++: [9] Bounding Boxes @s0lly
2D Game Engine in C++: [9] Bounding Boxes  @s0lly
Uploaded January 2019 | Updated September 2026, 1 hour ago
This video demonstrates the inclusion of bounding boxes into the game engine. This is the first of a series of "controls" that will allow for viewing how various items are being represented in the game world.

I anticipate that there will be a number of uses for these controls, most obviously when setting up and testing collision detection. This particular switch allows me to get a sense of whether sprites are moving around the screen exactly as intended.

It's more difficult to see, but there is also a switch used for pinpointing where light sources exist. You may notice small yellow pixels at various points in the video in the middle of the torches, representing light positions. This helped me debug the issue I had in the previous video.

This video also displays a bit of new art. It definitely takes a lot of time to put together any new art assets, as I'm no artist!

I will release all code on GitHub once I've finalised the engine - and have nice looking code to boot!

Using the Chili Framework: http://wiki.planetchili.net/index.php... - thanks Chili!
2D Game Engine in C++: [9] Bounding BoxesFirst Games in C++: Dungeons and Flagons (v0.88) - Multithreading!N-Body Simulation Tutorial in Excel!First Games in C++: Krazy Karts (v0.79b) - Homing-in Missiles!First Games in C++: Krazy Karts (v0.78) - Powerups!First Games in C++: Dungeons and Flagons (v0.85) - Torch Shadow Casting!Game Engine 20: Camera TransitionsNew to C++: Breakout - My First Challenge!Real 3D Engine - in Excel!!A Simple FPS Raycaster Engine in C++Simple First Games in C++ : Breakout Multiplayer!First Games in C++: Dungeons and Flagons (v0.4) - Lighting Tests
s0lly |

2D Game Engine in C++: [9] Bounding Boxes

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER