cubic feels better than quadratic at 60fps

This commit is contained in:
Kistaro Windrider 2024-02-03 13:49:51 -08:00
parent ecae50a495
commit 1c8743e9e8
Signed by: kistaro
SSH Key Fingerprint: SHA256:TBE2ynfmJqsAf0CP6gsflA0q5X5wD5fVKWPsZ7eVUg8

View File

@ -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()