Skip to content

Instantly share code, notes, and snippets.

@mebens mebens/api.lua
Created Apr 26, 2011

Embed
What would you like to do?
API suggestions for kikito. api.lua is the usage. implementation.lua is a possible implementation.
tween.update(dt)
tween(t, goal, callback, easing)
tween = {}
function tween.to(t, goal, callback, easing)
-- ...
end
function tween.update(dt)
-- ...
end
setmetatable(tween, { __call = function(_, ...) tween.to(...) end })
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.