i would like to make jump in a radial path...
i need to calculate the path for example my circle radius is 15% of the screenhight let say (80dip)
and i would like to move the ball from pos x to pos y (50% of the screen widht = 160dip)
and in 24 steps that means 180/24 = 7.5° and i need to get the left and top of the ball view
and add this to a list and then say in a timer ball.left = list1.get(i) and ball.top = list1.get(i2)
how do i calculate the path??
(i need the x/y of the yellow points)
i need to calculate the path for example my circle radius is 15% of the screenhight let say (80dip)
and i would like to move the ball from pos x to pos y (50% of the screen widht = 160dip)
and in 24 steps that means 180/24 = 7.5° and i need to get the left and top of the ball view
and add this to a list and then say in a timer ball.left = list1.get(i) and ball.top = list1.get(i2)
how do i calculate the path??
(i need the x/y of the yellow points)
Last edited: