Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Collection of Mazes
#10
(06-18-2024, 06:34 AM)SMcNeill Wrote:
(06-18-2024, 02:09 AM)madscijr Wrote: Pretty neat, that'll be fun to play with. Thanks!
A quick and dirty demo of what I'm talking about for you:

...

Toggle that first CONST and you can see the difference between a direct path from the center of one room to another, and a meandering path.

Change those values in the SELECT CASE for the SUB MeanderingPath, and you can alter how much it deviates from that basic direct path.

I tried to use color for this to showcase the room (blue), center of room (red), direct path (green), and wandering path (purple), but that wandering path tends to wander and cover up everything else if you're not careful.  LOL!  Try it imagine it all being one set color for your "dungeon" or "rogue-like play area", and you should be able to see how this creates a map very much like Rogue used to back in the days.

One thing I'd suggest to make this a ton better -- check to make certain the rooms don't overlap each other.  The further apart the rooms are, the more room the paths have to stretch out and crisscross and such.  Touching rooms kind of defeats the purpose of building roads between them.  Smile
I like the presentation with the grid lines, and that it waits for you to press a key before going on to the next step. 
I'll play with it some more later. Thank you!
Reply


Messages In This Thread
Collection of Mazes - by eoredson - 06-16-2024, 03:00 AM
RE: Collection of Mazes - by bplus - 06-16-2024, 01:47 PM
RE: Collection of Mazes - by eoredson - 06-17-2024, 12:12 AM
RE: Collection of Mazes - by madscijr - 06-17-2024, 11:38 PM
RE: Collection of Mazes - by bplus - 06-18-2024, 12:24 AM
RE: Collection of Mazes - by bplus - 06-18-2024, 12:37 AM
RE: Collection of Mazes - by SMcNeill - 06-18-2024, 12:53 AM
RE: Collection of Mazes - by madscijr - 06-18-2024, 02:09 AM
RE: Collection of Mazes - by SMcNeill - 06-18-2024, 06:34 AM
RE: Collection of Mazes - by madscijr - 06-18-2024, 12:01 PM



Users browsing this thread: 8 Guest(s)