Code: Select all
snekMovePeriod = std::max( snekMovePeriod - dt * snekSpeedupFactor,snekMovePeriodMin )
I think what is making me annoyed is I can't seem to figure out how long will the snek need to reach its maximum speed and how much speed will snek increase every frame.
P.S. I know its only math but I can fiqured this shit out.
P.S.S Thanks chili For Making these awesome tutorials. They have helped me greatly toward taking tangible steps for creating a open world RPG game.