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

2017/7/4

Help me create a labyrinth

Infolover300 Infolover300

2017/7/4

#
Hello, please help to save my graduation! I have a big problem, I want to create a scenario where you control a turtle thorugh a labyrinth. However, the turtle moves straight through the walls and no matter what I do, it wont change. I tried several examples from the Internet as sample but it doesnt work. The labyrinth is in the scenario as an image where everything except the walls is cut out. Thanks!
danpost danpost

2017/7/4

#
Collision detection involves the entire rectangular image of Actor objects regardless of the image content. Either your walls will need to each be individual actors or you will have to create a representative map of where the actor can go (or cannot go).
Venbha Venbha

2017/7/4

#
Code?
You need to login to post a reply.