use millisecs, that way it will be the same on any computer.
take the starting millisecs, then check another variable against it every loop
until it's whatever duration you want, then change the animation frame, and reset the start millisecs.
take the starting millisecs, then check another variable against it every loop
until it's whatever duration you want, then change the animation frame, and reset the start millisecs.