Duke Nukem 1’s collision detection

So far, we’ve looked at how the game renders its world and the characters and objects inhabiting it. But one key ingredient is still missing in the engine layer: There’s not much gameplay to be had if objects can’t interact with each other and the world. For that, we need collision detection. And just like rendering, it has its fair share of quirks in this game.

Duke gets hit by an enemy
Continue reading “Duke Nukem 1’s collision detection”