| | I have to do this program for summer school computer science (I didn't fail- my school requires a few extra credits so some people take classes over the summer instead of forfeiting electives), and I finished it early, so I wanted to make it cooler. It's a ball that bounces around the screen and touches another little ball, which then moves to somewhere else. A bunch of people were messing with theirs, seeing how many points they could get, making cheats, etc., so I wanted to add something that moves the ball to a place clicked. Anyway, to the problem: It works pretty well, except the farther I click from (0,0), the less accurate it becomes. Like if I click at (400,400), it'd appear around (395,375). Is there any way to make it more accurate? Or would I have to write some complex thing that adjusts for it? |


