cubic feels better than quadratic at 60fps
This commit is contained in:
parent
ecae50a495
commit
1c8743e9e8
@ -344,7 +344,7 @@ function scoot:update()
|
||||
return
|
||||
end
|
||||
local t, range = self.f/self.frames, self.to - self.from
|
||||
v.y = self.from + range * t * t
|
||||
v.y = self.from + range * t * t * t
|
||||
end
|
||||
|
||||
function scoot:draw()
|
||||
|
Loading…
Reference in New Issue
Block a user