setInterval/setTimeout using a delta tick. Useful for timing things with games.