Jump to content

  • Log In with Google      Sign In   
  • Create Account


How to simulate a bouncing ball effect in a 2d game


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
No replies to this topic

#1 jbosch   Members   -  Reputation: 104

Like
0Likes
Like

Posted 14 April 2012 - 03:12 AM

Hi,

I'm creating a small 2D game. The objective is to bounce a ball with a kind of tennis paddle. The tennis paddle is being moved using the accelerometer input. I'd like to know how could I move the ball, relatively to its distance to the paddle center (more far, more acceleration it gets).

Any idea?

Posted Image

Thanks!

Sponsor:



Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS