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
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.