WikiThis
|
  |
| Joined: 01 Aug 2013 |
| Total Posts: 20357 |
|
| |
|
Typocrite
|
  |
| Joined: 28 Aug 2013 |
| Total Posts: 6856 |
|
|
| 27 Sep 2013 06:23 PM |
| It would require a lot of code. But it's not impossible. I think I saw it done before once. The computer just has to make sure there is a route through the maze. So pathfinding. |
|
|
| Report Abuse |
|
|
WikiThis
|
  |
| Joined: 01 Aug 2013 |
| Total Posts: 20357 |
|
|
| 27 Sep 2013 06:25 PM |
@Typo Thanks, at least I know it's possible now. |
|
|
| Report Abuse |
|
|
Typocrite
|
  |
| Joined: 28 Aug 2013 |
| Total Posts: 6856 |
|
|
| 27 Sep 2013 06:30 PM |
The issue is making every randomly generated tile a path. That is, so there are no inaccessible areas of the maze. It would probably be something like this:
-randomly generate first tile -if first tile is a straight piece then generate second tile in the spot ahead of it
You can see this would be a challenge |
|
|
| Report Abuse |
|
|
|
| 27 Sep 2013 06:40 PM |
You would most likly find this page helpful:
http://wiki.roblox.com/index.php/Algorithms |
|
|
| Report Abuse |
|
|
|
| 27 Sep 2013 07:24 PM |
Anything is possible!
[Begin list of impossible things below] |
|
|
| Report Abuse |
|
|