Uploaded December 2018 | Updated September 2026, 2 hours 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
I've improved the shadow casting and light field generation algorithms to improve performance. I'm now sitting at a stable 60fps on my laptop, so everything should be good to go. I've also added wall edges back into the visual spectrum so that the shadows feel a little less like infinity wall (although that effect is still somewhat there, just looks a bit better).
I've added in Skeletons that carry torches, and hence have a light field surrounding them. Having a mobile light source adds quite a nice look to the game!
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".
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
I've improved the shadow casting and light field generation algorithms to improve performance. I'm now sitting at a stable 60fps on my laptop, so everything should be good to go. I've also added wall edges back into the visual spectrum so that the shadows feel a little less like infinity wall (although that effect is still somewhat there, just looks a bit better).
I've added in Skeletons that carry torches, and hence have a light field surrounding them. Having a mobile light source adds quite a nice look to the game!
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".










![Pseudo 3D Graphics Engine! [v2 - Sprite Animation]
This update allows for simple animation of sprites. This is purely a testing environment that Ive set up for a walking animation that can easily be applied to the various in-game characters. As this is my first deep-dive into creating an easy to use animation code base, Im being quite careful in setting it up in such a way that will allow me to easily update in the future.
My approach here has been to create a very simple template 8x8 sprite sheet that would have, on its two dimensions, different walking animations by different points of view. So, we have an 8 frame animation that can be seen from 8 different angles (in front, behind, from the side, and diagonally on).
The arrow on the sprite represents the direction of the sprite that the player would see, given the sprites point of direction relative to the player.
The red boxes that update once every few frames run from 1 to 8, representing the 8 different frames of animation - in this case, the animation would be walking, but Ill look to allow for different types of animation - e.g. fighting.
This seems to be working quite well. In this example, the animation routine and sprite sheet for each character can be uniquely customised - Ive simply set it to be identical in style and timing to make things a bit simpler for now. Has a strange vibe to it!
Hope you enjoy - as always, any comments or questions, please let me know! Pseudo 3D Graphics Engine! [v2 - Sprite Animation]](https://i.ytimg.com/vi/zElCAKdUlOg/mqdefault.jpg)