• Advertisement
Sign in to follow this  

the 2d version of the 3d dungeon craw algorithm

This topic is 3293 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Does anyone have any information, or a link to a programming example of the fake 3d graphics version of a dungeon crawl? Games like Wizardry and Bards Tale did this sort of thing back in the 80's. Basically I am looking for the algorithm that will simulate a 3d maze using just a filled 2d polygon call. Thanks, and any help will be appreciated. WonderMellon

Share this post


Link to post
Share on other sites
Advertisement
I remember doing this. The main trick is just creating the images properly. You need images for each front and side facing wall for every visible position in front of you. Then you simply loop through your map array in the visibility cone (back to front) and if there's a wall in that position you draw it. It's relatively straightforward. Oh, understanding basic one point perspective drawing helps.

Honestly it's probably easier these days to just use d3d or opengl and render the thing in 3d - even if you just have a 2d map.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement