Inspired by the LOOT mockups, I’ve had a shot at writing a first person dungeon crawler. There isn’t any game in this release, it’s just a test for the rendering code. Tell me what you think and feel free to offer any suggestions for the next version!
The code is reasonably fast, much too fast to control at 60fps, so I consider it to be good enough for the moment. It currently works by writing walls to the screen, then drawing over them if there’s a wall infront. This is not the fastest method ever, thanks to the relatively high cost of drawing fillRects, but I bet it compiles smaller than meticulously checking every eventuality and only drawing what’s needed.
I’m using pastebin for this over github as It’s only a single file with no dependencies.