You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
…tively
Re issue #186
I've added `Math.floor` to the `frameIndex` setter. This will turn dangerous floats into useful ints.
The additional processing overhead is virtually nil. `frameIndex` is rarely set directly; the guts of the `Animation.update` method use an internal property exclusively.
I've added Math.floor to the frameIndex setter. This will turn dangerous floats into useful ints.
The additional processing overhead is virtually nil. frameIndex is rarely set directly; the guts of the Animation.update method use an internal property exclusively.
It would be nice to be able to assign floats to frames. This would allow tweens to control frames without messing up, among other useful abilities.
The text was updated successfully, but these errors were encountered: