Posted By: LawnmowerMan
Frame skip problem - 01/21/16 15:47
In my code I use next example for play some function
It works well if everything is fine with the frame rate, but if the fps drops, simply this part of animation is skipped and my function wont start. What should I do to prevent the frame skip? I use time_step for play my animations.
Code:
if(button_pressed == 1 && my.animation > 80 && my. animation < 85)
{
start function
}