frames animation
Hi all, i have to make an animation, for my game.
I have an array of image,and i set the frame that have to draw in gameLoop, so if i press "D" my boy run right and the frame count was incremented.
The problem is the animation is too slow becouse the time of gameLoop is 30msec and the animation is for 40 frame/sec...
If i make another thread whit smaller intevall only to draw the frame, the perfomance decrese a lot!!!
How can i do?

