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

2019/5/16

Question.

donutfish donutfish

2019/5/16

#
So basically I have a donkey kong type game except its about 5000 pixels tall. I have a powerup that I would like to create that removes all barrels within like a 1000 pixel radius of mario. How would I do this? I know I could use removeObjects, but how would I limit it to a certain radius?
Super_Hippo Super_Hippo

2019/5/16

#
Try to use the getObjectsInRange method and remove the objects returned by that method.
You need to login to post a reply.