Wireframe 1st-person render of a maze
Posted: Fri Nov 03, 2017 7:38 pm
I'm trying to make a dungeon crawler in the vein of Scarab of Ra, and I'm a bit stuck on the render part of this. I'm aiming for a retro, 1-bit graphics look, with no movement animations, so I think I can pull this off with LÖVE, and not have to go true 3D.
https://gitlab.com/aidalgol/rogue-pyramid
The first approach I'm going to try is drawing lines from (near) the corners of the viewport heading toward the centre of the viewport. Then draw the lines in segments, one for for each cell travelling forwards, only drawing a segment when there is a wall on that side of that cell.
Does this sound at all sensible, or can anyone offer suggestions?
https://gitlab.com/aidalgol/rogue-pyramid
The first approach I'm going to try is drawing lines from (near) the corners of the viewport heading toward the centre of the viewport. Then draw the lines in segments, one for for each cell travelling forwards, only drawing a segment when there is a wall on that side of that cell.
Does this sound at all sensible, or can anyone offer suggestions?