Per second uniformly accelerated 8direction platform movement .
I want to implement to speed up my character x seconds under a pre-set speed.
// The characters per second maximum speed. 20 pixel per sec.
float maxSpeed = 20.0F;
// Five accelerate pixels per second.
float acceleration = 5.0f;
// Move deirection. This will include the direction of the character .
Vector2D dir = (0,0);
// delta time
dt
-------------------------------------------------------------------------------
Platform.Move(dir * maxSpeed * dt)
I can not figure out what I should do in the variable acceleration .