I got a problem with the TransitionGameState.
Showing it up and fading into LevelGameState works fine, but the first update times are too high, so the game runs too fast for the first update cycles.
If I make some output in the LevelGameState:
protected void stateUpdate(float tpf) {
super.stateUpdate(tpf);
System.out.println(tpf);
...
}
the first tpf's are above 0.3, if I have a long loading time, later the mean tpf is 0.012.
Where and how can I catch the large tpf, or what can I do against it?