Delta time - what's the best way?
OK, it's going to be time soon for me to do something I've been putting off for years: implementing Delta Time in my game. Up until now I've just been using "machine independent speed", which I believe isn't the optimal method. I've seen Delta Time mentioned many times here and there, and found a couple of short examples, but I haven't yet found a really definitive tutorial for it. So, I was hoping some people could help steer me in the right direction. I guess I have a few questions:
1. first off: how do you do Delta Time? X)
2. Are there multiple methods? Is one superior to the other? Would one or another be better an already-built engine that uses fastloop- and float-point-based custom movements, and is for Windows?
3. Are there any best practices to be aware of?
4. Are there any nasty surprises or pitfalls I should be aware of?
Thanks!