This site requires JavaScript, please enable it in your browser!
Greenfoot back
ShaunThompson12
ShaunThompson12 wrote ...

2015/2/9

My Maze

ShaunThompson12 ShaunThompson12

2015/2/9

#
I am making a maze game for school and need to know how to create a wall that the character cannot pass through, I also need to know how to automatically generate the entire maze on a 900,600,1 world size. Can anyone help???
danpost danpost

2015/2/9

#
ShaunThompson12 wrote...
how to create a wall that the character cannot pass through,
You mean 'how to create a player that cannot pass through a wall'. It is the player that moves; and when moved, it should check for obstacles and move back off of them.
how to automatically generate the entire maze
* generate the maze in what way -- randomly, from file data, from field data * what size are the walls In both cases of 'how to', what have you tried?
ShaunThompson12 ShaunThompson12

2015/2/10

#
I didn't try very many ways i did not know how to generate the entire thing, i just know how to randomly generate objects through the world using their coordinates (such as 132, 475). Is there a way to spawn in the entire maze into the world?
danpost danpost

2015/2/10

#
ShaunThompson12 wrote...
i just know how to randomly generate objects through the world using their coordinates (such as 132, 475).
In what way is it random?
Is there a way to spawn in the entire maze into the world?
Of course. But, you still need to answer the questions in my last post. Also, you should still show what you have tried. That way you can learn from us showing you where you went wrong.
ShaunThompson12 ShaunThompson12

2015/2/11

#
Thank you for your help but I figured it out
You need to login to post a reply.