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

2018/6/14

how to detect if a player is next to a wall/actor

Ticker175 Ticker175

2018/6/14

#
Hey guys is there a way to detect if the player is at a wall i tried to use getObjectsInRange but i couldn't figure out how it worked i need my actor to be able to turn at an intercection/turn example x=wall o=space xxxxxxxxx xoo,o,ox xoxx,xox xoxx,xox i need the actor to only be able to move down if it has a path
Ticker175 Ticker175

2018/6/14

#
lol the commas are just for spaceing xD
You need to login to post a reply.