Closed arnuschky closed 11 years ago
Maybe. Do you have a suggestion for a new method ?
Thanks.
Well, either you change the behavior of the method such that it actually sets the frames per second, or you rename it for something like setAnimationSpeed(timeDelta).
Didn't i told previously i love pull requests ? Feel free to submit your own. And don't remove the original method :)
thanks.
The definition of setChangeFPS() in SpriteImage.js is wrong or at least confusing:
Here, the integer indicates the time between frames. That is, high integer, fewer frames-per-second (FPS). Low integer, higher FPS.
That is, the parameter does exactly the opposite of one would expect.