using time instead of frames for projectiles moving