Skip to content

Instantly share code, notes, and snippets.

@vib3oh
Created November 15, 2012 17:02
Show Gist options
  • Save vib3oh/4079779 to your computer and use it in GitHub Desktop.
Save vib3oh/4079779 to your computer and use it in GitHub Desktop.
AKtween ":newTween()" Implementation
--Create a new AKtween
local tween = AKtween:newTween({time=5000, y=-600, ease='outQuad',
onComplete={time=5000, y=600, ease='inQuad'}
})
--Sample result:
--tween = {
-- arr = {
-- "y" = {-4.79, ... 0, ... 4.79}
-- },
-- totFrames = 600
--}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment