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