@jayderyu: Changing the timescale was just so I could demonstrate the oddity I was seeing, without the numbers flying by in milliseconds. As for why I'm recording it to a variable, it's so that when I restart the level (when the player dies) I can reset it back to 0.
@R0J0hound: I remember the issue I had originally. It was that when I was using dt I was finding it hard to say "every 0.3" because it was rare for the dt to match - it would jump from "0.29897" to "0.31102" and my statement would miss. I thought that by just saying "every 0.1 seconds add 0.1 to my local (and reset-able) timespan" I got around that. I didn't realize it was having the exact same affect, but it was just rounding for me!
I think I've learnt a little bit more about how time works in games. I tells ya, I think understanding time and framerates is one of the trickier subjects to get your head around as an amateur game developer boolean2012-12-23 04:44:47