Closed qoh closed 8 years ago
Oh, good catch on the easing thing. Maybe squash everything together in one nice commit except for that fix?
I can do that too though if you don't know the git-fu :)
@s-ol I wasn't able to get the easing fix into a different commit (reordering in rebase didn't quite work), so if you want to do that, go ahead. I did get it all into one commit though.
:+1: nice cleanup
Since luacheck was complaining about them when I was looking over the code, I've gone ahead and removed some global variables and fixed local variables being shadowed :+1: (except for
timer.lua
, since I think that's library code?).I've also changed
tween_and_wait(dur, pen, easing)
to actually use theeasing
argument, rather than how it was previously ignoring it and using a constant"in-quad"
. This function is actually called with different easings (immediately below it) so this should be making a difference in the animations, but I'm not really noticing one. Make sure I'm not unintentionally messing it up by doing that. :smile: