how to make multiple objects bounce around in Corona sdk
问题 Hey guys I am new to Corona sdk and would like some help with make some balls to bounce around the screen randomly, I don't know the code for this so could someone give me a piece of code that would make the balls bounce randomly around the screen with out stopping or anything. Also when they hit the wall the ball would go in opposite direction. Thanks for you help I thank you a million. I tried this but it don't work if(ball.x < 0) then ball.x = ball.x + 3 xSpeed = -xSpeed end--Left if((ball