According to Scott Cawthon, the movie will follow the FNAF 1-3, and the games after that will not exist in the movie universe. However, changes have been made since then, and Vanessa, a character from the games afterward, will be in the movie, so it's unclear if this is still true. At the same time, the movie Scott's initial post was about has been scrapped in favor of this one, so it's not really clear if what he says is still canon to the movie. From what I can gather, I believe the movie will exist in a different space than the games, where some things are different and some are the same, much like in the Silver Eyes trilogy.