Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » How do you make a randomly generated maze?
- andre_rifaut
-
100+ posts
How do you make a randomly generated maze?
Just put “random maze” in the search tool and you'll get a lot of porjects. Some of them are:
http://scratch.mit.edu/projects/13498/
http://scratch.mit.edu/projects/10591114/
http://scratch.mit.edu/projects/13498/
http://scratch.mit.edu/projects/10591114/
- coolhogs
-
100+ posts
How do you make a randomly generated maze?
It's for raycaasting…
So, I'd like one that doesn't draw it with the pen.
And it has to be one sprite.
So, I'd like one that doesn't draw it with the pen.
And it has to be one sprite.
- bloxxer
-
100+ posts
How do you make a randomly generated maze?
There isnt anypossibility like that without pen, except you make like 70 diffrent mazes and in start it chooses one of em.
- ErnieParke
-
1000+ posts
How do you make a randomly generated maze?
Actually there ways. For example, stamping could work, and cloning is a solution as well, though it would be hard to manage. Also, you could create a maze in a list, but then you'd need to figure out how to render that list, which is where the raycasting comes in. There isnt anypossibility like that without pen, except you make like 70 diffrent mazes and in start it chooses one of em.
Anyway, Coolhogs, you need a maze generator, correct? Well then I'll look into it for you as soon as I'm back from the piano.

With regards,
ErnieParke
- coolhogs
-
100+ posts
How do you make a randomly generated maze?
Ok.Actually there ways. For example, stamping could work, and cloning is a solution as well, though it would be hard to manage. Also, you could create a maze in a list, but then you'd need to figure out how to render that list, which is where the raycasting comes in. There isnt anypossibility like that without pen, except you make like 70 diffrent mazes and in start it chooses one of em.
Anyway, Coolhogs, you need a maze generator, correct? Well then I'll look into it for you as soon as I'm back from the piano.
With regards,
ErnieParke
Thank you!!
- syfiguy
-
44 posts
How do you make a randomly generated maze?
simple, get a pick random block from -110 to 110=X pick random -110 to 110=Y then make sprites like this ——————– or
[
[
[
[
[
[
[ this
[
[
[
[
[
[
[ this
- coolhogs
-
100+ posts
How do you make a randomly generated maze?
What? I don't understand. simple, get a pick random block from -110 to 110=X pick random -110 to 110=Y then make sprites like this ——————– or
[
[
[
[
[
[
[ this
- ErnieParke
-
1000+ posts
How do you make a randomly generated maze?
He's saying that you should either make a tunnel to the right, or downwards.What? I don't understand. simple, get a pick random block from -110 to 110=X pick random -110 to 110=Y then make sprites like this ——————– or
[
[
[
[
[
[
[ this
With regards,
ErnieParke
- ErnieParke
-
1000+ posts
How do you make a randomly generated maze?
Oh, and to add on, I'm going to Chicago tomorrow to go on a bit of vacation, and so sorry if the maze script doesn't come in for awhile more.He's saying that you should either make a tunnel to the right, or downwards.What? I don't understand. simple, get a pick random block from -110 to 110=X pick random -110 to 110=Y then make sprites like this ——————– or
[
[
[
[
[
[
[ this
With regards,
ErnieParke
Anyway, it's time to look forward and imagine my trip….
With regards,
ErnieParke
- gtoal
-
1000+ posts
How do you make a randomly generated maze?
Everything you could want to know: http://scratch.mit.edu/studios/403013/
- Discussion Forums
- » Help with Scripts
-
» How do you make a randomly generated maze?