 He and Joy say their goodbyes to Room and leave.Emma Donoghue, who also wrote the novel on which the film is based, wrote the screenplay for the film before the novel was published in 2010.She explained she felt sure the book could be made into a film because of its structured storyline, and received many offers from filmmakers after it was published, which she rejected for creative reasons.