First Games in C++: Dungeons and Flagons (v0.85) - Torch Shadow Casting! @s0lly
First Games in C++: Dungeons and Flagons (v0.85) - Torch Shadow Casting!  @s0lly
Uploaded December 2018 | Updated September 2026, 1 hour ago
A video in a series, including my OLC 2018 Game Jam submission, Dungeons and Flagons! See the itch.io submission here: s0lly.itch.io/dungeons-and-flagons

Light sources (e.g. Torches) now generate shadow casting and therefore do not bleed through walls (at least, most of the time!). It's adds a nice visual when other light sources are moving around the scene. Still needs some work through, the light does get through wall edges at times and I need to generate more wall edges outside of the player's view.

The game is now running a bit slower so I'll need to do a bit of optimising too.

I still want to do the following major updates:
- add in a Save / Load system
- ability to fight Skeletons - this needs some AI work!
- address the overlap (or lack thereof) between items & walls - looks a bit silly

I will release all code on GitHub once I've finalised the full game.

Using the Chili Framework: http://wiki.planetchili.net/index.php... - thanks Chili!

Shadow Casting algorithm inspired by javidx9 with this brilliant video: youtu.be/fc3nnG2CG8U

Thanks to Eric Skiff (ericskiff.com/music) for his amazing music! Using the tracks "Come and Find Me - B mix", "Come and Find Me", "Ascending", and "Digital Native".
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 TestsFirst Games in C++: Krazy Karts (v0.80) - Powerup Spawners2D Game Engine in C++: [1] Adding SpritesCELL INVADERS: Trailer - A Game in ExcelGame Engine 18: AsteroidsCreating a Greyscale Mosaic in C++
s0lly |

First Games in C++: Dungeons and Flagons (v0.85) - Torch Shadow Casting!

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER