Smooth animation with updateAfterEvent
So what 's all about the updateAfterEvent method, well first let's have a look at the 2 movies below.
Both movie have a frame rate of 12 frames per second. The code is the same in both of them, the only difference is that in the second one I am calling the method updateAfterEvent each time a mouse move is detected, try it by yourself.
Views: 592 | | by John
View this tutorial