Discuss Scratch

coolhogs
Scratcher
100+ posts

How do you make a randomly generated maze?

^^
andre_rifaut
Scratcher
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/
coolhogs
Scratcher
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.
coolhogs
Scratcher
100+ posts

How do you make a randomly generated maze?

Bump.
bloxxer
Scratcher
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
Scratcher
1000+ posts

How do you make a randomly generated maze?

bloxxer wrote:

There isnt anypossibility like that without pen, except you make like 70 diffrent mazes and in start it chooses one of em.
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.

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
Scratcher
100+ posts

How do you make a randomly generated maze?

ErnieParke wrote:

bloxxer wrote:

There isnt anypossibility like that without pen, except you make like 70 diffrent mazes and in start it chooses one of em.
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.

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
Ok.
Thank you!!
syfiguy
Scratcher
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
coolhogs
Scratcher
100+ posts

How do you make a randomly generated maze?

syfiguy wrote:

simple, get a pick random block from -110 to 110=X pick random -110 to 110=Y then make sprites like this ——————– or
[
[
[
[
[
[
[ this
What? I don't understand.
ErnieParke
Scratcher
1000+ posts

How do you make a randomly generated maze?

coolhogs wrote:

syfiguy wrote:

simple, get a pick random block from -110 to 110=X pick random -110 to 110=Y then make sprites like this ——————– or
[
[
[
[
[
[
[ this
What? I don't understand.
He's saying that you should either make a tunnel to the right, or downwards.

With regards,

ErnieParke
ErnieParke
Scratcher
1000+ posts

How do you make a randomly generated maze?

ErnieParke wrote:

coolhogs wrote:

syfiguy wrote:

simple, get a pick random block from -110 to 110=X pick random -110 to 110=Y then make sprites like this ——————– or
[
[
[
[
[
[
[ this
What? I don't understand.
He's saying that you should either make a tunnel to the right, or downwards.

With regards,

ErnieParke
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.

Anyway, it's time to look forward and imagine my trip….

With regards,

ErnieParke
drmcw
Scratcher
1000+ posts

How do you make a randomly generated maze?

Have a look here
gtoal
Scratcher
1000+ posts

How do you make a randomly generated maze?

Everything you could want to know: http://scratch.mit.edu/studios/403013/

Powered by DjangoBB