fullmetal248 / andengine

Automatically exported from code.google.com/p/andengine
0 stars 0 forks source link

Resuming the game, causes the physics to fail due to large ammount of time passes #27

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Use Physics extension
2. Pause the game
3. Resume it

What is the expected output? What do you see instead?
Physics should continue disregarding the time passed when we were out of the 
game.

What version of the product are you using? On what operating system?
Latest

Please provide any additional information below.

It seems like the tick count is not being reset after resuming the game,this is 
causing the game to call the onUpdate method with a large amount of the time 
that passed,
thus causing the physics acting crazy.

Original issue reported on code.google.com by Oren.Bengigi on 10 Apr 2011 at 11:02