Il 07/05/2011 02:33, Peter Williams ha scritto: > I am looking for a demo in Pascal / Delphi / Lazarus (* preferred) of > generating a 2D maze and letting the user walk through the maze in > simple 3D graphics with lines (e.g. not ASCII) but using graphics. For > example, looking down a corridor it would be drawn as single point > perspective with a square and diagonal lines from the corners. > Does anyone here have any code that does this? Maybe you have written > a demo like this in the past, or know of one.
Look for "Quake2 delphi" project, I am one of the guys that translated the entire source code of Q2 engine from C to delphi, years ago. (??? "years" ago? OH my... :-) For your needs it's probably an overkill, but I don't think you will stop with your base idea once you make it work :-) -- _______________________________________________ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus