[Java2D] Need some explanation on an old tutorial.

Hey,

I’m trying to rewrite the game loop that I’ve been using for every single project I’ve made recently, but some information in the tutorial isn’t very clear to me. Could someone explain why, in the variable timestep game-loop, the number 1000000000 is used and whether or not delta actually matters at all.

Throughout everything I’ve made with the variable timestep game-loop, I’ve never used delta and everything has worked just as it should. The one time where I did do a quick experiment by using delta in my particle system, everything went haywire and the particle movement bugged out. This leads me to believe that the delta variable doesn’t need to be used.

Oh, one additional question. Is there a simpler game-loop that can be used which performs the same as the variable timestep game-loop in this tutorial?

The variable timestep game-loop was taken from this tutorial: http://www.java-gaming.org/index.php?topic=24220.0

Thanks for any help.