This site requires JavaScript, please enable it in your browser!
Greenfoot back
BIG-red-BUTTON
BIG-red-BUTTON wrote ...

2011/8/23

need help!!!(im new,started day ago)

BIG-red-BUTTON BIG-red-BUTTON

2011/8/23

#
What codes i use to hide or remove an object when is touched by another object?
GameCode GameCode

2011/8/23

#
if(getOneIntersectingObject(Whatever.class)!= null) { getWorld().removeObjects(this); //This removes it // or you could make it invisible: getImage().setTransparency(0); }
BIG-red-BUTTON BIG-red-BUTTON

2011/8/23

#
it works,thanks
You need to login to post a reply.