Posts: 688
Threads: 154
Joined: Apr 2022
Reputation:
67
So I thought a fun little project would be a wireframe dungeon maze sorta like the ones from the old wizardry games. I can't seem to get the scaling right. Anyone know of any source code for the basic setup of rendering such a maze. Not raycasting, I can find that. Or image slicing, I can do that too. Or fancy three 3D. Just old wire frame maze of lines. I haven't been able to find one in basic, c, or pascal out there that draws a true wireframe maze. most cheat with some form of slicing. Any ideas?
Posts: 4,697
Threads: 222
Joined: Apr 2022
Reputation:
322
08-10-2025, 03:14 PM
(This post was last modified: 08-10-2025, 03:18 PM by bplus.)
Wireframe maze? are you looking for 3D maze? Slicing? another unfamiliar term...
I just posted code for 2D maze generation that can be manipulated as desired for maze rectangle, border, cell number, sizes, colors, wall thickness...
https://qb64phoenix.com/forum/showthread...4#pid35284
724 855 599 923 575 468 400 206 147 564 878 823 652 556 bxor cross forever
Posts: 688
Threads: 125
Joined: Apr 2022
Reputation:
49
I probably can't do it, but what perspective do you want? From the player's eyes? From top to bottom? From above? Also, are you looking for hallways and rooms or terrain or something else? I have some wireframe terrain code if you want that.
Posts: 347
Threads: 45
Joined: Jun 2024
Reputation:
32
You could use raycasting or a 3d engine, all you need not do is fill the triangles...thatll give it the wireframe effect.
research _Gllines
Unseen