# is there a formula to know how many enemies i can place before jumping character?

My game is very similar to the hidden game in chromes web browser. I have a character that needs to jump over incoming enemies. Is there any way i can know when to send an incoming enemy? Some of the factors to take in to account i guess are the speed of enemies, height of jump, speed of jump, and dimensions of bitmaps (that represent character, and enemies).

Thanks

• I'm guessing you're talking about an infinite runner? – jzx Aug 3 '15 at 8:42

minReactionTime = 0.5; //Give the player half a second to react