Any advice on how to create a spin-down timer?
Ive got an animation running at speed x and i want it to slowly spin down to 0 then stop
im pretty sure it is going to involve three elements like
sf::Clock sysClock;
sf::Time tInitial;
sf::Time tDelta;
sf::Time tTotal;
tInitial = sysClock.restart();
tDelta = sf::Seconds(0.02f);
tTotal = (some math operation combining tInitial and tDelta so i can ramp the animation down)
Im using Foalys animation class, so that may have a small/big influence on how to handle this problem.