update: frame counter for smooth jumping, collision detector