Author Topic:  Random Maze Generator  (Read 807 times)

0 Members and 1 Guest are viewing this topic.

#

  • Member
  • ***
  • Posts: 158
  • I don't do much here.
  • Awards Month 1 members w/25+posts (4/21/13-5/12/13) 1 year on site
    • View Profile
    • Awards
  • 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: 954
  • The God of the Galaxy
  • Awards 3 years on site 2 years on site 1 year on site
    • View Profile
    • Awards
  • Xbox: Qvzw
  • PSN: Widumn_Boise
Re: Random Maze Generator
« Reply #1 on: August 20, 2015, 08:09:07 PM »
ASTONISHING!!!!! Props

casual onion

  • Legendary Member
  • *****
  • Posts: 1841
  • I sometimes eat onions.
  • Awards 3 years on site 2 years on site 1 year on site
    • View Profile
    • YouTube Channel
    • Awards
  • 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: 2492
  • |Trivia & Maze Designer| |Previous TMF Tester|
  • Awards 3 years on site 4 years on site Members who have unlocked the robotic avatar 2 years on site Former MotM winners 1 year on site
    • View Profile
    • Awards
  • 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
  • Awards 1 year on site
    • View Profile
    • Awards
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: 2645
  • Mastering TM since 2011
  • Awards Awarded to exemplary forum members 5 years on site Members who have unlocked the robotic avatar 3 years on site 2 years on site Was in the top 10 of the forum stats page as of 4/12/15 Former MotM winners Week 1 members w/25+ posts (4/13/13-4/20/13) 1 year on site
    • View Profile
    • Awards
  • 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

  • Developer
  • Extreme Member
  • ******
  • Posts: 6650
  • Dig Deep
  • Awards Developer 5 years on site 4 years on site 3 years on site 2 years on site Was in the top 10 of the forum stats page as of 4/12/15 Members who have unlocked the robotic avatar 1 year on site Day 1 w/25+ posts (4/12/13)
    • View Profile
    • Twitter
    • Awards
  • Steam: tota1miner
Re: Random Maze Generator
« Reply #6 on: August 21, 2015, 01:51:27 AM »
I'm impressed 8)

Lady Lobo

  • Member
  • ***
  • Posts: 108
  • Awards Members who have unlocked the robotic avatar 1 year on site
    • View Profile
    • Awards
  • 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.


Jaz

  • Supreme Member
  • *****
  • Posts: 2992
  • - Jaz
  • Awards 5 years on site Donated a giveaway prize. (Must be a prize of cash value.) Awarded to exemplary forum members Was in the top 10 of the forum stats page as of 4/12/15 Former MotM winners 4 years on site 3 years on site 2 years on site 1 year on site
    • View Profile
    • The Useless Web
    • Awards
  • 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
  • Awards 1 year on site Week 1 members w/25+ posts (4/13/13-4/20/13)
    • View Profile
    • Awards
  • 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


Monster x

  • Member
  • ***
  • Posts: 196
  • Awards 1 year on site
    • View Profile
    • Awards
  • Xbox: XxC Monster XxX
Re: Random Maze Generator
« Reply #10 on: August 23, 2015, 05:52:52 AM »
This is amazing i would love to have can you make it so we cqn copy it or no?