Hello,
I just read an article in the JAVA 2D section about this pausing technique within the game loop:
http://www.java-gaming.org/cgi-bin/JGNetForums/YaBB.cgi?board=2D;action=display;num=1102196419
Linuxhippy suggested the following:
… I would suggest to check every frame how long computation took and after this calculate how far charakters, animation etc. should have moved. …
I just thougt a bit about this, but came to no proper solution. What would be the best way of defining the speed of an object?
Any hint will be appreciated.
Thank you.
Ralf
Oh, and if anyone sees anything really wrong with that, please tell me so I can stop doing it myself… hehe