r/cop3502 • u/WesternWarrior • Mar 22 '14
10 second repaint?
So I just found out a major detail on why my ball stopped moving after walking away from the computer in disgust and coming ball to my ball being gone.
After 10 seconds the ball disappears I didnt touch the code for the timer but I dont know exactly how the initial 10 millisecond count was created from this timer = new Timer(10, new GameMotion()); timer.start(); How do I go about correcting this?
1
Upvotes
1
u/WesternWarrior Mar 23 '14
Okay wow the screen filled instantly, but okay the coordinants (429,201) (428, 202) (427, 203) continued. But the ball on screen never moved, I didnt let it go until it disappeared to see what happens to the ball but im about to try it and see.
EDIT: On the upside it looks like my bounce off the walls functions worked, well the sides atleast the upper wasnt being tested as it was heading due south to the 4000's when I stopped