I’m just playing around with basic animation on the Android platform. What I have so far allows the user to touch the screen and a circle, centered at the touch, will increase its radius until the user lifts his finger or the circle hits the edge of the screen. I have a class set up to store the center and radius of each circle so that every circle is drawn to the screen. What is the best way to make a circle stop increasing its radius when it hits another circle?
I’m just playing around with basic animation on the Android platform. What I have
Share
Let me google that for you
http://badasshat.blogspot.com/2010/03/2d-collision-detection-part-1.html