Create a free account to remove all ad content.

Author Topic:  Random Maze Generator  (Read 1152 times)

0 Members and 1 Guest are viewing this topic.

#

  • Member
  • *
  • Posts: 158
  • I don't do much here.
    • View Profile
  • Xbox: HellomeZodoz
Random Maze Generator
« on: August 20, 2015, 07:40:53 PM »
Hey guys, thought I'd show you something new I made. It's not too useful, but I still think it's pretty cool. It's an 'infinitely-expandable' maze generator, you just have to designate a beginning area and an end. Every time you run the script, it will generate a new random maze each time. I only made the corridors 1 wide, but you could make them any size really. Here's a horrible quality video showing you an example:



The script does take some time depending on how large you make the maze. The one in the video probably took around 5 - 10 minutes to fully generate. For those who know about maze generation, I'm using a method similar to the Recursive Backtracking Algorithm. I only modified it a bit to add less really long corridors.

Anyway, thanks for reading.
#aMAZEingMazes2k15

Lunar

  • Elite Member
  • *
  • Posts: 993
  • AKA Lunar, Script, Subbd, WideningPenny98
    • View Profile
  • Xbox: subbd
  • PSN: Widumn_Boise
Re: Random Maze Generator
« Reply #1 on: August 20, 2015, 08:09:07 PM »
ASTONISHING!!!!! Props

casual onion

  • Legendary Member
  • *
  • Posts: 1816
  • I sometimes eat onions.
    • View Profile
    • YouTube Channel
  • Xbox: casual onion
  • Steam: casual onion
Re: Random Maze Generator
« Reply #2 on: August 20, 2015, 08:19:47 PM »
You're pretty much a scrtipting genius! Amazeing  work.
| Thanks for reading my post. It was great, wasn't it? |

| I build Economy RPG Maps, here i my current one. Hazzah! |

| Feel Free to send me a message on here on the TM Discord (casual onion#3563) |

| Enjoy the next post! |

Jared

  • Supreme Member
  • *
  • Posts: 2425
  • |Trivia & Maze Designer| |Previous TMF Tester|
    • View Profile
  • Xbox: Jeff McNewmen
  • PSN: Jeff_McNewmen
  • Steam: Jeff McNewmen
Re: Random Maze Generator
« Reply #3 on: August 20, 2015, 10:31:19 PM »
I honestly wonder who this mysterious Hashtag is. Such a mysterious character. Anywho nice job Hashtag I always adore maze scripting and this to me is nothing less then amazement. Excellent job!

Brother Hood

  • Sr. Member
  • *
  • Posts: 286
  • futrue army
    • View Profile
Re: Random Maze Generator
« Reply #4 on: August 21, 2015, 12:28:27 AM »
I got to say one of the best script that anyone made I give you a huge round of cheers :) nice work

crazytater94

  • Supreme Member
  • *
  • Posts: 2610
  • Mastering TM since 2011
    • View Profile
  • Xbox: crazytater94
  • PSN: crazytater94 (Inactive)
  • Steam: crazytater94
Re: Random Maze Generator
« Reply #5 on: August 21, 2015, 01:34:15 AM »
I know who hashtag is ::)

Anyway, that's a really really impressive script setup you have there. I'm impressed and I haven't seen the video. By the way Hello, me crazytater94 ;)

Craig

  • TM Creator
  • Extreme Member
  • *
  • Posts: 6600
  • Dig Deep
    • View Profile
    • Twitter
  • Steam: tota1miner
Re: Random Maze Generator
« Reply #6 on: August 21, 2015, 01:51:27 AM »
I'm impressed 8)

Lady Lobo

  • Member
  • *
  • Posts: 107
    • View Profile
  • Xbox: Lady Lobo
Re: Random Maze Generator
« Reply #7 on: August 21, 2015, 02:21:34 AM »
That is an outstanding piece of scripting Hashtag. The amount of work it would save if you needed a large maze in a short time period would really come in handy.  I envy your knowledge of scripts great job.


ROZE

  • Supreme Member
  • *
  • Posts: 3012
  • - Jaz
    • View Profile
    • The Useless Web
  • Xbox: Jaz the MAN 2
  • PSN: Jaz_the_MAN_2
  • Steam: Jaz the MAN 2
Re: Random Maze Generator
« Reply #8 on: August 21, 2015, 03:01:15 AM »
I'm impressed 8)
god dammit Craig! Add saving and sharing scripts already!

I have to say hashtag, you are a pretty genius scripter

Do you think you could make a tornado that sucks stuff up and moves randomly?

urlag

  • Member
  • *
  • Posts: 191
  • I'm lost
    • View Profile
  • Xbox: urlag
Re: Random Maze Generator
« Reply #9 on: August 21, 2015, 05:31:59 AM »
Very impressive, great work. I take my hat off to you
Don't drink and script,
 you'll regret it in the morning