Jump to content

View more

Image of the Day

#ld38 #screenshotsaturday Mimosa Fizz action gif #2 https://t.co/TUzdppvfUL
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

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

4: Adsense

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   

107
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!




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.