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

2017/3/25

Help me creating two score counter when a ball touches wall

InnocentMe InnocentMe

2017/3/25

#
help me to create two score counter when a ball touches the wall. i want two score counter(counter1 and counter2) when ball touches wall 1 i want to increase score of counter 2 and vice-versa
Super_Hippo Super_Hippo

2017/3/25

#
I think this question is similar to another discussion. See this post. You have to change the conditions in the ball class to check if it is touching a wall.
You need to login to post a reply.