Currently there is no player.
This code was meant to generate a maze with one solution and it must be able to save the maze to disk, so the user can print the maze on a piece of paper and solve it manually.
Later on, I plan to generate that same maze in 3D, where the player can walk around in, like the TrueVision3D version (for the link, see top post).
I don't know yet if I can make this work, because then I would have to manually build the entire 3D mesh from scratch, and I don't know if I can do it (never did anything like this before).
You can use the "LoadTerrain" command for this (generating a 3D-object), but I've seen it produces something ugly (the walls don't go straight up like it should).
Also the terrain depends on the bitmap, which was generated by the 2D-drawing routine.
In order to create thicker walls and wider pathways, the bitmap-size should be significantly bigger and consumes too much memory.
Also the bitmap must be square and the size must be a power of 2.
If you created a maze, for which the 2D bitmap is slightly bigger than 256x256, then you have to generate a bitmap of 512x512, which creates a terrain where almost 3/4 of the total size is totally flat.
This new (4th version) draws the maze onto a separate imagebuffer, which can be any size.
http://users.pandora.be/vge/Blitz/MazeGenerator4.bb
The mazes are now generated in a square, so you only have to enter 1 parameter.
I created a maze with size 500x500 today with this new version and it took only about 76 seconds.
The bitmap has a size of 2540x2540.
This code was meant to generate a maze with one solution and it must be able to save the maze to disk, so the user can print the maze on a piece of paper and solve it manually.
Later on, I plan to generate that same maze in 3D, where the player can walk around in, like the TrueVision3D version (for the link, see top post).
I don't know yet if I can make this work, because then I would have to manually build the entire 3D mesh from scratch, and I don't know if I can do it (never did anything like this before).
You can use the "LoadTerrain" command for this (generating a 3D-object), but I've seen it produces something ugly (the walls don't go straight up like it should).
Also the terrain depends on the bitmap, which was generated by the 2D-drawing routine.
In order to create thicker walls and wider pathways, the bitmap-size should be significantly bigger and consumes too much memory.
Also the bitmap must be square and the size must be a power of 2.
If you created a maze, for which the 2D bitmap is slightly bigger than 256x256, then you have to generate a bitmap of 512x512, which creates a terrain where almost 3/4 of the total size is totally flat.
This new (4th version) draws the maze onto a separate imagebuffer, which can be any size.
http://users.pandora.be/vge/Blitz/MazeGenerator4.bb
The mazes are now generated in a square, so you only have to enter 1 parameter.
I created a maze with size 500x500 today with this new version and it took only about 76 seconds.
The bitmap has a size of 2540x2540.