posted 13 years ago
hi , it's budsy again . I am having a strange problem .I have designed a game. In this game i am using a timer . This timer is associated with an actionlistener . Whenever you click on the ball the ball starts moving up till it hits the ceiling and starts moving towards the floor . Now no where in the code am i reducing the interval because of which the speed will increase but now the strange thing is that
whenever i click on the ball, it starts moving up(like it's supposed to) but the speed also increases . Can somebody explain why ?