Hex_Maze
#8
(03-14-2023, 02:54 PM)bplus Wrote: Nice start. 

First question that comes to mind is how to navigate in such a maze. Up and down arrows OK but left and right, upper and lower? hmm...

Also I wonder if possible to generate a maze that passes through every room like orthogonal maze generators do.

You could navigate with forward, backward  and rotation left or right  like SMcNiel shows. Use the number keys 1 through 6 is pretty quick and easy as well. You can also just stick with the player and sprites still interacting in a standard x-y grid with the hexes just defining the overall geometry. 

I suppose a standard maze generating algorithm that visits every cell would still function as the hex grid is ultimately just a standard grid where the geometry is offset every other column (or row) of cells. The resulting mazes may demonstrate a bias but they'd likely work.
Reply


Messages In This Thread
Hex_Maze - by James D Jarvis - 03-14-2023, 04:25 AM
RE: Hex_Maze - by bplus - 03-14-2023, 02:54 PM
RE: Hex_Maze - by mnrvovrfc - 03-14-2023, 10:07 PM
RE: Hex_Maze - by James D Jarvis - 03-15-2023, 04:09 PM
RE: Hex_Maze - by johannhowitzer - 03-15-2023, 01:25 AM
RE: Hex_Maze - by bplus - 03-15-2023, 01:33 AM
RE: Hex_Maze - by SMcNeill - 03-15-2023, 05:43 AM
RE: Hex_Maze - by SMcNeill - 03-15-2023, 05:49 AM
RE: Hex_Maze - by James D Jarvis - 03-15-2023, 04:15 PM



Users browsing this thread: 3 Guest(s)