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

2012/4/26

Barriers

thefutureisnow thefutureisnow

2012/4/26

#
Hello world! Does anyone know how to make an actor that other actors cannot go through, or rather, will bump into and cannot pass? Like a wall that an actor, which you control, cannot pass. Thanks!
danpost danpost

2012/4/26

#
You will have to program tha functionality into your actor. Check the Greenfoot API in the actor class for what methods you might need. (Click the 'Documentation' link above, just within the green header; then in the 'Reference' section on the right, click on 'online'; and finally, click on 'Actor' for the actor class methods available.
You need to login to post a reply.