I am new to programming and am creating a sprite kit game. I am making a scrolling background with a large image and this is lowering the frame rate to 30fps. However at the start of the game, before any other sprites are brought in, the frame rate varies between 30fps and 60fps. Because I am moving my background in the update method the speed the background scrolls at is constantly changing. I would like to limit the max frame rate to 30fps to achieve a constant speed. I have also heard about using Delta time to achieve a constant speed but have been unable to find tutorials about this online.
Thanks in advance.