Ok, thank youpakoskyfrog wrote:If you had looked inside the code you would have seen :I got a master's degree in physics... I would be a shame on me to not use an acceleration/velocity/position systemCode: Select all
function love.update(dt) -- platform moving ? if platform.pushLeft then platform.omega = platform.omega + platform.acc*dt elseif platform.pushRight then platform.omega = platform.omega - platform.acc*dt end platform.angle = platform.angle + platform.omega*dt
I don't know how you manage to get that much FPS, and it should have an impact on acceleration... unless...
Hmmm, my bad. I though i did something that i didn't (okay, shame on me )
Go back on the first post to have the corrected version.
i also tweaked the controls (eg, you decelerate now twice as much as you accelerate)
It works much better now!
Looks and runs pretty smooth
My best is 58 Seconds