I\'m doing a little mini-game and I need to do some animations (like frames per second), so far I manage to do this on my own:
var loadCount = 0; var ticks =