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

2019/5/28

World not being able to walk everywhere

loldertroll loldertroll

2019/5/28

#
So I am making a scenario with multiple worlds right now and i dont want my character to be able to walk everywhere in every world. How can i fix this?
Super_Hippo Super_Hippo

2019/5/28

#
Hm, I think the best way would be to move and then call a method on the active world and check if the character is in a cell which is allowed. If not, move it back to where it was.
You need to login to post a reply.