How frequently is the location being updated? How much are the x and y values changing on each update?
Can you change either of those to slow down the movement?
Type: Posts; User: Norm
How frequently is the location being updated? How much are the x and y values changing on each update?
Can you change either of those to slow down the movement?
Can you explain what the code in the getXPoint() and getYPoint() methods do and how that will effect where the ball is located on the screen?
Can you explain what the code in the getXPoint() and getYPoint() methods do and how that will effect where the ball is located on the screen?
Who wrote the code that changes the position (x,y values) of the ball?
You need to look at that code to see what is happening.
Also look at the code the controls how often the position is...
Try debugging the code by printing out the x,y locations every time they change to see how far the ball moves each time it is moved.
How often is the ball's location changed? Can you change how...