def frame_checkups_with_fps(fps):
    """Same as frame_checkups(), but uses given fps."""
    ### keep constants fps
    maintain_fps(fps)

    ### increment frame number
    GENERAL_NS.frame_index += 1
Same as frame_checkups(), but uses given fps.
nodezator/pygamesetup/services/record.py