Home > front end >  How to fall more appropriate game?
How to fall more appropriate game?

Time:01-25

Figure is the appearance of the game,
Now is this: every do an action, then a drop in the 500 milliseconds after testing (testing figures at the foot of whether is empty, empty immediately falls again detection), action has jumped, left, left, right, jump to the right, (see chart) if the jump to the left (right) the first set lru is true, then with a jump function (jump function testing whether the lru is true, is true does not fall detection), and again in 251 milliseconds after the walk to the left (right) function (go to the left (right) function are testing whether the lru is true, is true, in 249 milliseconds after testing a whereabouts, to false normal 500 milliseconds) and then change the lru to true, but sometimes by fast will have bugs, how to solve?
  • Related