Added: 2 years ago
From: LimeIron
Views: 2,879
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (13)

Sign In or Sign Up now to post a comment!
  • your maze is awesome awesome

  • how do you make one?

  • Comment removed

  • song is fu[king shit by fu[cking over used

  • @noobman90000 why would you say it?

    you know what?

    sence you said that,i will spam YOU!

  • ROBLOX?! YOURE AMAZING!

    lol or this backtracker algorithm do 100% =]

    but you have lots scripts, thats not good =]

    i'm trying to learn this algorithm, i wanna create a maul =]

    roblox are perfect for lab ;p 3D rendering and easy-script are perfect for everyone ;p

  • OK, thanks! I'm going to start working on a 3D maze gen algorithm now.

  • How do you know that there's a free space?

  • The green spaces are actually brick Objects, and instead of deleting them I simply change their transparency to 1.0 and their boolean "CanCollide" to false to make them a "free space". I find out which squares are adjacent to a specific space by calculating their distance away using their coordinates.

  • That's great! How did you store information for backtracking?

  • When a space is cleared I store its position to a list. When it reaches a dead end, it backtracks through the list, deleting items until it finds one that has at least one free space next to it.

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more